On Tuesday, April 17, 2018 04:46:09 PM Warner Losh wrote:
> Author: imp
> Date: Tue Apr 17 16:46:08 2018
> New Revision: 332652
> URL: https://svnweb.freebsd.org/changeset/base/332652
> 
> Log:
>   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

If you are going to #include it you can remove the terminator entry
and use nitems() in puc_pci_match instead.  That will also remove the
need for the - 1 hack in the MODULE_PNP_INFO line.

-- 
John Baldwin
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to