Handle multi-sector reads by splitting them into subcommands.

This commit is contained in:
Michael Brown
2006-05-29 08:25:31 +00:00
parent 9a2a52693d
commit 6541338897
4 changed files with 54 additions and 3 deletions

View File

@@ -117,6 +117,9 @@ struct ata_cb {
/** Master ("device 0") flag in the ATA device register */
#define ATA_DEV_MASTER 0x00
/** Mask of non-LBA portion of device register */
#define ATA_DEV_MASK 0xf0
/** "Read sectors" command */
#define ATA_CMD_READ 0x20