diff options
Diffstat (limited to 'src/kernel/net/rtl8139.c')
-rw-r--r-- | src/kernel/net/rtl8139.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/net/rtl8139.c b/src/kernel/net/rtl8139.c index 4da545e..c722632 100644 --- a/src/kernel/net/rtl8139.c +++ b/src/kernel/net/rtl8139.c @@ -42,7 +42,7 @@ int rtl8139_init(void) if (command_reg & (1 << 2)) { } else { command_reg |= (1 << 2); - pci_write_field(rtl_device_pci, PCI_COMMAND, 4, command_reg); + pci_write_field(rtl_device_pci, PCI_COMMAND, command_reg); } rtl_irq = pci_get_interrupt(rtl_device_pci); @@ -100,4 +100,4 @@ void rtl8139_install() if (rtl8139_init() == 0) info("Installed rtl8139 network driver"); -}
\ No newline at end of file +} |