summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/aic7xxx/aic79xx.c3
-rw-r--r--sys/dev/aic7xxx/aic7xxx.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/aic79xx.c b/sys/dev/aic7xxx/aic79xx.c
index 76b9c7e..958876a 100644
--- a/sys/dev/aic7xxx/aic79xx.c
+++ b/sys/dev/aic7xxx/aic79xx.c
@@ -9918,7 +9918,8 @@ ahd_handle_en_lun(struct ahd_softc *ahd, struct cam_sim *sim, union ccb *ccb)
u_int our_id;
our_id = ahd->our_id;
- if (ccb->ccb_h.target_id != our_id) {
+ if (ccb->ccb_h.target_id != our_id
+ && ccb->ccb_h.target_id != CAM_TARGET_WILDCARD) {
if ((ahd->features & AHD_MULTI_TID) != 0
&& (ahd->flags & AHD_INITIATORROLE) != 0) {
/*
diff --git a/sys/dev/aic7xxx/aic7xxx.c b/sys/dev/aic7xxx/aic7xxx.c
index daf7aed..ec4908b 100644
--- a/sys/dev/aic7xxx/aic7xxx.c
+++ b/sys/dev/aic7xxx/aic7xxx.c
@@ -7347,7 +7347,8 @@ ahc_handle_en_lun(struct ahc_softc *ahc, struct cam_sim *sim, union ccb *ccb)
else
our_id = ahc->our_id_b;
- if (ccb->ccb_h.target_id != our_id) {
+ if (ccb->ccb_h.target_id != our_id
+ && ccb->ccb_h.target_id != CAM_TARGET_WILDCARD) {
/*
* our_id represents our initiator ID, or
* the ID of the first target to have an
OpenPOWER on IntegriCloud