summaryrefslogtreecommitdiffstats
path: root/lib/i386-ports.c
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:31:41 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 18:31:41 +0000
commit9d227ccb45612c6f8a2a488d9d2ca90784489afc (patch)
treeaae8a30f23900307a2d14ebe0588db807ab3b355 /lib/i386-ports.c
parentReleasing progress-linux version 1:3.11.1-1~progress7.99u1. (diff)
downloadpciutils-9d227ccb45612c6f8a2a488d9d2ca90784489afc.tar.xz
pciutils-9d227ccb45612c6f8a2a488d9d2ca90784489afc.zip
Merging upstream version 1:3.12.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lib/i386-ports.c')
-rw-r--r--lib/i386-ports.c44
1 files changed, 18 insertions, 26 deletions
diff --git a/lib/i386-ports.c b/lib/i386-ports.c
index 5f8aea4..b9d863c 100644
--- a/lib/i386-ports.c
+++ b/lib/i386-ports.c
@@ -295,33 +295,25 @@ conf2_write(struct pci_dev *d, int pos, byte *buf, int len)
}
struct pci_methods pm_intel_conf1 = {
- "intel-conf1",
- "Raw I/O port access using Intel conf1 interface",
- NULL, /* config */
- conf1_detect,
- conf12_init,
- conf12_cleanup,
- pci_generic_scan,
- pci_generic_fill_info,
- conf1_read,
- conf1_write,
- NULL, /* read_vpd */
- NULL, /* init_dev */
- NULL /* cleanup_dev */
+ .name = "intel-conf1",
+ .help = "Raw I/O port access using Intel conf1 interface",
+ .detect = conf1_detect,
+ .init = conf12_init,
+ .cleanup = conf12_cleanup,
+ .scan = pci_generic_scan,
+ .fill_info = pci_generic_fill_info,
+ .read = conf1_read,
+ .write = conf1_write,
};
struct pci_methods pm_intel_conf2 = {
- "intel-conf2",
- "Raw I/O port access using Intel conf2 interface",
- NULL, /* config */
- conf2_detect,
- conf12_init,
- conf12_cleanup,
- pci_generic_scan,
- pci_generic_fill_info,
- conf2_read,
- conf2_write,
- NULL, /* read_vpd */
- NULL, /* init_dev */
- NULL /* cleanup_dev */
+ .name = "intel-conf2",
+ .help = "Raw I/O port access using Intel conf2 interface",
+ .detect = conf2_detect,
+ .init = conf12_init,
+ .cleanup = conf12_cleanup,
+ .scan = pci_generic_scan,
+ .fill_info = pci_generic_fill_info,
+ .read = conf2_read,
+ .write = conf2_write,
};