aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/net/rtl8139.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-15 16:35:29 +0200
committerMarvin Borner2020-04-15 16:35:29 +0200
commitaa3d1b4689e6dadd982fe1e5ca8af69ca39c617d (patch)
tree8d4eff1df3031e601cb50cf005130a591fce35a1 /src/kernel/net/rtl8139.c
parent10cd931d75a02942c5ad254cef2e56b515122fa3 (diff)
Added ext2 filesystem
Diffstat (limited to 'src/kernel/net/rtl8139.c')
-rw-r--r--src/kernel/net/rtl8139.c4
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
+}