Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/dev/ic Pull up revision 1.3 (via patch, requested b...



details:   https://anonhg.NetBSD.org/src/rev/58c33889d1c0
branches:  netbsd-1-5
changeset: 490903:58c33889d1c0
user:      he <he%NetBSD.org@localhost>
date:      Tue Mar 20 17:24:31 2001 +0000

description:
Pull up revision 1.3 (via patch, requested by chuck):
  Add support for the 3Com 3c555, 3c556 and 3c556B MiniPCI Ethernet
  cards.

diffstat:

 sys/dev/ic/elinkxlreg.h |  11 ++++++++++-
 1 files changed, 10 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r c52cfe9758c3 -r 58c33889d1c0 sys/dev/ic/elinkxlreg.h
--- a/sys/dev/ic/elinkxlreg.h   Tue Mar 20 17:24:03 2001 +0000
+++ b/sys/dev/ic/elinkxlreg.h   Tue Mar 20 17:24:31 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: elinkxlreg.h,v 1.2.12.1 2000/12/31 20:14:50 jhawk Exp $        */
+/*     $NetBSD: elinkxlreg.h,v 1.2.12.2 2001/03/20 17:24:31 he Exp $   */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -47,6 +47,8 @@
 #define EEPROM_MEDIA           0x19    /* Media options (90xB) */
 #define EEPROM_CHECKSUM_ELXL   0x20    /* EEPROM checksum */
 
+#define READ_EEPROM8           0x0200  /* 8 bit EEPROM read command */
+
 /*
  * Flat address space registers (outside the windows)
  */
@@ -103,6 +105,13 @@
 #      define ELINK_MEDIACAP_10BASEFL  0x0080
 
 /*
+ * Reset options for the 90xB
+ */
+#define ELINK_W2_RESET_OPTIONS 0x0c
+#      define ELINK_RESET_OPT_LEDPOLAR 0x0010
+#      define ELINK_RESET_OPT_PHYPOWER 0x4000
+
+/*
  * Window 4, offset 8 is defined for MII/PHY access for EtherLink XL
  * cards.
  */



Home | Main Index | Thread Index | Old Index