summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-all.h
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2010-07-03 14:14:42 +0000
committermav <mav@FreeBSD.org>2010-07-03 14:14:42 +0000
commit1f8ff496d3fe40d19f46b62fde147ad1960c40b5 (patch)
treed2c08cf9edcaaa5c2c26f852b8a2520259714c14 /sys/dev/ata/ata-all.h
parent3df3564f93b5a35ea8132d0a2fbacb026e61fefb (diff)
downloadFreeBSD-src-1f8ff496d3fe40d19f46b62fde147ad1960c40b5.zip
FreeBSD-src-1f8ff496d3fe40d19f46b62fde147ad1960c40b5.tar.gz
Add ata(4) ability to limit initial ATA mode for devices via device hints.
After boot this mode can be changed with atacontrol/camcontrol as usual. It works for both legacy and ATA_CAM wrapper mode. PR: kern/123980
Diffstat (limited to 'sys/dev/ata/ata-all.h')
-rw-r--r--sys/dev/ata/ata-all.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-all.h b/sys/dev/ata/ata-all.h
index 336f0e3..87226cc 100644
--- a/sys/dev/ata/ata-all.h
+++ b/sys/dev/ata/ata-all.h
@@ -625,6 +625,7 @@ void ata_modify_if_48bit(struct ata_request *request);
void ata_udelay(int interval);
char *ata_unit2str(struct ata_device *atadev);
const char *ata_mode2str(int mode);
+int ata_str2mode(const char *str);
const char *ata_satarev2str(int rev);
int ata_atapi(device_t dev, int target);
int ata_pmode(struct ata_params *ap);
OpenPOWER on IntegriCloud