Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 Feb 2009 18:35:43 -0800
From:      Sam Leffler <sam@freebsd.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Super I/O driver [generic gpio driver]
Message-ID:  <498CF37F.2060704@freebsd.org>
In-Reply-To: <498C2EA0.6080604@icyb.net.ua>
References:  <498C2EA0.6080604@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
Andriy Gapon wrote:
> Do we have any drivers for special functions provided by ISA/LPC Super
> I/Os. I mean many of them have watchdog capabilities, GPIO, etc. I do
> not meant fdc, lpt, sio/uart and hwm which are 9or can be) handled as
> the devices of their own.
>
> I have some quite hairy code for Winbond W83977EF that provides watchdog
> and led interfaces (the latter is for power led).
> I'd like to understand what is the best/canonical way to access
> superio's ports, enter configuration mode, etc.
> Also, it would be interesting to see how various configurations/wirings
> of the same superio could be handled.
>
> I looked at some Linux drivers but their coding ways are quite different
> and they typically handle only one wiring type (probably the one that
> was found on author's motherboard).
>
> I also would be interested in a general discussion on this topic (superios).
>
> BTW, do we have some interface to userland or GPIO? Something similar to
> led(4), but more generic (and supporting 'I' as well 'O').
>   

There's been some discussion amongst embedded folks but nothing yet.  I 
noticed openbsd commit something recently but don't know if we can reuse 
anything they've done.

    Sam





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?498CF37F.2060704>