diff options
author | marius <marius@FreeBSD.org> | 2013-04-06 15:02:06 +0000 |
---|---|---|
committer | marius <marius@FreeBSD.org> | 2013-04-06 15:02:06 +0000 |
commit | c7ee72f2d4a37a864126c1362b8eb28d1a5b0aba (patch) | |
tree | 159d78b97e2c9ff76f6c657c7f0bd043c0e9806c /sys/dev/ata/ata-all.h | |
parent | ebdd865675e631940a1476531762707924a149b7 (diff) | |
download | FreeBSD-src-c7ee72f2d4a37a864126c1362b8eb28d1a5b0aba.zip FreeBSD-src-c7ee72f2d4a37a864126c1362b8eb28d1a5b0aba.tar.gz |
- Make ata_str2mode() static, it's not used outside of ata-all.c.
- Move ata_timeout() to ata-all.c so we don't need to expose both this
function and ata_cam_end_transaction() but only the former.
- Move ata_cmd2str() from ata-queue.c to ata-all.c so we can get rid of
the former.
- Add some missing prototypes.
MFC after: 3 days
Diffstat (limited to 'sys/dev/ata/ata-all.h')
-rw-r--r-- | sys/dev/ata/ata-all.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/ata/ata-all.h b/sys/dev/ata/ata-all.h index cb2ae2f..9f0d611 100644 --- a/sys/dev/ata/ata-all.h +++ b/sys/dev/ata/ata-all.h @@ -613,16 +613,12 @@ void ata_interrupt(void *data); int ata_getparam(struct ata_device *atadev, int init); void ata_default_registers(device_t dev); void ata_udelay(int interval); +const char *ata_cmd2str(struct ata_request *request); const char *ata_mode2str(int mode); void ata_setmode(device_t dev); void ata_print_cable(device_t dev, u_int8_t *who); -int ata_str2mode(const char *str); int ata_atapi(device_t dev, int target); -void ata_cam_end_transaction(device_t dev, struct ata_request *request); - -/* ata-queue.c: */ void ata_timeout(struct ata_request *); -const char *ata_cmd2str(struct ata_request *request); /* ata-lowlevel.c: */ void ata_generic_hw(device_t dev); |