diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:31:41 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 18:31:41 +0000 |
commit | 9d227ccb45612c6f8a2a488d9d2ca90784489afc (patch) | |
tree | aae8a30f23900307a2d14ebe0588db807ab3b355 /lib/nbsd-libpci.c | |
parent | Releasing progress-linux version 1:3.11.1-1~progress7.99u1. (diff) | |
download | pciutils-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/nbsd-libpci.c')
-rw-r--r-- | lib/nbsd-libpci.c | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/lib/nbsd-libpci.c b/lib/nbsd-libpci.c index 0f9f27b..e84ac6b 100644 --- a/lib/nbsd-libpci.c +++ b/lib/nbsd-libpci.c @@ -143,17 +143,14 @@ nbsd_write(struct pci_dev *d, int pos, byte *buf, int len) } struct pci_methods pm_nbsd_libpci = { - "nbsd-libpci", - "NetBSD libpci", - nbsd_config, - nbsd_detect, - nbsd_init, - nbsd_cleanup, - pci_generic_scan, - pci_generic_fill_info, - nbsd_read, - nbsd_write, - NULL, /* read_vpd */ - NULL, /* dev_init */ - NULL /* dev_cleanup */ + .name = "nbsd-libpci", + .help = "NetBSD libpci", + .config = nbsd_config, + .detect = nbsd_detect, + .init = nbsd_init, + .cleanup = nbsd_cleanup, + .scan = pci_generic_scan, + .fill_info = pci_generic_fill_info, + .read = nbsd_read, + .write = nbsd_write, }; |