Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/dev/ic Pull up revision 1.21 (requested by enami):



details:   https://anonhg.NetBSD.org/src/rev/7d4b5db499bc
branches:  netbsd-1-4
changeset: 470293:7d4b5db499bc
user:      he <he%NetBSD.org@localhost>
date:      Sun Feb 06 17:40:09 2000 +0000

description:
Pull up revision 1.21 (requested by enami):
  Add support for the 3Com 3c574.  Partially based on PR#8331.

diffstat:

 sys/dev/ic/elink3reg.h |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 6d4a8226cfc1 -r 7d4b5db499bc sys/dev/ic/elink3reg.h
--- a/sys/dev/ic/elink3reg.h    Sun Feb 06 17:39:39 2000 +0000
+++ b/sys/dev/ic/elink3reg.h    Sun Feb 06 17:40:09 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elink3reg.h,v 1.19.6.1 1999/04/28 22:59:25 perry Exp $ */
+/*     $NetBSD: elink3reg.h,v 1.19.6.2 2000/02/06 17:40:09 he Exp $    */
 
 /*
  * Copyright (c) 1995 Herb Peyerl <hpeyerl%beer.org@localhost>
@@ -432,6 +432,7 @@
                                 ELINK_PCI_BNC|ELINK_PCI_AUI| \
                                 ELINK_PCI_100BASE_MII)
 
+#define        ELINK_RUNNER_MII_RESET          0x4000
 #define        ELINK_RUNNER_ENABLE_MII         0x8000
 
 /*
@@ -485,8 +486,14 @@
 /* EEPROM state flags/commands */
 #define EEPROM_BUSY                    (1<<15)
 #define EEPROM_TST_MODE                        (1<<14)
+
 #define READ_EEPROM                    (1<<7)
 
+       /* For the RoadRunner chips... */
+#define        WRITE_EEPROM_RR                 0x100
+#define        READ_EEPROM_RR                  0x200
+#define        ERASE_EEPROM_RR                 0x300
+
 /* window 4, MEDIA_STATUS bits */
 #define SQE_ENABLE                     0x08    /* Enables SQE on AUI ports */
 #define JABBER_GUARD_ENABLE            0x40



Home | Main Index | Thread Index | Old Index