uint pci_imimr;
char res5[24];
uint pci_ifhpr;
+ char res5_2[4];
uint pci_iftpr;
- char res6[8];
+ char res6[4];
uint pci_iphpr;
+ char res6_2[4];
uint pci_iptpr;
- char res7[8];
+ char res7[4];
uint pci_ofhpr;
+ char res7_2[4];
uint pci_oftpr;
- char res8[8];
+ char res8[4];
uint pci_ophpr;
+ char res8_2[4];
uint pci_optpr;
- char res9[12];
+ char res9[8];
uint pci_mucr;
char res10[8];
uint pci_qbar;
u_char fcc_ftirr_phy[4];
} fcc_t;
+/* Fast controllers continued
+ */
+typedef struct fcc_c {
+ uint fcc_firper;
+ uint fcc_firer;
+ uint fcc_firsr_hi;
+ uint fcc_firsr_lo;
+ u_char fcc_gfemr;
+ char res1[15];
+} fcc_c_t;
+
+/* TC Layer
+ */
+typedef struct tclayer {
+ ushort tc_tcmode;
+ ushort tc_cdsmr;
+ ushort tc_tcer;
+ ushort tc_rcc;
+ ushort tc_tcmr;
+ ushort tc_fcc;
+ ushort tc_ccc;
+ ushort tc_icc;
+ ushort tc_tcc;
+ ushort tc_ecc;
+ char res1[12];
+} tclayer_t;
+
/* I2C
*/
typedef struct i2c {
fcc_t im_fcc[3]; /* Three FCCs */
- char res4[159];
+ char res4[32];
+ fcc_c_t im_fcc_c[3]; /* Continued FCCs */
+ char res4a[32];
+
+ tclayer_t im_tclayer[8]; /* Eight TCLayers */
+ ushort tc_tcgsr;
+ ushort tc_tcger;
/* First set of baud rate generators.
*/
- char res4a[496];
+ char res4b[236];
uint im_brgc5;
uint im_brgc6;
uint im_brgc7;