1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/sys/i386/scsi
Justin T. Gibbs ea46ac014f Remove hard coded assumption that SCSI busses have 7 targets.
Change some leading spaces to tabs.

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>
1995-08-23 23:03:17 +00:00
..
93cx6.c Dan Eischen's serial eeprom code. 1995-07-04 21:16:12 +00:00
93cx6.h Dan Eischen's serial eeprom code. 1995-07-04 21:16:12 +00:00
aic7xxx.c Remove hard coded assumption that SCSI busses have 7 targets. 1995-08-23 23:03:17 +00:00
aic7xxx.h Update the SCB controll byte bit definitions to match new SCB_DISCENB bit. 1995-08-05 17:32:55 +00:00