Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/dev/pci Pull up revision 1.8 (requested by tron in ...



details:   https://anonhg.NetBSD.org/src/rev/84ed36ec845e
branches:  netbsd-1-6
changeset: 530291:84ed36ec845e
user:      grant <grant%NetBSD.org@localhost>
date:      Mon Jun 16 13:24:00 2003 +0000

description:
Pull up revision 1.8 (requested by tron in ticket #1250):

Commit the FreeBSD alternative of a private patch to check NIC internal
ram for using TBI, versus MII/GMII.

FreeBSD commit log and versions:
   Obtain the media type from the shared memory and only use the eeprom
   as a fallback.

   if_bge.c:    rev 1.30
   if_bgereg.h: rev 1.13

Thanks to Paul Saab @mu.org.

diffstat:

 sys/dev/pci/if_bgereg.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r bc837c426c91 -r 84ed36ec845e sys/dev/pci/if_bgereg.h
--- a/sys/dev/pci/if_bgereg.h   Mon Jun 16 13:23:30 2003 +0000
+++ b/sys/dev/pci/if_bgereg.h   Mon Jun 16 13:24:00 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bgereg.h,v 1.6.2.3 2003/06/16 13:20:48 grant Exp $  */
+/*     $NetBSD: if_bgereg.h,v 1.6.2.4 2003/06/16 13:24:00 grant Exp $  */
 /*
  * Copyright (c) 2001 Wind River Systems
  * Copyright (c) 1997, 1998, 1999, 2001
@@ -73,6 +73,8 @@
 #define BGE_STATUS_BLOCK               0x00000B00
 #define BGE_STATUS_BLOCK_END           0x00000B4F
 #define BGE_SOFTWARE_GENCOMM           0x00000B50
+#define BGE_SOFTWARE_GENCOMM_SIG       0x00000B54
+#define BGE_SOFTWARE_GENCOMM_NICCFG    0x00000B58
 #define BGE_SOFTWARE_GENCOMM_END       0x00000FFF
 #define BGE_UNMAPPED                   0x00001000
 #define BGE_UNMAPPED_END               0x00001FFF



Home | Main Index | Thread Index | Old Index