summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_tireg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/pci/if_tireg.h')
-rw-r--r--sys/pci/if_tireg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/pci/if_tireg.h b/sys/pci/if_tireg.h
index df399be..e244e90 100644
--- a/sys/pci/if_tireg.h
+++ b/sys/pci/if_tireg.h
@@ -143,7 +143,6 @@
* Miscelaneous Local Control register.
*/
#define TI_MLC_EE_WRITE_ENB 0x00000010
-#define TI_MLC_SRAM_BANK_256K 0x00000200
#define TI_MLC_SRAM_BANK_SIZE 0x00000300 /* Tigon 2 only */
#define TI_MLC_LOCALADDR_21 0x00004000
#define TI_MLC_LOCALADDR_22 0x00008000
@@ -153,6 +152,12 @@
#define TI_MLC_EE_DOUT 0x00400000
#define TI_MLC_EE_DIN 0x00800000
+/* Possible memory sizes. */
+#define TI_MLC_SRAM_BANK_DISA 0x00000000
+#define TI_MLC_SRAM_BANK_1024K 0x00000100
+#define TI_MLC_SRAM_BANK_512K 0x00000200
+#define TI_MLC_SRAM_BANK_256K 0x00000300
+
/*
* Offset of MAC address inside EEPROM.
*/
OpenPOWER on IntegriCloud