diff options
author | sos <sos@FreeBSD.org> | 2005-05-16 13:07:27 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2005-05-16 13:07:27 +0000 |
commit | 05399c3127201bae2332eabeb69a6ab15c2b9490 (patch) | |
tree | 6f0fc5c74cd330db252bdb9572d9fd9b43828619 /sys/dev/ata/atapi-cd.c | |
parent | c0de585b6b6e5dcb8df1e814b54bbe8e0d7b2db4 (diff) | |
download | FreeBSD-src-05399c3127201bae2332eabeb69a6ab15c2b9490.zip FreeBSD-src-05399c3127201bae2332eabeb69a6ab15c2b9490.tar.gz |
Change the way ioctls are issue to ATA.
The most prominent part is that its now possible to issue ata_requests
directly to say acd0, instead of going through the cumbersome /dev/ata
device.
Diffstat (limited to 'sys/dev/ata/atapi-cd.c')
-rw-r--r-- | sys/dev/ata/atapi-cd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c index 48df3bf..61c0517 100644 --- a/sys/dev/ata/atapi-cd.c +++ b/sys/dev/ata/atapi-cd.c @@ -53,7 +53,6 @@ __FBSDID("$FreeBSD$"); #include <geom/geom.h> #include <dev/ata/ata-all.h> #include <dev/ata/atapi-cd.h> -#include <dev/ata/ata-commands.h> #include <ata_if.h> /* prototypes */ @@ -676,7 +675,7 @@ acd_geom_ioctl(struct g_provider *pp, u_long cmd, void *addr, int fflag, struct break; default: - error = ENOTTY; + error = ata_device_ioctl(dev, cmd, addr); } return error; } |