summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-lowlevel.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2013-04-06 15:02:06 +0000
committermarius <marius@FreeBSD.org>2013-04-06 15:02:06 +0000
commitc7ee72f2d4a37a864126c1362b8eb28d1a5b0aba (patch)
tree159d78b97e2c9ff76f6c657c7f0bd043c0e9806c /sys/dev/ata/ata-lowlevel.c
parentebdd865675e631940a1476531762707924a149b7 (diff)
downloadFreeBSD-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-lowlevel.c')
-rw-r--r--sys/dev/ata/ata-lowlevel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/ata-lowlevel.c b/sys/dev/ata/ata-lowlevel.c
index 4d526ca..53506a0 100644
--- a/sys/dev/ata/ata-lowlevel.c
+++ b/sys/dev/ata/ata-lowlevel.c
@@ -604,7 +604,7 @@ ata_generic_reset(device_t dev)
}
/* must be called with ATA channel locked and state_mtx held */
-int
+static int
ata_generic_status(device_t dev)
{
struct ata_channel *ch = device_get_softc(dev);
OpenPOWER on IntegriCloud