diff options
author | mav <mav@FreeBSD.org> | 2009-11-26 12:41:43 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2009-11-26 12:41:43 +0000 |
commit | f2f80ba207d1b5ce3703e7a99b7956d9ae1e2ca5 (patch) | |
tree | 3d851727be317366f86d8ccfb7c60beabdbd21f0 /sbin/atacontrol | |
parent | 7c0d54bcfc79dce34d24170f6ae5ebb6e25b9e9f (diff) | |
download | FreeBSD-src-f2f80ba207d1b5ce3703e7a99b7956d9ae1e2ca5.zip FreeBSD-src-f2f80ba207d1b5ce3703e7a99b7956d9ae1e2ca5.tar.gz |
Drop USB mass storage devices support from ata(4). It is out of the build as
long as I remember, and completely superseded by better maintained umass(4).
It's main idea was to optionally avoid CAM dependency for such devices, but
with move ATA to CAM, it is not actual any more.
No objections: hselasky@, thompsa@, arch@
Diffstat (limited to 'sbin/atacontrol')
-rw-r--r-- | sbin/atacontrol/atacontrol.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sbin/atacontrol/atacontrol.c b/sbin/atacontrol/atacontrol.c index 13b7e40..49e4fa2 100644 --- a/sbin/atacontrol/atacontrol.c +++ b/sbin/atacontrol/atacontrol.c @@ -61,9 +61,6 @@ 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"; case ATA_DMA: return "BIOSDMA"; default: return "???"; } @@ -95,9 +92,6 @@ str2mode(char *str) if (!strcasecmp(str, "UDMA133")) return ATA_UDMA6; if (!strcasecmp(str, "SATA150")) return ATA_SA150; if (!strcasecmp(str, "SATA300")) return ATA_SA300; - if (!strcasecmp(str, "USB")) return ATA_USB; - if (!strcasecmp(str, "USB1")) return ATA_USB1; - if (!strcasecmp(str, "USB2")) return ATA_USB2; if (!strcasecmp(str, "BIOSDMA")) return ATA_DMA; return -1; } |