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). I have a code snapshot at: http://people.freebsd.org/~delphij/for_review/winbondwd/ But there are some good features in bz@'s driver which I would like to bring in. Cheers, -- Xin LI <delp...@delphij.net> http://www.delphij.net _______________________________________________ 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"