# define EMS_CPCPCI_PCICAN_VENDOR 0x110a
# define EMS_CPCPCI_PCICAN_ID 0x2104
+/*The PSB4610 is used as PCI to local bus bridge*/
+/*BAR0 - MEM - bridge control registers*/
+
+/*BAR1 - MEM - parallel interface*/
+/* 0 more EMS control registers
+ * 0x400 the first SJA1000
+ * 0x600 the second SJA1000
+ * each register occupies 4 bytes
+ */
+
/*AMCC 5920*/
#define S5920_OMB 0x0C
#define S5920_IMB 0x1C
}
-void ems_cpcpci_write_register(unsigned char data, unsigned long address)
+void ems_cpcpci_write_register(unsigned data, unsigned long address)
{
address += ((address&(EMS_CPCPCI_BYTES_PER_CIRCUIT-1))
*(EMS_CPCPCI_BYTES_PER_REG-1));