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-cam.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-cam.c')
-rw-r--r-- | sys/dev/ata/atapi-cam.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-cam.c b/sys/dev/ata/atapi-cam.c index c6e2309..3493837 100644 --- a/sys/dev/ata/atapi-cam.c +++ b/sys/dev/ata/atapi-cam.c @@ -413,7 +413,7 @@ atapi_action(struct cam_sim *sim, union ccb *ccb) int tid = ccb_h->target_id; CAM_DEBUG(ccb->ccb_h.path, CAM_DEBUG_SUBTRACE, ("dev reset\n")); - ata_controlcmd(softc->atadev[tid]->dev, ATA_ATAPI_RESET, 0, 0, 0); + ata_controlcmd(softc->atadev[tid]->dev, ATA_DEVICE_RESET, 0, 0, 0); ccb->ccb_h.status = CAM_REQ_CMP; xpt_done(ccb); return; |