net: smsc: Add support h8300
Add H8/300 platform support for smc91x Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
973365dc2d
commit
f147d0b320
@@ -172,6 +172,17 @@ static inline void mcf_outsw(void *a, unsigned char *p, int l)
|
||||
|
||||
#define SMC_IRQ_FLAGS 0
|
||||
|
||||
#elif defined(CONFIG_H8300)
|
||||
#define SMC_CAN_USE_8BIT 1
|
||||
#define SMC_CAN_USE_16BIT 0
|
||||
#define SMC_CAN_USE_32BIT 0
|
||||
#define SMC_NOWAIT 0
|
||||
|
||||
#define SMC_inb(a, r) ioread8((a) + (r))
|
||||
#define SMC_outb(v, a, r) iowrite8(v, (a) + (r))
|
||||
#define SMC_insb(a, r, p, l) ioread8_rep((a) + (r), p, l)
|
||||
#define SMC_outsb(a, r, p, l) iowrite8_rep((a) + (r), p, l)
|
||||
|
||||
#else
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user