On Fri, Apr 27, 2007 at 10:33:53PM +0200, Luc Verhaegen wrote:
> On Fri, Apr 27, 2007 at 04:44:10PM +0200, Mondrian Nuessle wrote:
> > Actually you do not need to set the index reg twice. I just used the
> > code pattern from the Agami Aruma board, which does the same thing...
> 
> In that case, we should introduce functions like:
> 
> void w83xxx_ext_enter(void);
> void w83xxx_ext_leave(void);
> 
> /* Enter extended functions before using these! */
> unsigned char w83xxx_ext_read(unsigned char index);
> void w83xxx_ext_write(unsigned char index, unsigned char data);
> void w83xxx_ext_mask(unsigned char index, unsigned char data,
>                    unsigned char mask);

Hm, not sure. Looks a bit like overkill in this case.


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org

Attachment: signature.asc
Description: Digital signature

-- 
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to