"Daniel O'Connor" <docon...@gsoft.com.au> wrote: > On 23/08/2010, at 1:24, Xin LI wrote: > > 2010/8/7 Dag-Erling Sm?rgrav <d...@des.no>: > >> Xin LI <delp...@delphij.net> writes: > >>> I'm still polishing up the driver, there seems to be no way to > >>> figure out the base port address directly (datasheet said it's > >>> either 0x2e and 0x4e) so for now I have its device identify > >>> method to do some dirty hacks (outb/inb directly) and only > >>> check if with appropriate key entered to the port we will get > >>> non-0xff value. > >> > >> Sounds gross, but if there's no other way, I guess it'll have > >> to do. I imagine you check the PCI id etc. first? > > > > It's not a PCI device unfortunately (at least, not the one > > I have encountered on my Supermicro board). > > They're LPC ISA devices, I don't know if they appear in any PNP > or ACPI tables though.
Any mainboard device on a non-enumerable bus, including LPC, is _supposed_ to be reported in the ACPI tables -- precisely to avoid the need for drivers to engage in risky probing to find their hardware. That's no guarantee of course -- there are plenty of buggy BIOS around -- but it might be worth looking to see if this one got it right. _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"