2 * HND SiliconBackplane Gigabit Ethernet core registers
4 * Copyright 2007, Broadcom Corporation
7 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
22 /* cpp contortions to concatenate w/arg prescan */
24 #define _PADLINE(line) pad ## line
25 #define _XSTR(line) _PADLINE(line)
26 #define PAD _XSTR(__LINE__)
29 /* PCI to OCP shim registers */
30 typedef volatile struct {
31 uint32 FlushStatusControl
;
33 uint32 FlushTimeoutCntr
;
35 uint32 MaocpSIControl
;
36 uint32 SiocpMaControl
;
40 /* SB core registers */
41 typedef volatile struct {
42 /* PCI I/O Read/Write registers */
46 uint8 reserved
[0x0400];
48 /* PCI configuration registers */
49 pci_config_regs pcicfg
;
52 /* PCI to OCP shim registers */
53 sbgige_pcishim_t pcishim
;
55 /* Sonics SiliconBackplane registers */
59 #endif /* _sbgige_h_ */