summaryrefslogtreecommitdiffstats
path: root/sys/pccard/slot.h
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>1995-08-23 23:03:34 +0000
committergibbs <gibbs@FreeBSD.org>1995-08-23 23:03:34 +0000
commitae1e6673d90921816b6cdd6c732b2c8d0f5afcfa (patch)
tree261944881099a051f944dac2c7d547a51654fee4 /sys/pccard/slot.h
parent11e9122e645e253373e8b159fc45d1a53fc1ac4d (diff)
downloadFreeBSD-src-ae1e6673d90921816b6cdd6c732b2c8d0f5afcfa.zip
FreeBSD-src-ae1e6673d90921816b6cdd6c732b2c8d0f5afcfa.tar.gz
Remove hard coded assumption that SCSI busses have 7 targets.
This change forces the controller drivers to allocate a scsibus_data struct via a call to scsi_alloc_bus(), fill in the adapter_link field, and optionally modify any other fields of the struct. Scsi_alloc_bus() initializes all fields to the default, so the changes in most drivers are very minimal. For drivers that support Wide controllers, the maxtarg field will have to be updated to allow probing of all targets (for an example, look at the aic7xxx driver). Scsi_attachdevs() now takes a scsibus_data* as its argument instead of an sc_link*. This allows us to expand the role of the scsibus_data struct for other bus level configuration setings (max number of transactions, current transaction opennings, etc for better tagged queuing support). Reviewed by: Rodney Grimes <rgrimes>, Peter Dufault <dufault>, Julian Elischer <julian>
Diffstat (limited to 'sys/pccard/slot.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud