diff options
author | gibbs <gibbs@FreeBSD.org> | 2000-10-01 20:56:44 +0000 |
---|---|---|
committer | gibbs <gibbs@FreeBSD.org> | 2000-10-01 20:56:44 +0000 |
commit | 205e8a1a926565a4b471711b77e88e14af88eccb (patch) | |
tree | c895803506b2ac4148fee9cb173863816b8ebda7 /sys/dev/aic7xxx | |
parent | 536d3155f3a945e48903523681faff0b057de4c3 (diff) | |
download | FreeBSD-src-205e8a1a926565a4b471711b77e88e14af88eccb.zip FreeBSD-src-205e8a1a926565a4b471711b77e88e14af88eccb.tar.gz |
ahc_set_transaction_status() takes an SCB. This makes it difficult to
use this helper function to report an error when SCB allocation fails.
Diffstat (limited to 'sys/dev/aic7xxx')
-rw-r--r-- | sys/dev/aic7xxx/aic7xxx_freebsd.c | 2 | ||||
-rw-r--r-- | sys/dev/aic7xxx/aic7xxx_osm.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx_freebsd.c b/sys/dev/aic7xxx/aic7xxx_freebsd.c index 6f1b4d1..8654e56 100644 --- a/sys/dev/aic7xxx/aic7xxx_freebsd.c +++ b/sys/dev/aic7xxx/aic7xxx_freebsd.c @@ -439,7 +439,7 @@ ahc_action(struct cam_sim *sim, union ccb *ccb) ahc->flags |= AHC_RESOURCE_SHORTAGE; ahc_unlock(ahc, &s); xpt_freeze_simq(sim, /*count*/1); - ahc_set_transaction_status(scb, CAM_REQUEUE_REQ); + ccb->ccb_h.status = CAM_REQUEUE_REQ; xpt_done(ccb); return; } diff --git a/sys/dev/aic7xxx/aic7xxx_osm.c b/sys/dev/aic7xxx/aic7xxx_osm.c index 6f1b4d1..8654e56 100644 --- a/sys/dev/aic7xxx/aic7xxx_osm.c +++ b/sys/dev/aic7xxx/aic7xxx_osm.c @@ -439,7 +439,7 @@ ahc_action(struct cam_sim *sim, union ccb *ccb) ahc->flags |= AHC_RESOURCE_SHORTAGE; ahc_unlock(ahc, &s); xpt_freeze_simq(sim, /*count*/1); - ahc_set_transaction_status(scb, CAM_REQUEUE_REQ); + ccb->ccb_h.status = CAM_REQUEUE_REQ; xpt_done(ccb); return; } |