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.16 (requested by thorpej...
details: https://anonhg.NetBSD.org/src/rev/b1762b97ac49
branches: netbsd-1-6
changeset: 529182:b1762b97ac49
user: lukem <lukem%NetBSD.org@localhost>
date: Wed Oct 23 07:09:15 2002 +0000
description:
Pull up revision 1.16 (requested by thorpej in ticket #940):
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 d37a870a5e47 -r b1762b97ac49 sys/dev/pci/if_pcn.c
--- a/sys/dev/pci/if_pcn.c Mon Oct 21 20:16:16 2002 +0000
+++ b/sys/dev/pci/if_pcn.c Wed Oct 23 07:09:15 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_pcn.c,v 1.9.4.1 2002/08/02 01:28:29 lukem Exp $ */
+/* $NetBSD: if_pcn.c,v 1.9.4.2 2002/10/23 07:09:15 lukem Exp $ */
/*
* Copyright (c) 2001 Wasabi Systems, Inc.
@@ -65,7 +65,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.9.4.1 2002/08/02 01:28:29 lukem Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_pcn.c,v 1.9.4.2 2002/10/23 07:09:15 lukem Exp $");
#include "bpfilter.h"
@@ -1636,7 +1636,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);
}
/*
@@ -2025,7 +2025,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