diff options
author | sos <sos@FreeBSD.org> | 2002-03-11 21:04:32 +0000 |
---|---|---|
committer | sos <sos@FreeBSD.org> | 2002-03-11 21:04:32 +0000 |
commit | 2bbd43c8f1465da1596d644343204c5855f5af99 (patch) | |
tree | b285f3cbc9ac091eb6723d13404e5674e00ccd41 /sys/dev/ata/atapi-fd.c | |
parent | fb6b9eab60b6bbddfa7ced0500e84f057fb0e8ec (diff) | |
download | FreeBSD-src-2bbd43c8f1465da1596d644343204c5855f5af99.zip FreeBSD-src-2bbd43c8f1465da1596d644343204c5855f5af99.tar.gz |
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.
Diffstat (limited to 'sys/dev/ata/atapi-fd.c')
-rw-r--r-- | sys/dev/ata/atapi-fd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |