Errors when building usb ethernet driver for new kernel
I have an existing driver that works on fedora-14 kernel (22.214.171.124). I need to rebuild it to run on the fedora-17 kernel (3.4.0). Driver is named qf9700 and is for a USB-NIC 10/100BT. When I build, I receive this error:
Building QF9700 USB2NET chip driver...
make: Entering directory `/usr/src/kernels/3.3.7-1.fc17.i686'
make: warning: jobserver unavailable: using -j1. Add `+' to parent make rule.
CC [M] /home/yossi/rpmbuild/BUILD/qf9700-kmod-1.0.0/qf9700.o
/home/yossi/rpmbuild/BUILD/qf9700-kmod-1.0.0/qf9700.c:391:2: error: unknown field 'ndo_set_multicast_list' specified in initializer
/home/yossi/rpmbuild/BUILD/qf9700-kmod-1.0.0/qf9700.c:391:2: warning: initialization from incompatible pointer type [enabled by default]
/home/yossi/rpmbuild/BUILD/qf9700-kmod-1.0.0/qf9700.c:391:2: warning: (near initialization for 'qf9700_netdev_ops.ndo_set_config') [enabled by default]
make: *** [/home/yossi/rpmbuild/BUILD/qf9700-kmod-1.0.0/qf9700.o] Error 1
make: *** [_module_/home/yossi/rpmbuild/BUILD/qf9700-kmod-1.0.0] Error 2
make: Leaving directory `/usr/src/kernels/3.3.7-1.fc17.i686'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.s7Hd83 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.s7Hd83 (%build)
It seems that something may have changed between the kernel versions that is the cause of this. Anybody know what this might be and how to fix it?