Oznameni: Patch na CDMA modem GPC-2460
Petr Pisar
xpisar na fi.muni.cz
Pátek Září 3 17:16:23 CEST 2004
Cyber-Duracel napsal(a):
> DD,
> na 2.4.27 to nejde
>
> make[2]: Entering directory `/usr/src/linux-2.4.27/drivers/usb'
> gcc -D__KERNEL__ -I/usr/src/linux-2.4.27/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
> -DMODULE -DMODVERSIONS -include
> /usr/src/linux-2.4.27/include/linux/modversions.h -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=acm -c -o acm.o acm.c
> acm.c:76: parse error before `ushort'
> acm.c:76: warning: type defaults to `int' in declaration of `module_param'
> acm.c:76: warning: function declaration isn't a prototype
> acm.c:76: warning: data definition has no type or storage class
> make[2]: *** [acm.o] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.27/drivers/usb'
> make[1]: *** [_modsubdir_usb] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.27/drivers'
> make: *** [_mod_drivers] Error 2
>
> co s tim
Opraveno (v rade 2.4 se LKM parametry definuji jinak nez ve 2.6),
vyzkousejte novy patch (je to soubor verze 2
http://aisa.fi.muni.cz/~xpisar/cdma/acm.c.patch-2.4.27-qualcomm-2)
Ted jsem to zkousel na 2.4.27 a _mne_ to jede. Kdyby nekomu ne, nevahejte a
napiste.
BTW mam stejne pocit, ze vic, jak 480 kbps s toho nedostanu ani s patchem a
to mam dle modemu plny signal. Lepsi to ale neni ani na Widlich, takze sit
je uz asi saturovana.
Dekuji za reporty.
--Petr
Další informace o konferenci Linux