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: Hasso Tepper <hasso@xxxxxxxxx>
Date: Thu, 27 Sep 2007 21:55:28 +0300

Justin C. Sherrill:
> How will this affect bringing in support for new devices from other BSD
> flavors?  Will it requires additional changes to imported code - to a
> greater extent than the usbdevs file now, for instance?
>
> If it's just that step being skipped, it sounds like a fine idea.

Yes, it will simplify things. Lets assume you see that some NetBSD
committer added new ID's to the driver which uses ID's in the match code.
At the moment you have to:

- Check from NetBSD pcidevs what are the numeric ID's for these devices.
- Check if these entries can be used in our pcidevs file. If not, resolve
  the conflicts.
- Commit pcidevs.
- Regenerate pcidevs.h and pcidevs_data.h and edit driver to add new
  entries.
- Commit pcidevs.h, pcidevs_data and driver.

Without pcidevs:

- Check from NetBSD pcidevs what are the numeric ID's for these devices.
- Edit driver to add new entries.
- Commit the driver.


-- 
Hasso



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