mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-16 07:57:13 -04:00
Put interface in promiscuous mode
This commit is contained in:
parent
53892b4aa5
commit
aeb67c63d9
@ -94,7 +94,7 @@ void rtl8139::init_driver(network::interface_descriptor& interface, pci::device_
|
|||||||
|
|
||||||
// 8. Set RCR (Receive Configuration Register)
|
// 8. Set RCR (Receive Configuration Register)
|
||||||
|
|
||||||
out_dword(iobase + RCR, RCR_APM | RCR_AM | RCR_AB | RCR_WRAP);
|
out_dword(iobase + RCR, RCR_AAP | RCR_APM | RCR_AM | RCR_AB | RCR_WRAP);
|
||||||
|
|
||||||
// 9. Enable RX and TX
|
// 9. Enable RX and TX
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user