The c8xx host adapter driver enables SDI-compliant target SCSI drivers (such as sd01 and st01) to communicate on the SCSI bus with target controllers and logical units. This allows normal access to mass-storage devices using standard system interfaces and filesystems.
You can access the SCSI bus subsystem directly by using the driver's pass-through interface. This allows the user to issue sb control blocks directly to a SCSI target device. To find the appropriate pass-through device to use for a particular target device, the user should open(2) the character special file for the device in question and then issue the B_GETDEV ioctl. The device value returned should then be used to create a character special file which, when opened, can be used for pass-through (SDI_SEND) ioctl.
If there is no Configuration Utility available, or none of the Host Adapters contains NVRAM (shown by the Configuration Utility), then path 0 is assigned to the controller with the lowest PCI Device ID (refer to the table below). If similar PCI SCSI controllers co-exist in the system, path 0 is assigned to the controller with the lowest index. This is completely system-dependent, because the system BIOS is responsible for assigning indices.
PCI SCSI Controller | PCI Device ID |
---|---|
53C810 (8100S) | 0x0001 |
53C815 (8150S) | 0x0004 |
53C820 (8120S) | 0x0002 |
53C825 (8250S, 8251S, 8251D) | 0x0003 |
53C810A | 0x0005 |
53C860 | 0x0006 |
53C895 | 0x000C |
53C825A | 0x000E |
53C875 | 0x000F |
PCI SCSI Controller PCI Device ID 53C810 (8100S) 0x0001 53C815 (8150S) 0x0004 53C820 (8120S) 0x0002 53C825 (8250S, 8251S, 8251D) 0x0003 53C810A 0x0005 53C860 0x0006 53C895 0x000C 53C825A 0x000E 53C875 0x000F