Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/eisa Give the cards a bit more time for initializati...



details:   https://anonhg.NetBSD.org/src/rev/84410f30441c
branches:  trunk
changeset: 514945:84410f30441c
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Sep 14 13:46:42 2001 +0000

description:
Give the cards a bit more time for initialization (closes PR 13947)
and add product IDs for two 3C509 TP variants (closes PR 13948).
Both changes from Christian Groessler.

diffstat:

 sys/dev/eisa/eisadevs.h      |   6 ++++--
 sys/dev/eisa/eisadevs_data.h |  14 ++++++++++++--
 sys/dev/eisa/if_ep_eisa.c    |   8 ++++++--
 3 files changed, 22 insertions(+), 6 deletions(-)

diffs (87 lines):

diff -r 411d801ddc8d -r 84410f30441c sys/dev/eisa/eisadevs.h
--- a/sys/dev/eisa/eisadevs.h   Fri Sep 14 13:41:29 2001 +0000
+++ b/sys/dev/eisa/eisadevs.h   Fri Sep 14 13:46:42 2001 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: eisadevs.h,v 1.25 2001/05/06 19:44:14 ad Exp $ */
+/*     $NetBSD: eisadevs.h,v 1.26 2001/09/14 13:46:42 martin Exp $     */
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *     NetBSD: eisadevs,v 1.23 2001/05/06 19:43:54 ad Exp 
+ *     NetBSD: eisadevs,v 1.24 2001/09/14 13:41:29 martin Exp 
  */
 
 /*
@@ -152,6 +152,8 @@
 #define        EISA_PRODUCT_TCM5092    "3Com 3C579-TP Ethernet"
 #define        EISA_PRODUCT_TCM5093    "3Com 3C579 Ethernet"
 #define        EISA_PRODUCT_TCM5094    "3Com 3C509 Ethernet Combo"
+#define        EISA_PRODUCT_TCM5095    "3Com 3C509-TP Ethernet"
+#define        EISA_PRODUCT_TCM5098    "3Com 3C509-TP Ethernet"
 #define        EISA_PRODUCT_TCM5920    "3Com 3C592 Etherlink III"
 #define        EISA_PRODUCT_TCM5970    "3Com 3C597 Fast Etherlink TX"
 #define        EISA_PRODUCT_TCM5971    "3Com 3C597 Fast Etherlink T4"
diff -r 411d801ddc8d -r 84410f30441c sys/dev/eisa/eisadevs_data.h
--- a/sys/dev/eisa/eisadevs_data.h      Fri Sep 14 13:41:29 2001 +0000
+++ b/sys/dev/eisa/eisadevs_data.h      Fri Sep 14 13:46:42 2001 +0000
@@ -1,10 +1,10 @@
-/*     $NetBSD: eisadevs_data.h,v 1.26 2001/05/06 19:44:14 ad Exp $    */
+/*     $NetBSD: eisadevs_data.h,v 1.27 2001/09/14 13:46:42 martin Exp $        */
 
 /*
  * THIS FILE AUTOMATICALLY GENERATED.  DO NOT EDIT.
  *
  * generated from:
- *     NetBSD: eisadevs,v 1.23 2001/05/06 19:43:54 ad Exp 
+ *     NetBSD: eisadevs,v 1.24 2001/09/14 13:41:29 martin Exp 
  */
 
 /*
@@ -406,6 +406,16 @@
        },
        {
            0,
+           "TCM5095",
+           EISA_PRODUCT_TCM5095,
+       },
+       {
+           0,
+           "TCM5098",
+           EISA_PRODUCT_TCM5098,
+       },
+       {
+           0,
            "TCM5920",
            EISA_PRODUCT_TCM5920,
        },
diff -r 411d801ddc8d -r 84410f30441c sys/dev/eisa/if_ep_eisa.c
--- a/sys/dev/eisa/if_ep_eisa.c Fri Sep 14 13:41:29 2001 +0000
+++ b/sys/dev/eisa/if_ep_eisa.c Fri Sep 14 13:46:42 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ep_eisa.c,v 1.22 2000/05/07 13:57:16 martin Exp $   */
+/*     $NetBSD: if_ep_eisa.c,v 1.23 2001/09/14 13:46:42 martin Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -160,6 +160,10 @@
          0,                            EISA_PRODUCT_TCM5093 },
        { "TCM5094",                    ELINK_CHIPSET_3C509,
          0,                            EISA_PRODUCT_TCM5094 },
+       { "TCM5095",                    ELINK_CHIPSET_3C509,
+         0,                            EISA_PRODUCT_TCM5095 },
+       { "TCM5098",                    ELINK_CHIPSET_3C509,
+         0,                            EISA_PRODUCT_TCM5098 },
 
        /*
         * Note: The 3c597 Fast Etherlink MII (TCM5972) is an
@@ -242,7 +246,7 @@
        /* Reset card. */
        bus_space_write_1(iot, ioh_cfg, EP_EISA_CFG_CONTROL, 
            EISA_ENABLE | EISA_RESET);
-       delay(10);
+       delay(4000);
        bus_space_write_1(iot, ioh_cfg, EP_EISA_CFG_CONTROL, EISA_ENABLE);
        /* Wait for reset? */
        delay(1000);



Home | Main Index | Thread Index | Old Index