summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2003-12-05 01:02:46 +0000
committerscottl <scottl@FreeBSD.org>2003-12-05 01:02:46 +0000
commita6ef4bf45a2916ba87eaefa05d9bf34139c360c2 (patch)
tree20aebcf157384d24fb69324dec4be70b4cbe72a5 /sys
parent58a80882bd62ff22b03cd5166384a8dc4442bc2f (diff)
downloadFreeBSD-src-a6ef4bf45a2916ba87eaefa05d9bf34139c360c2.zip
FreeBSD-src-a6ef4bf45a2916ba87eaefa05d9bf34139c360c2.tar.gz
Fix a potential problem with atapi-cam where an incorrect flag is passed
into the ata queueing layer. Approved by: re
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ata/atapi-cam.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ata/atapi-cam.c b/sys/dev/ata/atapi-cam.c
index 2a4b3d9..2bfb6b7 100644
--- a/sys/dev/ata/atapi-cam.c
+++ b/sys/dev/ata/atapi-cam.c
@@ -409,7 +409,7 @@ atapi_action(struct cam_sim *sim, union ccb *ccb)
request_flags |= ATA_R_WRITE|ATA_R_DMA;
break;
case CAM_DIR_NONE:
- request_flags |= ATA_R_CONTROL;
+ /* No flags need to be set */
break;
default:
ata_prtdev(dev, "unknown IO operation\n");
OpenPOWER on IntegriCloud