dynamic update of usb/pci/quirks tables
Alfred Perlstein
alfred at freebsd.org
Sun Sep 28 20:19:48 UTC 2008
* M. Warner Losh <imp at bsdimp.com> [080928 13:01] wrote:
> uscanner_devs and sis_devs aren't quirks. They are device tables.
>
> You've repeated ignored the mapping idea that I've posted. You can't
> just add stuff to tables randomly and expect that to work (says
> someone who has actually done this to lots of drivers in the tree in
> the pccard era). the driver has to know what kind of device to treat
> it as.
>
> Putting a translation table into the kernel is much easier and you
> don't have to worry about hokey kludges like what you describe with
> 'patch'.
>
> Maybe it will work out for the other tables you want to update, but it
> won't work well for device tables.
I really like the idea of using a kmod to just add the new device
strings.. (some form of what Hans did).
-Alfred
More information about the freebsd-arch
mailing list