summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2001-09-30 11:50:05 +0000
committermartin <martin@NetBSD.org>2001-09-30 11:50:05 +0000
commit2c433e9757f5f92fb14569254dbe2dc068885bc5 (patch)
tree3909cc366fc5abe6a984708afc5359a12d6c05c4 /sys/dev
parente848d501fd1eb808f71ff176a87b0429f3faf3cc (diff)
Fix a very stupid pasto - the card has two B channels, so better not
query the HSCX chip version of the third one.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/isic_isa_itk_ix1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/isic_isa_itk_ix1.c b/sys/dev/isa/isic_isa_itk_ix1.c
index 86ffbbd4b51..e580c536fc8 100644
--- a/sys/dev/isa/isic_isa_itk_ix1.c
+++ b/sys/dev/isa/isic_isa_itk_ix1.c
@@ -26,7 +26,7 @@
* i4b_itk_ix1.c - ITK ix1 micro passive card driver for isdn4bsd
* --------------------------------------------------------------
*
- * $Id: isic_isa_itk_ix1.c,v 1.4 2001/06/19 13:42:17 wiz Exp $
+ * $Id: isic_isa_itk_ix1.c,v 1.5 2001/09/30 11:50:05 martin Exp $
*
* last edit-date: [Fri Jan 5 12:31:50 2001]
*
@@ -308,7 +308,7 @@ int isic_attach_itkix1(struct l1_softc *sc)
/* Read HSCX A/B VSTR. Expected value is 0x05 (V2.1) or 0x04 (V2.0). */
hv1 = HSCX_READ(0, H_VSTR) & 0xf;
- hv2 = HSCX_READ(2, H_VSTR) & 0xf;
+ hv2 = HSCX_READ(1, H_VSTR) & 0xf;
if((hv1 != 0x05 && hv1 != 0x04) || (hv2 != 0x05 && hv2 != 0x04))
{
printf("%s: HSCX VSTR test failed for ITK ix1 micro\n",