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-tape.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/ata/atapi-tape.c') diff --git a/sys/dev/ata/atapi-tape.c b/sys/dev/ata/atapi-tape.c index 03130ad..494404a 100644 --- a/sys/dev/ata/atapi-tape.c +++ b/sys/dev/ata/atapi-tape.c @@ -448,8 +448,8 @@ aststrategy(struct bio *bp) s = splbio(); bioq_insert_tail(&stp->queue, bp); - ata_start(stp->device->channel); splx(s); + ata_start(stp->device->channel); } void -- cgit v1.1