Subject: Re: sys/arch/sparc/dev/ts102.c
To: Michael <macallan18@earthlink.net>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: port-sparc
Date: 07/12/2005 18:40:48
On Tue, 12 Jul 2005, Michael wrote:

> Hello,
>
>> I think we're compiling with -Werror? Anyway, on line 760 "i" is
>> declared as an int but it's not used if NTCTRL <= 0 (there's an
>> ifdef).
>> That breaks the build and I haven't looked into what NTCTRL is yet.
>
> Fixed it.
>
> NTCTRL is declared when the tctrl driver which talks to the SPARCbook's
> microcontroller is compiled in, as far as I can tell there is no
> hardware that has a ts102 but no tctrl ( in fact the microcontroller
> interface is on the same chip as the PCMCIA bridge, they have only
> separate entries in the device tree )
>
> Which kernel did you try to compile? GENERIC has both tctrl and tslot so
> NTCTRL should be 1 and the build should succeed.

Oh, it was either the one I have pared down for my SS5 or the one I have
pared down for my 'classic. My BriteLite is still in pieces.

Thanks!

-- 
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte