Entry | |
---|---|
R0 | Device ID |
R1 | Reason Code 131330 (&20102) |
R2 | Device ID mask |
Exit | |
---|---|
All registers preserved |
Issued when a new device or bus is registered with SCSIdriver. A hardware driver may issue this itself to indicate that a device has been attached to an ID already registered with SCSIdriver.
The mask indicates whether a bus, a device or a unit (potentially multiple) has been attached; someone wanting to rescan the bus should scan all devices with IDs such that <device ID> AND R2 = R0.
Example:
Bus 0, device 1 attached: | R0 = &01 (0:1.0), R2 = &1F (3:7.0) |
Bus 3, device 4, unit 5 attached: | R0 = &BC (3:4.5), R2 = &FF (3:7.7) |
Bus 2 attached: | R0 = &10 (2:0.0), R2 = &18 (2:0.0) |