Skip to content

Commit

Permalink
Add PNP info to PCI attachment of alc driver
Browse files Browse the repository at this point in the history
Reviewed by: imp, chuck
Submitted by: Lakhan Shiva Kamireddy <lakhanshiva@gmail.com>
Sponsored by: Google, Inc. (GSoC 2018)
Pull Request: #4
Url: https://reviews.freebsd.org/D15995
  • Loading branch information
lakhanshiva authored and bsdimp committed Jul 8, 2018
1 parent e1b82c0 commit 691e9ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sys/dev/alc/if_alc.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ static driver_t alc_driver = {
static devclass_t alc_devclass;

DRIVER_MODULE(alc, pci, alc_driver, alc_devclass, 0, 0);
MODULE_PNP_INFO("U16:vendor;U16:device", pci, alc, alc_ident_table,
sizeof(alc_ident_table[0]), nitems(alc_ident_table) - 1);
DRIVER_MODULE(miibus, alc, miibus_driver, miibus_devclass, 0, 0);

static struct resource_spec alc_res_spec_mem[] = {
Expand Down

0 comments on commit 691e9ff

Please sign in to comment.