minix3/drivers/net/dp8390/local.h

31 lines
493 B
C

/*
local.h
*/
#define ENABLE_WDETH 1
#define ENABLE_NE2000 1
#define ENABLE_3C503 1
#define ENABLE_PCI 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);