h6. [[ADFS]] h6(. » [[ADFS SWI Calls|SWI Calls]] h6((. » ADFS_IDEDeviceInfo h2. ADFS_IDEDeviceInfo h5. (SWI &40253) Input is dependent on the version of ADFS Module in use. h4. ADFS 3.34 thru 3.99 only: |_<^{width:4em}. Entry | | |<^. R0 |<^. 0 - Device info by Legacy ID | |<^. R1 |<^. bit 0 set => find information for ATADriver device ID 8 rather than 0 | |<^. |<^. (corresponds to slave rather than master device on PATA systems) | |<^. |<^. bit 1 = find information for ATADriver controller/port ID 1 rather than 0 | |<^. |<^.bits 2-31 reserved, should be 0 | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. Type of device: | |<^. |<^. 0 - no device | |<^. |<^. 1 - non-packet | |<^. |<^. 2 - packet device (ATAPI) | |<^. R2 |<^. ADFS drive number of device, otherwise undefined | |<^. R3 |<^. Pointer to a 512-byte block containing the data returned by an ATA IDENTIFY DEVICE or IDENTIFY PACKET DEVICE, or 0 if no device | h4. ADFS 4.x only: |_<^{width:4em}. Entry | | |<^. R0 |<^. 1 - Device info by controller/port and device ID | |<^. R1 |<^. bits 0-3 = device ID | |<^. |<^. bits 4-11 = controller/port ID | |<^. |<^. bits 12-31 reserved, should be 0 | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. Type of device: | |<^. |<^. 0 - no device | |<^. |<^. 1 - non-packet | |<^. |<^. 2 - packet device (ATAPI) | |<^. R2 |<^. ADFS drive number of device, otherwise -1 | |<^. R3 |<^. Pointer to a 512-byte block containing the data returned by an ATA IDENTIFY DEVICE or IDENTIFY PACKET DEVICE, or 0 if no device | |_<^{width:4em}. Entry | | |<^. R0 |<^. 2 - Device info by drive number | |<^. R1 |<^. ADFS drive number of device | |_<^{width:4em}. Exit | | |<^. R0 |<^. Preserved | |<^. R1 |<^. Type of device: | |<^. |<^. 0 - no device | |<^. |<^. 1 - non-packet | |<^. R2 |<^. bits 0-3 = device ID | |<^. |<^. bits 4-11 = controller/port ID | |<^. R3 |<^. Pointer to a 512-byte block containing the data returned by an ATA IDENTIFY DEVICE or IDENTIFY PACKET DEVICE, or 0 if no device | h4. Use The purpose of this call is to return information on attached devices. h4. See also * [[ADFS]] * [[FileCore]]