Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Aug 2010 02:28:53 -0700
From:      perryh@pluto.rain.com
To:        doconnor@gsoft.com.au
Cc:        freebsd-hackers@freebsd.org, des@des.no
Subject:   Re: Winbond Watchdog
Message-ID:  <4c723f55.IHXUYM9HTnD6uCPO%perryh@pluto.rain.com>
In-Reply-To: <C3987FCC-2A29-478C-B503-E048751257CE@gsoft.com.au>
References:  <4C2B07F5.6030801@delphij.net> <4C2B4D35.8060903@feral.com> <86lj9wmbrz.fsf@ds4.des.no> <4C2BBF3C.4070503@delphij.net> <86hbkkmad1.fsf@ds4.des.no> <4C2BD498.3090704@delphij.net> <86d3v7n093.fsf@ds4.des.no> <4C5D4BFD.9080803@delphij.net> <86ocde8tzd.fsf@ds4.des.no> <AANLkTinMPGdBbTr2ENci5tAHA-omOUgZXU4kbQ60V4U7@mail.gmail.com> <C3987FCC-2A29-478C-B503-E048751257CE@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
"Daniel O'Connor" <doconnor@gsoft.com.au> wrote:
> On 23/08/2010, at 1:24, Xin LI wrote:
> > 2010/8/7 Dag-Erling Sm?rgrav <des@des.no>:
> >> Xin LI <delphij@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4c723f55.IHXUYM9HTnD6uCPO%perryh>