Linux Audio

Check our new training course

Embedded Linux Audio

Check our new training course
with Creative Commons CC-BY-SA
lecture materials

Bootlin logo

Elixir Cross Referencer

Loading...
/* AE-3068 board depend header */

/* TIMER rate define */
#ifdef H8300_TIMER_DEFINE
#define H8300_TIMER_COUNT_DATA 20000*10/8192
#define H8300_TIMER_FREQ 20000*1000/8192
#endif

/* AE-3068 RTL8019AS Config */
#ifdef H8300_NE_DEFINE

#define NE2000_ADDR		0x200000
#define NE2000_IRQ              5
#define	NE2000_BYTE		volatile unsigned short

#define WCRL                    0xfee023
#define MAR0A                   0xffff20
#define ETCR0A                  0xffff24
#define DTCR0A                  0xffff27
#define MAR0B                   0xffff28
#define DTCR0B                  0xffff2f

#define H8300_INIT_NE()                  \
do {                                     \
	wordlength = 1;                  \
        outb_p(0x48, ioaddr + EN0_DCFG); \
} while(0)

#endif