summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/amd64/driver')
-rw-r--r--src/kernel/arch/amd64/driver/rtl8139.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/kernel/arch/amd64/driver/rtl8139.c b/src/kernel/arch/amd64/driver/rtl8139.c
index 8a40f28..09b0ca5 100644
--- a/src/kernel/arch/amd64/driver/rtl8139.c
+++ b/src/kernel/arch/amd64/driver/rtl8139.c
@@ -118,6 +118,7 @@ static int try_rx(Proc *proc, void __user *dest, size_t dlen) {
* 0 - Receive OK
* 14 - Physical Address Matched */
flags = *(uint16_t*)(rxbuf + rxpos);
+ (void)flags; // TODO check rtl8139 rx flags
rxpos += 2;
/* doesn't include the header, includes a 4 byte crc */
size = *(uint16_t*)(rxbuf + rxpos);