Re: [RFC][PATCH] LED Class support for Soekris net48xx

From: Eric Lammerts
Date: Tue Jul 25 2006 - 21:32:04 EST


Chris Boot wrote:
Eric Lammerts wrote:
char *bios = __va(0xf0000);

for(i = 0; i < 0x10000 - 19; i++) {

Hmm, very ugly indeed! Where did you dig those offsets up from? Are they likely to work properly in non-Soekris devices?

That's where the standard PC BIOS ROM is located (0xf0000-0xfffff). I use the same kernel on normal PC mainboards too and haven't seen any problems so far.

Eric
-
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/