WRAP.1E and geode.c
Danny Braniss
danny at cs.huji.ac.il
Sat May 21 11:46:22 GMT 2005
you'll have to fiddel with src/sys/i386/i386/geode.c
look for
bios_string(0xf9000, 0xf9000, "PC Engines WRAP.1C "
and you will see why.
this patch should work:
--- 5.3/src/sys/i386/i386/geode.c Sun Nov 21 16:01:04 2004
+++ 5.4/src/sys/i386/i386/geode.c Wed Jun 16 12:47:07 2004
@@ -144,16 +144,9 @@
printf("Soekris Engineering NET4801 platform\n");
led1b = 20;
led1 = led_create(led_func, &led1b, "error");
- }
- else {
- const u_char *p = bios_string(0xf9000, 0xf9010, "PC
Engines", 0);
-
- if (NULL != p) {
- int n = strlen(p);
-
- if(n > 2 && p[n-2] == '\r')
- n -= 2;
- printf("%.*s\n", n, p);
+ } else if (NULL !=
+ bios_string(0xf9000, 0xf9000, "PC Engines WRAP.1C ", 0)) {
+ printf("PC Engines WRAP.1C platfrom\n");
led1b = -2;
led2b = -3;
led3b = -18;
@@ -167,8 +160,6 @@
led_func(&led1b, 1);
}
}
- }
-
More information about the freebsd-hackers
mailing list