Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/isa Move chip version check from advlib.c to adv_isa.c



details:   https://anonhg.NetBSD.org/src/rev/18816e59674b
branches:  trunk
changeset: 473649:18816e59674b
user:      dante <dante%NetBSD.org@localhost>
date:      Sat Jun 12 12:10:30 1999 +0000

description:
Move chip version check from advlib.c to adv_isa.c

diffstat:

 sys/dev/isa/adv_isa.c |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r 571de1d4136d -r 18816e59674b sys/dev/isa/adv_isa.c
--- a/sys/dev/isa/adv_isa.c     Sat Jun 12 12:09:58 1999 +0000
+++ b/sys/dev/isa/adv_isa.c     Sat Jun 12 12:10:30 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: adv_isa.c,v 1.1 1999/06/06 17:28:58 dante Exp $        */
+/*     $NetBSD: adv_isa.c,v 1.2 1999/06/12 12:10:30 dante Exp $        */
 
 /*
  * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
@@ -194,6 +194,12 @@
        sc->sc_ioh = ioh;
        sc->sc_dmat = ia->ia_dmat;
        sc->bus_type = ASC_IS_ISA;
+       sc->chip_version = ASC_GET_CHIP_VER_NO(iot, ioh);
+       /*
+        * Memo:
+        * for EISA cards:
+        * sc->chip_version = (ASC_CHIP_MIN_VER_EISA - 1) + ea->ea_pid[1];
+        */
 
        /*
         * Initialize the board



Home | Main Index | Thread Index | Old Index