1999-12-22 08:54:41 +03:00
|
|
|
struct romdev {
|
|
|
|
int fd;
|
|
|
|
int devtype;
|
2002-04-13 12:04:41 +04:00
|
|
|
char devname[32];
|
1999-12-22 08:54:41 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#define DT_BLOCK 1
|
|
|
|
#define DT_NET 2
|
|
|
|
|
|
|
|
int net_open __P((struct romdev *));
|
|
|
|
int net_close __P((struct romdev *));
|
|
|
|
int net_mountroot __P((void));
|
|
|
|
int prom_getether __P((struct romdev *, u_char *));
|