Larry Baird writes: > In article <[EMAIL PROTECTED]> you wrote: > > Reading geode.c it appears (at least to me) that the led devices are > > created for the WRAP.1C but not for the WRAP.1E. > > > > Reading the PC-Engines documentation it looks to me as WRAP.1C and > > WRAP1.E were identical when it comes to the LEDs, thus it would be > > nice to have the same entries in /dev. > > > > Anyone with a better understanding of this platform cares to comment > > on this? > The BIOS id string on the wrap board has changed. Following patch > for geode.c should fix the problem. > > Larry > > --- geode.c.orig Fri May 20 09:41:06 2005 > +++ geode.c Fri May 20 09:42:09 2005 > @@ -145,7 +145,8 @@ > led1b = 20; > led1 = led_create(led_func, &led1b, "error"); > } else if (NULL != > - bios_string(0xf9000, 0xf9000, "PC Engines WRAP.1C ", 0)) { > +#define WRAP_BIOS_SIGNATURE "PC Engines WRAP" > + bios_string(0xf9000, 0xf9000, WRAP_BIOS_SIGNATURE, > sizeof(WRAP_BIOS_SIGNATURE - 1))) { > printf("PC Engines WRAP.1C platfrom\n"); > led1b = -2; > led2b = -3;
Are you sure about that? Suspecting my original guessing was wrong, I took the time, while my message was put on hold by the moderator, to make some experiments. I changed the aforementioned string into: "PC Engines WRAP" and then "PC Engines" but no luck. So either the string changed address or it's something totally different from the original. -- walter pelissero http://www.pelissero.de _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"