Entry | |
---|---|
R0 | SCSI inquiry block if a device exists (0 otherwise) |
R7 | CDFS control block – says which device is being scanned |
Exit | |
---|---|
The purpose of this call is to provide a back door for a driver by which drive scanning happens. The Entry Points are shown above.
DO NOT USE THIS SWI.
If the driver wishes to claim this device for itself, it should return with R2 > registers.
If you are a non-SCSI driver, it is up to you which devices you claim – CDFS passes round all device/card/LUN combinations to drivers (all 8×4×8 > 256 of them), so you can attach yourself to any unused device. It is a good idea to leave those with SCSI devices attached alone, so a SCSI driver can pick them up if it wishes.