Updating PCI vendors database

Philip Paeps philip at freebsd.org
Mon Apr 4 14:57:50 UTC 2011


On 2011-04-04 17:39:22 (+0300), Andriy Gapon <avg at FreeBSD.org> wrote:
> on 04/04/2011 17:10 Philip Paeps said the following:
> > It looks like our /usr/share/misc/pci_vendors list (used only by pciconf as
> > far as I can tell) has become rather stale.  We also appear to be tracking
> > sources which no longer exist.
> > 
> > Would anyone object if I updated this list to source the same database used by
> > Linux distributions at http://pciids.sourceforge.net/v2.2/pci.ids?
> > 
> > It helps that our pciconf looks to be compatible with that format.  We just
> > ignore subvendor and subdevice, but it doesn't appear to matter that the file
> > contains this information.
> > 
> > I could cull the subvendor/subdevice from the list though.
> > 
> > Any views?
> > 
> > Reason I'm looking into this is because one of my customers would like their
> > name to be correct when I import the driver I've been working on for them. :)
> 
> This is just for your information:
> http://thread.gmane.org/gmane.os.freebsd.current/127979/focus=128577
> Maybe you'll find something useful there.

Thanks.  I've just read through that discussion.  It doesn't look like there
were any "serious" objections to pulling in the new list, other than verifying
that the new list contains all the entries the current list contains.

I am not entirely sure what the little side-discussion about using # instead
of ; as a comment marker is about.  It looks to me like the pci.ids file "Just
Works"[tm] with our pciconf(8).  Maybe Garrett can elaborate on that?

I think we should just go with the new list, but I'll hold off for a bit to
let others object. ;)

 - Philip

-- 
Philip Paeps                                    Please don't Cc me, I am
philip at freebsd.org                               subscribed to the list.

  You can't fix it if it ain't broke.


More information about the freebsd-hackers mailing list