PCI IDE Controller: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m change empty while loops to use braces instead of hard-to-notice semicolons |
|||
Line 924: | Line 924: | ||
// (XI): Waiting for BSY & DRQ to clear: |
// (XI): Waiting for BSY & DRQ to clear: |
||
// ------------------------------------------------------------------ |
// ------------------------------------------------------------------ |
||
while (ide_read(channel, ATA_REG_STATUS) & (ATA_SR_BSY | ATA_SR_DRQ)) |
while (ide_read(channel, ATA_REG_STATUS) & (ATA_SR_BSY | ATA_SR_DRQ)){ |
||
} |
|||
return 0; // Easy, ... Isn't it? |
return 0; // Easy, ... Isn't it? |