device hints for isa modules



Dear freebsd-hackers@,

Is there a way to statically compile device hints into an isa(4) module?

From what it looks, there is no place in the source tree to put the hints for isa(4) modules -- you either have to place default hints into GENERIC.hints, implying that the driver will be compiled into a GENERIC kernel, or place it into NOTES. In the former case, having a module is then useless; in the latter, the module simply ain't going to work.

This is complicated further by the fact that changing isa hints after the boot has no effect on isa driver modules that use standard methods of resource acquisition. (Specifically, notice that kenv(1) won't give you an error message when you try to create a new hint or update an existing one, and the new or updated hint will in fact be visible back from kenv(1), but it won't have any effect on bus_alloc_resource(9) calls, thus modules depending on isa hints will fail to find their hardware.)

I'm specifically looking for a solution to a usable module for my lm(4) driver in soc2007/cnst-sensors perforce branch...

Cheers,
Constantine.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: device hints for isa modules
    ... Is there a way to statically compile device hints into an isamodule? ... If you have a driver listed in GENERIC.hints, ... it will use the hints. ... custom ISA hardware we produce. ...
    (freebsd-hackers)
  • Re: Mustek SCSI help
    ... >>>workarounds in the www. ... >> to find viable Win2K ... >maybe i can give you some hints? ... (in Driver ...
    (comp.periphs.scsi)
  • 1998 4 Runner repairs -- help
    ... I need to replace the rear bumper corner section (driver side) on my 98 ... runner before selling it. ... Does anyone have any hints for me on ...
    (alt.autos.toyota)
  • Re: Difference between Win 2000 and Win XP build environments
    ... Thank you all for the hints ... Andre Pavel,this driver is part of a bigger project which uses WinXP build ... >>> However it crashes in Win Me and Win 98 Gold ...
    (microsoft.public.development.device.drivers)
  • Re: pc doesnt shut. it resets
    ... Look in the Event Viewer for hints about what file or driver is doing that during shutdown ... hit enter ...
    (microsoft.public.windows.vista.general)