Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci fix obvious past-o where the activity led regist...
details: https://anonhg.NetBSD.org/src/rev/b2dc648fec6a
branches: trunk
changeset: 565932:b2dc648fec6a
user: joda <joda%NetBSD.org@localhost>
date: Fri Apr 23 16:03:33 2004 +0000
description:
fix obvious past-o where the activity led register gets overwritten by
the traffic meter led register
diffstat:
sys/dev/pci/if_bce.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r cdcec3943197 -r b2dc648fec6a sys/dev/pci/if_bce.c
--- a/sys/dev/pci/if_bce.c Fri Apr 23 15:23:26 2004 +0000
+++ b/sys/dev/pci/if_bce.c Fri Apr 23 16:03:33 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bce.c,v 1.3 2003/09/29 01:53:02 mrg Exp $ */
+/* $NetBSD: if_bce.c,v 1.4 2004/04/23 16:03:33 joda Exp $ */
/*
* Copyright (c) 2003 Clifford Wright. All rights reserved.
@@ -467,7 +467,7 @@
bce_mii_write((struct device *) sc, 1, 26, /* MAGIC */
bce_mii_read((struct device *) sc, 1, 26) & 0x7fff); /* MAGIC */
/* enable traffic meter led mode */
- bce_mii_write((struct device *) sc, 1, 26, /* MAGIC */
+ bce_mii_write((struct device *) sc, 1, 27, /* MAGIC */
bce_mii_read((struct device *) sc, 1, 27) | (1 << 6)); /* MAGIC */
Home |
Main Index |
Thread Index |
Old Index