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: bsdimp#4


git-svn-id: https://svn.freebsd.org/base/head@336102 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
  • Loading branch information
imp committed Jul 8, 2018
1 parent e710c6c commit bf63a64
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 @@ -243,6 +243,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 bf63a64

Please sign in to comment.