David van Moolenbroek 3913e49004 dp8390: use new libnetdriver
Change-Id: Ieaf6d605832d475f95fd9b06026b349dce7ee025
2014-12-04 12:10:49 +00:00

30 lines
472 B
C

/*
local.h
*/
#define ENABLE_WDETH 1
#define ENABLE_NE2000 1
#define ENABLE_3C503 1
struct dpeth;
/* 3c503.c */
int el2_probe(struct dpeth* dep);
/* dp8390.c */
u8_t inb(port_t port);
u16_t inw(port_t port);
void outb(port_t port, u8_t v);
void outw(port_t port, u16_t v);
/* ne2000.c */
int ne_probe(struct dpeth *dep);
void ne_init(struct dpeth *dep);
/* rtl8029.c */
int rtl_probe(struct dpeth *dep, int skip);
/* wdeth.c */
int wdeth_probe(struct dpeth* dep);