From 3904f84bd982216cdb1fc30d8543f028ea1c79de Mon Sep 17 00:00:00 2001 From: adl09 Date: Wed, 29 Oct 2025 10:32:51 -0300 Subject: [PATCH] increased PCI_MAX_DEVICES constant Signed-off-by: Alberto Daniel Lange --- libpci/include/pci/pci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpci/include/pci/pci.h b/libpci/include/pci/pci.h index 26542d54c..ff46e99f2 100644 --- a/libpci/include/pci/pci.h +++ b/libpci/include/pci/pci.h @@ -15,7 +15,7 @@ #define PCI_CONF_PORT_DATA 0x0CFC #define PCI_CONF_PORT_ADDR_END (PCI_CONF_PORT_ADDR + 4) #define PCI_CONF_PORT_DATA_END (PCI_CONF_PORT_DATA + 4) -#define PCI_MAX_DEVICES 128 +#define PCI_MAX_DEVICES 256 /* Structure containing information about a device. When a device is found during scanning, * one of these structs is populated from the information read off the device. */