Hello,

I have been trying to figure out how the fast switching modifications to
the tulip driver work. As I understand it this is an experimental
feature in the Linux kernel. The main problem is it won't compile, there
are many errors one of the first being a warning for using the old pci
interface from including bios32.h. Is there anyone out there who knows
where documentation exists or who wrote this stuff?

The driver is called tulip-recycle.c and below is a listing of the
errors when I try to compile it as a module, but I get the same errors
when I try to compile it into the kernel. For simplicity I just changed
the name of the tulip-recycle.c to tulip.c so any reference to tulip.c
in the following listing actually refers to tulip-recycle.c.  The kernel
I am making this with is 2.2.14 and the following listing is from
compiling it as part of the kernel. Any help would be appreciated!

make[3]: Entering directory `/home/becker/linux/drivers/net'
gcc -D__KERNEL__ -I/home/becker/linux/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce
-m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=686   -c
-o tulip.o tulip.c
In file included from tulip.c:85:
/home/becker/linux/include/linux/bios32.h:11: warning: #warning This
driver uses the old PCI interface, please fix it (see
Documentation/pci.txt)
tulip.c:2374: #error Code is wrong, and it has nothing to do with 2.2
:-)
tulip.c:2478: macro `dev_kfree_skb' used with too many (2) args
tulip.c:2483: macro `dev_kfree_skb' used with too many (2) args
tulip.c:47: warning: type defaults to `int' in declaration of
`rx_copybreak'
tulip.c: In function `tulip_recycle_skb':
tulip.c:446: structure has no member named `type'
tulip.c:447: structure has no member named `type'
tulip.c:453: too many arguments to function `kfree_skb'
tulip.c: In function `tulip_probe':
tulip.c:492: warning: suggest explicit braces to avoid ambiguous `else'
tulip.c: In function `tulip_probe1':
tulip.c:591: warning: type defaults to `int' in declaration of `type
name'
tulip.c: In function `parse_eeprom':
tulip.c:819: warning: type defaults to `int' in declaration of
`controller_index'
tulip.c: In function `tulip_fast_forward':
tulip.c:2210: structure has no member named `type'
make[3]: *** [tulip.o] Error 1
make[3]: Leaving directory `/home/becker/linux/drivers/net'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/home/becker/linux/drivers/net'
make[1]: *** [_subdir_net] Error 2
make[1]: Leaving directory `/home/becker/linux/drivers'
make: *** [_dir_drivers] Error 2


-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to