h6. [[Programmer's Reference Manuals]] h6(. » [[Service Calls]] h6((. » Service_SCSIAttached h2. Service_SCSIAttached h5. (Service &20102) |_<^{width:4em}. Entry | | |<^. R0 |<^. Device ID | |<^. R1 |<^. Reason Code 131330 (&20102) | |<^. R2 |<^. Device ID mask | |_<^{width:4em}. Exit | | |\2<^. All registers preserved| h4. Use 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: |_<^{width:16em}. | | |<^. 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)|