svn commit: r332652 - in head/sys: conf dev/puc modules/puc

Warner Losh imp at bsdimp.com
Tue Apr 17 18:25:43 UTC 2018


On Tue, Apr 17, 2018 at 11:20 AM, John Baldwin <jhb at freebsd.org> wrote:

> 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.
>

Good suggestion...

Warner


More information about the svn-src-head mailing list