Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/thorpej_scsipi]: src/sys/dev/ic Ops, XS_CHANNEL() is channel number, not...
details: https://anonhg.NetBSD.org/src/rev/84a194a181ab
branches: thorpej_scsipi
changeset: 477419:84a194a181ab
user: bouyer <bouyer%NetBSD.org@localhost>
date: Tue Mar 27 15:52:51 2001 +0000
description:
Ops, XS_CHANNEL() is channel number, not pointer to scsipi_channel.
diffstat:
sys/dev/ic/isp_netbsd.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ff4d32637bf0 -r 84a194a181ab sys/dev/ic/isp_netbsd.h
--- a/sys/dev/ic/isp_netbsd.h Tue Mar 27 15:30:05 2001 +0000
+++ b/sys/dev/ic/isp_netbsd.h Tue Mar 27 15:52:51 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: isp_netbsd.h,v 1.18.2.12 2001/03/27 15:31:58 bouyer Exp $ */
+/* $NetBSD: isp_netbsd.h,v 1.18.2.13 2001/03/27 15:52:51 bouyer Exp $ */
/*
* This driver, which is contained in NetBSD in the files:
*
@@ -168,7 +168,7 @@
#endif
#define XS_T struct scsipi_xfer
-#define XS_CHANNEL(xs) ((int) (xs)->xs_periph->periph_channel)
+#define XS_CHANNEL(xs) ((int) (xs)->xs_periph->periph_channel->chan_channel)
#define XS_ISP(xs) \
((void *)(xs)->xs_periph->periph_channel->chan_adapter->adapt_dev)
#define XS_LUN(xs) ((int) (xs)->xs_periph->periph_lun)
Home |
Main Index |
Thread Index |
Old Index