Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/dev/pci Pull up revision 1.5 (requested by briggs):
details: https://anonhg.NetBSD.org/src/rev/f741addbeaff
branches: netbsd-1-5
changeset: 490844:f741addbeaff
user: he <he%NetBSD.org@localhost>
date: Tue Mar 13 20:25:44 2001 +0000
description:
Pull up revision 1.5 (requested by briggs):
Fix support for the DP83815 so that it works properly with the
current crop of Netgear FA311 10/100 cards.
diffstat:
sys/dev/pci/if_sipreg.h | 16 ++++++++++++----
1 files changed, 12 insertions(+), 4 deletions(-)
diffs (49 lines):
diff -r c88b1704461b -r f741addbeaff sys/dev/pci/if_sipreg.h
--- a/sys/dev/pci/if_sipreg.h Sun Mar 11 23:18:46 2001 +0000
+++ b/sys/dev/pci/if_sipreg.h Tue Mar 13 20:25:44 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_sipreg.h,v 1.2.4.1 2000/09/28 16:42:56 thorpej Exp $ */
+/* $NetBSD: if_sipreg.h,v 1.2.4.2 2001/03/13 20:25:44 he Exp $ */
/*-
* Copyright (c) 1999 Network Computer, Inc.
@@ -282,7 +282,9 @@
#define RFCR_RFADDR_MC6 0x000a0000 /* multicast hash word 6 */
#define RFCR_RFADDR_MC7 0x000b0000 /* multicast hash word 7 */
-#define RFCR_NS_RFADDR_PMATCH 0x0000 /* perfect match */
+#define RFCR_NS_RFADDR_PMATCH0 0x0000 /* perfect match octets 1-0 */
+#define RFCR_NS_RFADDR_PMATCH2 0x0002 /* perfect match octets 3-2 */
+#define RFCR_NS_RFADDR_PMATCH4 0x0004 /* perfect match octets 5-4 */
#define RFCR_NS_RFADDR_PCOUNT 0x0006 /* pattern count */
#define RFCR_NS_RFADDR_FILTMEM 0x0200 /* filter memory (hash/pattern) */
@@ -353,7 +355,7 @@
#define SIP_WAKEMASK2 0xc8
#define SIP_WAKEMASK3 0xcc
#define SIP_WAKEMASK4 0xe0
-#define SIP_WASKMASK5 0xe4
+#define SIP_WAKEMASK5 0xe4
#define SIP_WAKEMASK6 0xe8
#define SIP_WAKEMASK7 0xec
@@ -365,7 +367,7 @@
#define SIP_EEPROM_OPC_READ 0x06
/*
- * Serial EEPROM address map (byte address).
+ * Serial EEPROM address map (byte address) for the SiS900.
*/
#define SIP_EEPROM_SIGNATURE 0x00 /* SiS 900 signature */
#define SIP_EEPROM_MASK 0x02 /* `enable' mask */
@@ -380,4 +382,10 @@
#define SIP_EEPROM_ETHERNET_ID2 0x14 /* Ethernet address 4, 5 */
#define SIP_EEPROM_CHECKSUM 0x16 /* checksum */
+/*
+ * Serial EEPROM data (byte addresses) for the DP83815.
+ */
+#define SIP_DP83815_EEPROM_CHECKSUM 0x16 /* checksum */
+#define SIP_DP83815_EEPROM_LENGTH 0x18 /* length of EEPROM data */
+
#endif /* _DEV_PCI_IF_SIPREG_H_ */
Home |
Main Index |
Thread Index |
Old Index