Re: f71805f arch dependencies?

From: Dean Nelson
Date: Fri Jun 01 2012 - 15:43:29 EST


On 06/01/2012 08:23 AM, Geert Uytterhoeven wrote:
On Fri, Jun 1, 2012 at 3:12 PM, Meelis Roos<mroos@xxxxxxxx> wrote:
Loading f71805f on sparc64 causes hard reboot beacuse on invalid
hardware access. Should this driver be restricted to PC, or some wider
subset of platforms where this LPC SUper-IO chip is present?

Which tree is f71805f in? Not in Linus'.

Running upstream 3.4.0-09547-gfb21aff and it is there as
SENSORS_F71805F.

In fact, there are more LPC hwmon drivers that people can use to "shoot
themselves in the leg" - SMSC LPC*, SMSC SCH*, SMSC DME1737 (partly I2C,
partly ISA IO), and Fintek F71882FG and compatibles. Maybe more.

Sorry, I thought it was a git SHA1 commit ID.
Didn't know hardware manufacturers christen their chips to the abbreviated
commit ID in their VHDL repository ;-)

Indeed, it seems commit 746cdfbf01c0a30d59f6e1b6942d432658d7c7cd
("hwmon: Avoid building drivers for powerpc that read/write ISA addresses")
was a bit too limited...

I lack the hardware expertise to take the SENSORS_ Kconfig changes any
further than I did. As it was, I got much direction from Jean in what I
did do.

So feel free to take it further as you (or whomever) sees fit.

Thanks,
Dean



Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/