Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci DANAS (disable autonegotiation) bit of BCR32 tak...
details: https://anonhg.NetBSD.org/src/rev/8d9d4fd7710f
branches: trunk
changeset: 521363:8d9d4fd7710f
user: nisimura <nisimura%NetBSD.org@localhost>
date: Tue Jan 29 04:45:47 2002 +0000
description:
DANAS (disable autonegotiation) bit of BCR32 takes its effect when
set, not cleared.
diffstat:
sys/dev/pci/if_pcn.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r db3990fef10f -r 8d9d4fd7710f sys/dev/pci/if_pcn.c
--- a/sys/dev/pci/if_pcn.c Tue Jan 29 03:09:54 2002 +0000
+++ b/sys/dev/pci/if_pcn.c Tue Jan 29 04:45:47 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_pcn.c,v 1.7 2001/11/29 17:15:44 thorpej Exp $ */
+/* $NetBSD: if_pcn.c,v 1.8 2002/01/29 04:45:47 nisimura Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.7 2001/11/29 17:15:44 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.8 2002/01/29 04:45:47 nisimura Exp $");
#include "bpfilter.h"
@@ -1638,7 +1638,7 @@
* our own MII layer.
*/
pcn_bcr_write(sc, LE_BCR32,
- pcn_csr_read(sc, LE_BCR32) & ~LE_B32_DANAS);
+ pcn_csr_read(sc, LE_BCR32) | LE_B32_DANAS);
}
/*
Home |
Main Index |
Thread Index |
Old Index