Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci No functional change:
details: https://anonhg.NetBSD.org/src/rev/ccab470225b2
branches: trunk
changeset: 786736:ccab470225b2
user: msaitoh <msaitoh%NetBSD.org@localhost>
date: Wed May 08 07:50:28 2013 +0000
description:
No functional change:
- Fix typo
- Add comment
- Remove duplicated definitions
diffstat:
sys/dev/pci/if_bgereg.h | 17 ++++++++---------
1 files changed, 8 insertions(+), 9 deletions(-)
diffs (62 lines):
diff -r 62621f0676a3 -r ccab470225b2 sys/dev/pci/if_bgereg.h
--- a/sys/dev/pci/if_bgereg.h Wed May 08 05:42:17 2013 +0000
+++ b/sys/dev/pci/if_bgereg.h Wed May 08 07:50:28 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_bgereg.h,v 1.76 2013/05/08 04:05:46 msaitoh Exp $ */
+/* $NetBSD: if_bgereg.h,v 1.77 2013/05/08 07:50:28 msaitoh Exp $ */
/*
* Copyright (c) 2001 Wind River Systems
* Copyright (c) 1997, 1998, 1999, 2001
@@ -753,11 +753,11 @@
#define BGE_LEDCTL_10MBPS_LED 0x00000008
#define BGE_LEDCTL_TRAFLED_OVERRIDE 0x00000010
#define BGE_LEDCTL_TRAFLED_BLINK 0x00000020
-#define BGE_LEDCTL_TREFLED_BLINK_2 0x00000040
+#define BGE_LEDCTL_TRAFLED_BLINK_2 0x00000040
#define BGE_LEDCTL_1000MBPS_STS 0x00000080
#define BGE_LEDCTL_100MBPS_STS 0x00000100
#define BGE_LEDCTL_10MBPS_STS 0x00000200
-#define BGE_LEDCTL_TRADLED_STS 0x00000400
+#define BGE_LEDCTL_TRAFLED_STS 0x00000400
#define BGE_LEDCTL_BLINKPERIOD 0x7FF80000
#define BGE_LEDCTL_BLINKPERIOD_OVERRIDE 0x80000000
@@ -1218,7 +1218,9 @@
/* Receive List Selector Status register */
#define BGE_RXLSSTAT_ERROR 0x00000004
-/* Central Power Management Unit (CPMU) register */
+/*
+ * Central Power Management Unit (CPMU) registers
+ */
#define BGE_CPMU_CTRL 0x3600
#define BGE_CPMU_LSPD_10MB_CLK 0x3604
#define BGE_CPMU_LSPD_1000MB_CLK 0x360C
@@ -1349,7 +1351,7 @@
#define BGE_HCCMODE_ENABLE 0x00000002
#define BGE_HCCMODE_ATTN 0x00000004
#define BGE_HCCMODE_COAL_NOW 0x00000008
-#define BGE_HCCMODE_MSI_BITS 0x0x000070
+#define BGE_HCCMODE_MSI_BITS 0x00000070
#define BGE_HCCMODE_64BYTE 0x00000080
#define BGE_HCCMODE_32BYTE 0x00000100
#define BGE_HCCMODE_CLRTICK_RXBD 0x00000200
@@ -1484,10 +1486,6 @@
#define BGE_BMANSTAT_ERRO 0x00000004
#define BGE_BMANSTAT_LOWMBUF_ERROR 0x00000010
-#define BGE_RDMA_LSO_CRPTEN_CTRL_BLEN_BD_512 0x00020000
-#define BGE_RDMA_LSO_CRPTEN_CTRL_BLEN_BD_4K 0x00030000
-#define BGE_RDMA_LSO_CRPTEN_CTRL_BLEN_LSO_4K 0x000C0000
-
/*
* Read DMA Control registers
*/
@@ -1537,6 +1535,7 @@
#define BGE_RDMA_RSRVCTRL_FIFO_HWM_MASK 0x000FF000
#define BGE_RDMA_RSRVCTRL_TXMRGN_MASK 0xFFE00000
+/* Read DMA Corruption Enable Control register */
#define BGE_RDMA_LSO_CRPTEN_CTRL_BLEN_BD_512 0x00020000
#define BGE_RDMA_LSO_CRPTEN_CTRL_BLEN_BD_4K 0x00030000
#define BGE_RDMA_LSO_CRPTEN_CTRL_BLEN_LSO_4K 0x000C0000
Home |
Main Index |
Thread Index |
Old Index