Lines Matching refs:ATAPI
62 // NOTES for ATA/ATAPI driver (cbbochs@free.fr)
71 // - CD-ROM booting is only available if ATA/ATAPI Driver is available
79 // 1 : no atapi device found
80 // 2 : no atapi cdrom found
187 # error The ATA/ATAPI Driver can only to be used with a 386+ cpu
190 # error ATA/ATAPI Driver can only be used if EBDA is available
193 # error El-Torito Boot can only be use if ATA/ATAPI Driver is available
658 Bit8u type; // Detected type of ata (ata/atapi/none/unknown)
917 // ATA / ATAPI driver
2236 // Start of ATA/ATAPI Driver
2265 #define ATA_CB_ER_P_SNSKEY 0xf0 // ATAPI sense key (mask)
2266 #define ATA_CB_ER_P_MCR 0x08 // ATAPI Media Change Request
2267 #define ATA_CB_ER_P_ABRT 0x04 // ATAPI command abort
2268 #define ATA_CB_ER_P_EOM 0x02 // ATAPI End of Media
2269 #define ATA_CB_ER_P_ILI 0x01 // ATAPI Illegal Length Indication
2271 // ATAPI Interrupt Reason bits in the Sector Count reg (CB_SC)
2272 #define ATA_CB_SC_P_TAG 0xf8 // ATAPI tag (mask)
2273 #define ATA_CB_SC_P_REL 0x04 // ATAPI release
2274 #define ATA_CB_SC_P_IO 0x02 // ATAPI I/O
2275 #define ATA_CB_SC_P_CD 0x01 // ATAPI C/D
2293 #define ATA_CB_STAT_CHK 0x01 // check (ATAPI)
2377 // ATA/ATAPI driver : initialization
2475 // ATA/ATAPI driver : device detection
2548 // check for ATA or ATAPI
2674 // Now we send a IDENTIFY command to ATAPI device
2685 BX_PANIC("ata-detect: Failed to detect ATAPI device\n");
2712 // Read ATA/ATAPI version
2754 printf(" ATAPI-%d CD-Rom/DVD-Rom\n",version);
2756 printf(" ATAPI-%d Device\n",version);
2779 // ATA/ATAPI driver : software reset
2822 else //ATAPI
2835 // ATA/ATAPI driver : execute a non data command
2842 // ATA/ATAPI driver : execute a data-in command
2993 // ATA/ATAPI driver : execute a data-out command
3145 // ATA/ATAPI driver : execute a packet command
3422 // End of ATA/ATAPI Driver
3426 // Start of ATA/ATAPI generic functions
3465 printf("not implemented for non-ATAPI device\n");
3549 // End of ATA/ATAPI generic functions
5840 // FIXME atapi device
5843 options |= (1<<6); // atapi device
10640 ;; ATA/ATAPI driver setup