lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 22 Jul 2006 23:21:41 -0400
From:	Eric Lammerts <eric@...merts.org>
To:	Chris Boot <bootc@...tc.net>
Cc:	kernel list <linux-kernel@...r.kernel.org>,
	soekris-tech@...ts.soekris.com
Subject: Re: [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.

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ