First I use patch -i patch-20070702 to agrsm alpha
I use make modules and get the error:
serial26.c:2045: error: 'UPF_BOOT_ONLYMCA' undeclared (first use in this
function)
And I comment the line 2045:
if (up->port.flags & UPF_BOOT_ONLYMCA && !MCA_bus)
is now:
//if (up->port.flags & UPF_BOOT_ONLYMCA && !MCA_bus)
And I get compiled sucess
I use sudo modprobe agrmodem and sudo modprobe agrserial
I type dmesg | grep agr and get the messases:
agrmodem: module license 'Proprietary' taints kernel.
agrsm: created 0 infos
agrserial: Loading module Agere Modem Interface driver version
2.1.60.0.Linspire (2005-11-16)
Same whithout modem hardware because I'm using a Virtual Machine
(Virtual Box) with Ubuntu Feisty instaled.
I think is best use to the code:
#if LINUX_VERSION_CODE < KERNEL_VERSION (2, 6, 19)
if (up->port.flags & UPF_BOOT_ONLYMCA && !MCA_bus)
return
#endif
correct?