Subject: add avr32 support Signed-off-by: Matteo Vit - Dave S.r.l. --- diff -uprN -X tslib.exclude tslib-1.0.orig/config.sub tslib-1.0/config.sub --- tslib-1.0.orig/config.sub 2007-09-11 16:02:07.000000000 +0200 +++ tslib-1.0/config.sub 2007-08-24 11:54:20.000000000 +0200 @@ -230,7 +230,7 @@ case $basic_machine in | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \ | am33_2.0 \ - | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \ + | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \ | c4x | clipper \ | d10v | d30v | dlx | dsp16xx \ | fr30 | frv \ @@ -297,7 +297,7 @@ case $basic_machine in | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \ - | avr-* \ + | avr-* | avr32-* \ | bs2000-* \ | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \ | clipper-* | craynv-* | cydra-* \ diff -uprN -X tslib.exclude tslib-1.0.orig/plugins/input-raw.c tslib-1.0/plugins/input-raw.c --- tslib-1.0.orig/plugins/input-raw.c 2006-08-24 23:02:54.000000000 +0200 +++ tslib-1.0/plugins/input-raw.c 2007-09-11 16:04:33.000000000 +0200 @@ -49,7 +49,7 @@ static int check_fd(struct tslib_input * struct tsdev *ts = i->module.dev; int version; u_int32_t bit; - u_int64_t absbit; + u_int32_t absbit; if (! ((ioctl(ts->fd, EVIOCGVERSION, &version) >= 0) && (version == EV_VERSION) &&