5 Jun 2007 20:29
at76c503a crashes on 2.6.21.3
<alupu <at> verizon.net>
2007-06-05 18:29:58 GMT
2007-06-05 18:29:58 GMT
Hello,
i686-pc-linux-gnu 2.6.21.3,
gcc 4.1.2, glibc 2.5, udev 111
at76c503a-0.13.tar.gz
(md5sum: d34f6c8c4a790eaa5bd2cfd23f239340)
Linksys WUSB11 v2.6
In order to compile the driver at all,
I had to use three workarounds:
1. In /linux-2.6.21.3/include/linux/ added symlink
config.h -> /linux-2.6.21.3/include/config/x86/find/smp/config.h
2. In /linux-2.6.21.3/include/linux/ added symlink
devfs_fs_kernel.h -> /usr/include/linux/devfs_fs_kernel.h
3. To avoid the error:
/usr/src/at76c503a/at76c503.c:7037:38: error:
macro "INIT_WORK" passed 3 arguments,
but takes just 2,
I _alternately_ did:
3a. In 'at76c503.c' changed
"INIT_WORK (&dev->kevent, kevent, dev);"
to "INIT_WORK (&dev->kevent, kevent);"
3b. Left 'at76c503.c' unchanged and
in /linux-2.6.21.3/include/linux/ replaced
'workqueue.h' with the symlink
workqueue.h -> /usr/include/linux/workqueue.h
(Continue reading)
RSS Feed