int ssvcan_irq[2]={-1,-1};
unsigned long ssvcan_base=0x0;
int ssvcan_irq[2]={-1,-1};
unsigned long ssvcan_base=0x0;
/* IO_RANGE is the io-memory range that gets reserved, please adjust according
* your hardware. Example: #define IO_RANGE 0x100 for i82527 chips or
* #define IO_RANGE 0x20 for sja1000 chips.
/* IO_RANGE is the io-memory range that gets reserved, please adjust according
* your hardware. Example: #define IO_RANGE 0x100 for i82527 chips or
* #define IO_RANGE 0x20 for sja1000 chips.
outb(address-ssvcan_base-0x100, ssvcan_base+0x02);
ret=inb(ssvcan_base+1+0x02);
outb(address-ssvcan_base-0x100, ssvcan_base+0x02);
ret=inb(ssvcan_base+1+0x02);