diff options
author | Warner Losh <imp@FreeBSD.org> | 2018-04-17 16:46:08 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2018-04-17 16:46:08 +0000 |
commit | a397def9fb43b1f3a27e2ec440cfb3cc3bba1064 (patch) | |
tree | 297edd7384efb899b3e8770af139bcbd0c617588 /sys/dev/puc | |
parent | aeb291cc32a4cdd550a7213b7862f38f236eca14 (diff) | |
download | src-a397def9fb43b1f3a27e2ec440cfb3cc3bba1064.tar.gz src-a397def9fb43b1f3a27e2ec440cfb3cc3bba1064.zip |
Add PNP info to the PCI attahement of the puc driver.
Adjust sys/conf/files and sys/modules/puc/Makefile to omit
pucdata.c now tht it's included by puc_pci.c.
Submitted by: Lakhan Shiva Kamireddy (with build fixes by me)
Pull Request: https://github.com/freebsd/freebsd/pull/136
Notes
Notes:
svn path=/head/; revision=332652
Diffstat (limited to 'sys/dev/puc')
-rw-r--r-- | sys/dev/puc/puc_pci.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/puc/puc_pci.c b/sys/dev/puc/puc_pci.c index d6b126f0f92b..f0c6aa81dde4 100644 --- a/sys/dev/puc/puc_pci.c +++ b/sys/dev/puc/puc_pci.c @@ -80,6 +80,7 @@ __FBSDID("$FreeBSD$"); #include <dev/puc/puc_cfg.h> #include <dev/puc/puc_bfe.h> +#include <dev/puc/pucdata.c> static int puc_msi_disable; SYSCTL_INT(_hw_puc, OID_AUTO, msi_disable, CTLFLAG_RDTUN, @@ -198,3 +199,5 @@ static driver_t puc_pci_driver = { }; DRIVER_MODULE(puc, pci, puc_pci_driver, puc_devclass, 0, 0); +MODULE_PNP_INFO("U16:vendor;U16:device;U16:#;U16:#;D:#", pci, puc, + puc_pci_devices, sizeof(puc_pci_devices[0]), nitems(puc_pci_devices) - 1); |