diff --git a/sys/sys/ata.h b/sys/sys/ata.h index fcb891ed1588..52442afa7453 100644 --- a/sys/sys/ata.h +++ b/sys/sys/ata.h @@ -1,5 +1,5 @@ /*- - * Copyright (c) 2000,2001,2002 Søren Schmidt + * Copyright (c) 2000 - 2003 Søren Schmidt * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -339,14 +339,19 @@ struct ata_params { #define ATA_PIO2 0x0a #define ATA_PIO3 0x0b #define ATA_PIO4 0x0c +#define ATA_PIO_MAX 0x0f #define ATA_DMA 0x10 -#define ATA_WDMA 0x20 +#define ATA_WDMA0 0x20 +#define ATA_WDMA1 0x21 #define ATA_WDMA2 0x22 -#define ATA_UDMA 0x40 +#define ATA_UDMA0 0x40 +#define ATA_UDMA1 0x41 #define ATA_UDMA2 0x42 +#define ATA_UDMA3 0x43 #define ATA_UDMA4 0x44 #define ATA_UDMA5 0x45 #define ATA_UDMA6 0x46 +#define ATA_DMA_MAX 0x4f struct ata_cmd { int channel;