diff options
author | sos <sos@FreeBSD.org> | 2005-08-17 14:50:18 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2005-08-17 14:50:18 +0000 |
commit | 705a1ddfe6ef68db01049c1c375c4fe446d65ce0 (patch) | |
tree | f38ed07ae1da1ba9c135905d1bd76b07364857a0 /sys | |
parent | 34f889adae803671531799efa6845197c307bc77 (diff) | |
download | FreeBSD-src-705a1ddfe6ef68db01049c1c375c4fe446d65ce0.zip FreeBSD-src-705a1ddfe6ef68db01049c1c375c4fe446d65ce0.tar.gz |
Use the bio field instead of the driver field as intended.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ata/atapi-cd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c index 61c0517..16a188a 100644 --- a/sys/dev/ata/atapi-cd.c +++ b/sys/dev/ata/atapi-cd.c @@ -855,7 +855,7 @@ acd_strategy(struct bio *bp) return; } request->dev = dev; - request->driver = bp; + request->bio = bp; bcopy(ccb, request->u.atapi.ccb, (atadev->param.config & ATA_PROTO_MASK) == ATA_PROTO_ATAPI_12 ? 16 : 12); @@ -887,7 +887,7 @@ acd_strategy(struct bio *bp) static void acd_done(struct ata_request *request) { - struct bio *bp = request->driver; + struct bio *bp = request->bio; /* finish up transfer */ bp->bio_completed = request->donecount; |