From fb235b243cb4220a73baf7143730416263a64854 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Schmidt?= Date: Wed, 17 Aug 2005 14:50:18 +0000 Subject: [PATCH] Use the bio field instead of the driver field as intended. --- sys/dev/ata/atapi-cd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c index 61c0517232a..16a188acd36 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;