From 9ea708da24784d2f4960f0353b7a08c0c2c08145 Mon Sep 17 00:00:00 2001 From: Anton Kling Date: Wed, 25 Oct 2023 19:36:25 +0200 Subject: RTL8139: Transmission and interrupts seem to magically work now. This commit is done to preserve the functional code before I make new changes. --- drivers/pci.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'drivers/pci.h') diff --git a/drivers/pci.h b/drivers/pci.h index 6a8bc1c..855a7de 100644 --- a/drivers/pci.h +++ b/drivers/pci.h @@ -9,6 +9,8 @@ struct PCI_DEVICE { uint32_t pci_config_read32(const struct PCI_DEVICE *device, uint8_t func, uint8_t offset); +void pci_config_write32(const struct PCI_DEVICE *device, uint8_t func, + uint8_t offset, uint32_t data); int pci_populate_device_struct(uint16_t vendor, uint16_t device, struct PCI_DEVICE *pci_device); -- cgit v1.2.3