Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/isa Fix a very stupid pasto - the card has two B cha...
details: https://anonhg.NetBSD.org/src/rev/d6038260f757
branches: trunk
changeset: 515637:d6038260f757
user: martin <martin%NetBSD.org@localhost>
date: Sun Sep 30 11:50:05 2001 +0000
description:
Fix a very stupid pasto - the card has two B channels, so better not
query the HSCX chip version of the third one.
diffstat:
sys/dev/isa/isic_isa_itk_ix1.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r cd19b17cd237 -r d6038260f757 sys/dev/isa/isic_isa_itk_ix1.c
--- a/sys/dev/isa/isic_isa_itk_ix1.c Sun Sep 30 11:33:00 2001 +0000
+++ b/sys/dev/isa/isic_isa_itk_ix1.c Sun Sep 30 11:50:05 2001 +0000
@@ -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 @@
/* 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",
Home |
Main Index |
Thread Index |
Old Index