diff options
author | sos <sos@FreeBSD.org> | 2006-03-05 21:32:38 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2006-03-05 21:32:38 +0000 |
commit | 5d4e90d7750c8099d9fafe80c202756922b60e01 (patch) | |
tree | a2def3d3730d32ca99151bfae52b619beabd1477 | |
parent | 0b8608ef089fd2ed8d8275da37a2ee48d0dc57a0 (diff) | |
download | FreeBSD-src-5d4e90d7750c8099d9fafe80c202756922b60e01.zip FreeBSD-src-5d4e90d7750c8099d9fafe80c202756922b60e01.tar.gz |
Add USB modes.
-rw-r--r-- | sys/dev/ata/ata-all.c | 3 | ||||
-rw-r--r-- | sys/sys/ata.h | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index 9a1c376..f1f1a25 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -847,6 +847,9 @@ ata_mode2str(int mode) case ATA_UDMA6: return "UDMA133"; case ATA_SA150: return "SATA150"; case ATA_SA300: return "SATA300"; + case ATA_USB: return "USB"; + case ATA_USB1: return "USB1"; + case ATA_USB2: return "USB2"; default: if (mode & ATA_DMA_MASK) return "BIOSDMA"; diff --git a/sys/sys/ata.h b/sys/sys/ata.h index 345f75f..36a6d35 100644 --- a/sys/sys/ata.h +++ b/sys/sys/ata.h @@ -215,6 +215,9 @@ struct ata_params { #define ATA_SA150 0x47 #define ATA_SA300 0x48 #define ATA_DMA_MAX 0x4f +#define ATA_USB 0x80 +#define ATA_USB1 0x81 +#define ATA_USB2 0x82 /* ATA commands */ |