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 typos in media configuration register init. ...
details: https://anonhg.NetBSD.org/src/rev/4863f36d49ee
branches: trunk
changeset: 538558:4863f36d49ee
user: thorpej <thorpej%NetBSD.org@localhost>
date: Tue Oct 22 16:13:44 2002 +0000
description:
Fix typos in media configuration register init. From patch posted
to tech-kern by Erik Anggard <erik.anggard%packetfront.com@localhost>.
May address PR 16346.
diffstat:
sys/dev/pci/if_pcn.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 8207c6dcae2b -r 4863f36d49ee sys/dev/pci/if_pcn.c
--- a/sys/dev/pci/if_pcn.c Tue Oct 22 15:35:25 2002 +0000
+++ b/sys/dev/pci/if_pcn.c Tue Oct 22 16:13:44 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_pcn.c,v 1.15 2002/10/21 23:38:10 fair Exp $ */
+/* $NetBSD: if_pcn.c,v 1.16 2002/10/22 16:13:44 thorpej Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.15 2002/10/21 23:38:10 fair Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.16 2002/10/22 16:13:44 thorpej Exp $");
#include "bpfilter.h"
@@ -1641,7 +1641,7 @@
* our own MII layer.
*/
pcn_bcr_write(sc, LE_BCR32,
- pcn_csr_read(sc, LE_BCR32) | LE_B32_DANAS);
+ pcn_bcr_read(sc, LE_BCR32) | LE_B32_DANAS);
}
/*
@@ -2030,7 +2030,7 @@
reg |= LE_B9_AUIFD;
pcn_bcr_write(sc, LE_BCR9, reg);
} else
- pcn_bcr_write(sc, LE_BCR0, 0);
+ pcn_bcr_write(sc, LE_BCR9, 0);
return (0);
}
Home |
Main Index |
Thread Index |
Old Index