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-cd.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-cd.c')
-rw-r--r-- | sys/dev/ata/atapi-cd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-cd.c b/sys/dev/ata/atapi-cd.c index b9dc7e5..bb19b7d 100644 --- a/sys/dev/ata/atapi-cd.c +++ b/sys/dev/ata/atapi-cd.c @@ -1071,8 +1071,8 @@ acdstrategy(struct bio *bp) s = splbio(); bioqdisksort(&cdp->queue, bp); - ata_start(cdp->device->channel); splx(s); + ata_start(cdp->device->channel); } void |