[lkml]   [2006]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC][PATCH] LED Class support for Soekris net48xx
Chris Boot wrote:
> I'd love to find a way of detecting a Soekris net48xx device
> but there is no DMI or any Soekris-specific PCI devices.

You could do ugly things like this:

int i;
char *bios = __va(0xf0000);

for(i = 0; i < 0x10000 - 19; i++) {
if(memcmp(bios + i, "Soekris Engineering", 19) == 0) {
printk("soekris string found at 0x%x\n", i);

The string "net4801" is also in there (although I'm using a 4826).

If anyone knows a better way, I'd like to know it too.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-07-23 05:27    [W:0.079 / U:0.064 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site