DragonFly kernel List (threaded) for 2007-09
DragonFly BSD
DragonFly kernel List (threaded) for 2007-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: RFC: nuke pcidevs and usbdevs


From: "Thomas E. Spanjaard" <tgen@xxxxxxxxxxxxx>
Date: Thu, 27 Sep 2007 15:01:32 +0000

Hasso Tepper wrote:
 - Remove the usbdevs and pcidevs files. If the code wants to use defines
   for vendor and/or device id's, it has to define them itself.

Con. Imho, it's better to keep things like these in one place, for easier maintenance and collision-spotting. The problem is we didn't really inherit pcidevs from FreeBSD, but added it later on, making lots of drivers ill-adjusted, or not adjusted at all, to pcidevs.


 - As maintaining descriptions database makes sense only for PCI devices,
   look at possibilities to generate structures for that from the
   share/misc/pci_vendors file. If it's needed at all?

pci_vendors is from upstream, and does not necessarily correspond with what we want to present to the user.


Also, about drivers not using device strings, they should; but since we inherited pcidevs-less drivers from FreeBSD, only a small amount has been adapted to suit pcidevs.

Cheers,
--
        Thomas E. Spanjaard
        tgen@netphreax.net

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]