diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-08-10 12:34:23 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-08-10 12:34:23 +0200 |
commit | d9638539eb82b74d9efc7abb0d71b2deb68a2547 (patch) | |
tree | 291449768c8c4e6c84f8a6b5a10e3d026215787b /src/drivers/net/rtl8139.h | |
parent | 235551b84395233770f525714dee257ffb0e4842 (diff) | |
download | abaos-d9638539eb82b74d9efc7abb0d71b2deb68a2547.tar.gz abaos-d9638539eb82b74d9efc7abb0d71b2deb68a2547.tar.bz2 |
some renamed in ethernet/rtl8139
don't try tp play with the ethernet CRCs, they belong to layer 2 OSI, the
firmware of the network card
rtl8139: computing packet size correctly (sizeof uint32_t of the CRC was
part of the payload len)
Diffstat (limited to 'src/drivers/net/rtl8139.h')
-rw-r--r-- | src/drivers/net/rtl8139.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/drivers/net/rtl8139.h b/src/drivers/net/rtl8139.h index ec87d23..4222b6d 100644 --- a/src/drivers/net/rtl8139.h +++ b/src/drivers/net/rtl8139.h @@ -27,6 +27,7 @@ typedef struct { const char *model; uint8_t *receive_buffer; uint16_t receive_buffer_pos; + bool transmitting; uint8_t *transmit_buffer[NOF_TRANSMIT_BUFFERS]; int transmit_buffer_idx; interrupt_handler_t interrupt_handler; |