Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 May 2005 14:46:19 +0300
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        walter@pelissero.de
Cc:        hackers@freebsd.org
Subject:   Re: WRAP.1E and geode.c 
Message-ID:  <E1DZSQu-000Iph-35@cs1.cs.huji.ac.il>
In-Reply-To: Your message of Fri, 20 May 2005 03:05:06 %2B0200 .

next in thread | raw e-mail | index | archive | help
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);
                     }
                }
-       }
-




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1DZSQu-000Iph-35>