summaryrefslogtreecommitdiff
path: root/sys/dev/ic/aic7xxx_openbsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/aic7xxx_openbsd.h')
-rw-r--r--sys/dev/ic/aic7xxx_openbsd.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/aic7xxx_openbsd.h b/sys/dev/ic/aic7xxx_openbsd.h
index 963daca5841..48036ebff8f 100644
--- a/sys/dev/ic/aic7xxx_openbsd.h
+++ b/sys/dev/ic/aic7xxx_openbsd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic7xxx_openbsd.h,v 1.28 2020/07/05 20:17:25 krw Exp $ */
+/* $OpenBSD: aic7xxx_openbsd.h,v 1.29 2020/07/05 21:54:44 krw Exp $ */
/* $NetBSD: aic7xxx_osm.h,v 1.7 2003/11/02 11:07:44 wiz Exp $ */
/*
@@ -87,7 +87,7 @@
/****************************** Platform Macros *******************************/
#define SCSI_IS_SCSIBUS_B(ahc, sc_link) \
- (((sc_link)->bus != NULL) && ((sc_link)->bus == (ahc)->sc_channel_b.bus))
+ (((sc_link)->bus != NULL) && ((sc_link)->bus == (ahc)->sc_child_b))
#define SCSI_SCSI_ID(ahc, sc_link) \
(SCSI_IS_SCSIBUS_B(ahc, sc_link) ? ahc->our_id_b : ahc->our_id)
#define SCSI_CHANNEL(ahc, sc_link) \