Linked from http://www.2beanet.com/
How to drive attansic L2 100/100 Fast Ethernet under fc7
Summary:
For personal use, I DIY a personal computer, the main board is from ASUS, integrated with attansic L2 10/200 fast Ethernet, the seller provided with the device drive for Windows series, but I want to install it with Linux which is fedore core 7, what a pity, the network card has not been supported be default installation, and then Google ......
Solveing the problem:
I downloaded L2-linux-driver_new.rar from Internet, unpacked it under Windows XP, and then copy all the files into fc7, compile it, errors appeared:
[Root @ localhost SRC] # Make
Make-C/lib/modules/2.6.21/build subdirs =/home/mark/net_driver/L2-linux-driver_new/src modules
Make [1]: Entering directory '/usr/src/linux-2.6.21'
CC [m]/home/mark/net_driver/L2-linux-driver_new/src/at_main.o
/Home/mark/net_driver/L2-linux-driver_new/src/at_main.c: In function 'at _ vlan_rx_kill_vid ':
/Home/mark/net_driver/L2-linux-driver_new/src/at_main.c: 1490: Error: 'struct vlan_group 'has no member named' VLAN _ devices'
/Home/mark/net_driver/L2-linux-driver_new/src/at_main.c: In function 'at _ restore_vlan ':
/Home/mark/net_driver/L2-linux-driver_new/src/at_main.c: 1511: Error: 'struct vlan_group 'has no member named' VLAN _ devices'
Make [2]: *** [/home/mark/net_driver/L2-linux-driver_new/src/at_main.o] Error 1
Make [1]: *** [_ module _/home/mark/net_driver/L2-linux-driver_new/src] Error 2
Make [1]: Leaving directory '/usr/src/linux-2.6.21'
Make: *** [Default] Error 2
And then I opened at_main.c file, found two debug functions:
At_vlan_rx_kill_vid
At_restore_vlan
Drop the content of the functions, return directly.
Compile again, passed!
Then
# Make install
Reboot
# Ifconfig
OK, you cocould see the device eth0 ......