summaryrefslogtreecommitdiff
path: root/sys/arch/newsmips/stand/boot/promdev.h
blob: 15088a32deff47f56cec660c3abd0e56ca10c680 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
struct romdev {
	int fd;
	int devtype;
	char devname[32];
};

#define DT_BLOCK	1
#define DT_NET		2

int net_open(struct romdev *);
int net_close(struct romdev *);
int net_mountroot(void);
int prom_getether(struct romdev *, u_char *);