Changeset 51232 in vbox for trunk/src/VBox/Devices/PC/BIOS/ahci.c
- Timestamp:
- May 12, 2014 10:14:17 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/BIOS/ahci.c
r50294 r51232 627 627 /* Check if there is a device on the port. */ 628 628 VBOXAHCI_PORT_READ_REG(ahci->iobase, u8Port, AHCI_REG_PORT_SSTS, val); 629 if (ahci_ctrl_extract_bits(val, 0xfL, 0) == 0) 630 return; /* No device detected. */ 631 632 do 633 { 634 VBOXAHCI_PORT_READ_REG(ahci->iobase, u8Port, AHCI_REG_PORT_SSTS, val); 635 } while (ahci_ctrl_extract_bits(val, 0xfL, 0) == 0x1); 636 629 637 if (ahci_ctrl_extract_bits(val, 0xfL, 0) == 0x3) 630 638 {
Note:
See TracChangeset
for help on using the changeset viewer.