Am Montag, den 21.12.2009, 16:52 +0100 schrieb Luc Verhaegen:
if ((gpio < 0) || (gpio > 31)) {
if ((gpio < 0) || (gpio > 0x40)) {
Sorry, I have to reject this one too. gpio == 0x40 is most probably invalid, as it would be gpio_base + 0x100. This should read "gpio >= 0x40".
Nacked-by: Michael Karcher flashrom@mkarcher.dialup.fu-berlin.de
default:
fprintf(stderr,
"\nERROR: no nVidia LPC/SMBus controller found.\n"); return -1;
}
break;
Maybe make that error message "no supported nVidia LPC/SMBus controller found.\n"
Regards, Michael Karcher