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.50 (requested by tron in...



details:   https://anonhg.NetBSD.org/src/rev/936b5a183d17
branches:  netbsd-1-6
changeset: 530891:936b5a183d17
user:      cyber <cyber%NetBSD.org@localhost>
date:      Mon Oct 20 05:02:44 2003 +0000

description:
Pull up revision 1.50 (requested by tron in ticket #1447):
>From FreeBSD as suggested by Nicolas Joly in PR kern/22682:
Do not initalize the LED's to 0x00.  The default configuration
the chip comes up in should yeild proper operation of the LED's.

diffstat:

 sys/dev/pci/if_bge.c |  5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diffs (19 lines):

diff -r 0529a5677fb0 -r 936b5a183d17 sys/dev/pci/if_bge.c
--- a/sys/dev/pci/if_bge.c      Mon Oct 20 04:50:34 2003 +0000
+++ b/sys/dev/pci/if_bge.c      Mon Oct 20 05:02:44 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_bge.c,v 1.29.2.5 2003/06/16 13:23:30 grant Exp $    */
+/*     $NetBSD: if_bge.c,v 1.29.2.6 2003/10/20 05:02:44 cyber Exp $    */
 
 /*
  * Copyright (c) 2001 Wind River Systems
@@ -1594,9 +1594,6 @@
        CSR_WRITE_4(sc, BGE_SDI_STATS_CTL,
            BGE_SDISTATSCTL_ENABLE|BGE_SDISTATSCTL_FASTER);
 
-       /* init LED register */
-       CSR_WRITE_4(sc, BGE_MAC_LED_CTL, 0x00000000);
-
        /* ack/clear link change events */
        CSR_WRITE_4(sc, BGE_MAC_STS, BGE_MACSTAT_SYNC_CHANGED|
            BGE_MACSTAT_CFG_CHANGED);



Home | Main Index | Thread Index | Old Index