diff options
Diffstat (limited to 'os/boot/pc/etherif.h')
| -rw-r--r-- | os/boot/pc/etherif.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/os/boot/pc/etherif.h b/os/boot/pc/etherif.h index 522fd9b0..f4a6482c 100644 --- a/os/boot/pc/etherif.h +++ b/os/boot/pc/etherif.h @@ -17,7 +17,7 @@ typedef struct Ether Ether; struct Ether { ISAConf; /* hardware info */ int ctlrno; - int state; + int state; /* 0: unfound, 1: found, 2: attaching */ int tbdf; void (*attach)(Ether*); /* filled in by reset routine */ @@ -36,7 +36,8 @@ struct Ether { ushort th; /* first transmit buffer belonging to host */ ushort ti; /* first transmit buffer belonging to card */ - int tbusy; /* transmitter is busy */ + int tbusy; /* transmitter is busy */ + int mbps; /* zero means link down */ }; extern void etherrloop(Ether*, Etherpkt*, long); |
