summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorgibbs <gibbs@FreeBSD.org>2000-10-06 19:34:40 +0000
committergibbs <gibbs@FreeBSD.org>2000-10-06 19:34:40 +0000
commit91a024c35e611e2809c27cf9de9ae72ad4f92cc6 (patch)
tree5bb7e01b4ee91e4722ad61638724ff77bd793493 /sys
parentc1cb568128ce80fba709c20b1372956193c0eadc (diff)
downloadFreeBSD-src-91a024c35e611e2809c27cf9de9ae72ad4f92cc6.zip
FreeBSD-src-91a024c35e611e2809c27cf9de9ae72ad4f92cc6.tar.gz
Fix single character typo in legacy transfer settings function
thereby re-enable tagged queuing.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/aic7xxx/aic7xxx_freebsd.c2
-rw-r--r--sys/dev/aic7xxx/aic7xxx_osm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/aic7xxx/aic7xxx_freebsd.c b/sys/dev/aic7xxx/aic7xxx_freebsd.c
index 70fd7d8..9799211 100644
--- a/sys/dev/aic7xxx/aic7xxx_freebsd.c
+++ b/sys/dev/aic7xxx/aic7xxx_freebsd.c
@@ -969,7 +969,7 @@ ahc_get_tran_settings(struct ahc_softc *ahc, int our_id, char channel,
ahc_lock(ahc, &s);
cts->flags &= ~(CCB_TRANS_DISC_ENB|CCB_TRANS_TAG_ENB);
- if ((cts->flags & CCB_TRANS_CURRENT_SETTINGS) != 0) {
+ if ((cts->flags & CCB_TRANS_CURRENT_SETTINGS) == 0) {
if ((ahc->user_discenable & devinfo.target_mask) != 0)
cts->flags |= CCB_TRANS_DISC_ENB;
diff --git a/sys/dev/aic7xxx/aic7xxx_osm.c b/sys/dev/aic7xxx/aic7xxx_osm.c
index 70fd7d8..9799211 100644
--- a/sys/dev/aic7xxx/aic7xxx_osm.c
+++ b/sys/dev/aic7xxx/aic7xxx_osm.c
@@ -969,7 +969,7 @@ ahc_get_tran_settings(struct ahc_softc *ahc, int our_id, char channel,
ahc_lock(ahc, &s);
cts->flags &= ~(CCB_TRANS_DISC_ENB|CCB_TRANS_TAG_ENB);
- if ((cts->flags & CCB_TRANS_CURRENT_SETTINGS) != 0) {
+ if ((cts->flags & CCB_TRANS_CURRENT_SETTINGS) == 0) {
if ((ahc->user_discenable & devinfo.target_mask) != 0)
cts->flags |= CCB_TRANS_DISC_ENB;
OpenPOWER on IntegriCloud