[haiku-bugs] Re: [Haiku] #15659: Choose drivers for hardware by PCI device ID

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 29 Jan 2020 15:04:33 -0000

#15659: Choose drivers for hardware by PCI device ID
-----------------------------+----------------------------
   Reporter:  diver          |      Owner:  nobody
       Type:  enhancement    |     Status:  new
   Priority:  normal         |  Milestone:  Unscheduled
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------
Comment (by phoudoin):

 I guess packing some fast-matching metadata into each driver/device kernel
 module file's attributes could be a way to go here.
 Most wasted time is spent at loading module itself, executing the bit of
 code each device module have to lookup for supported hardware is most
 probably very small in comparison.

 I don't think having some central database/config for that, the BFS kernel
 modules files can provide themselves such data already, taking leverage of
 BFS attributes.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15659#comment:4>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: