From aa3d1b4689e6dadd982fe1e5ca8af69ca39c617d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 15 Apr 2020 16:35:29 +0200 Subject: Added ext2 filesystem --- src/kernel/net/rtl8139.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/kernel/net/rtl8139.c') 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 +} -- cgit v1.2.3