Home
last modified time | relevance | path

Searched refs:BUS_ALIGN (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/include/linux/
Dcom20020.h39 #define BUS_ALIGN 2 /* 8 bit device on a 16 bit bus - needs padding */ macro
41 #define BUS_ALIGN 1 macro
45 #define _INTMASK (ioaddr+BUS_ALIGN*0) /* writable */
46 #define _STATUS (ioaddr+BUS_ALIGN*0) /* readable */
47 #define _COMMAND (ioaddr+BUS_ALIGN*1) /* standard arcnet commands */
48 #define _DIAGSTAT (ioaddr+BUS_ALIGN*1) /* diagnostic status register */
49 #define _ADDR_HI (ioaddr+BUS_ALIGN*2) /* control registers for IO-mapped memory */
50 #define _ADDR_LO (ioaddr+BUS_ALIGN*3)
51 #define _MEMDATA (ioaddr+BUS_ALIGN*4) /* data port for IO-mapped memory */
52 #define _SUBADR (ioaddr+BUS_ALIGN*5) /* the extended port _XREG refers to */
[all …]
/linux-2.6.39/drivers/net/arcnet/
Dcom20020.c119 outb(0x42, ioaddr + BUS_ALIGN*7); in com20020_check()
131 outb(inb(ioaddr + BUS_ALIGN*8), ioaddr + BUS_ALIGN*7); in com20020_check()
181 dev->dev_addr[0] = inb(ioaddr + BUS_ALIGN*8); /* FIXME: do this some other way! */ in com20020_found()