From 2bbd43c8f1465da1596d644343204c5855f5af99 Mon Sep 17 00:00:00 2001 From: sos Date: Mon, 11 Mar 2002 21:04:32 +0000 Subject: Add new support for locking an ATA channel and use that throughout the ATA/ATAPI driver. This solves the concurrency problem with the new GEOM code, and also cuts a good deal of the patch size in the upcoming MFC. --- sys/dev/ata/atapi-fd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/ata/atapi-fd.c') diff --git a/sys/dev/ata/atapi-fd.c b/sys/dev/ata/atapi-fd.c index 303d10c..0ebac0e 100644 --- a/sys/dev/ata/atapi-fd.c +++ b/sys/dev/ata/atapi-fd.c @@ -295,8 +295,8 @@ afdstrategy(struct bio *bp) s = splbio(); bioqdisksort(&fdp->queue, bp); - ata_start(fdp->device->channel); splx(s); + ata_start(fdp->device->channel); } void -- cgit v1.1