Jump to content


Better atl2 driver, now even patchable into kernel source


3 replies to this topic

#1 Crast

    Member

  • Members
  • 17 posts

Posted 08 December 2007 - 06:51 PM

I was having various problems compiling the L2-driver-new.rar driver, as it was using a lot of deprecated functionality in the kernel, and I'm running a bleeding edge 2.6.23.8 kernel with new linux-headers. I tried fixing it by fixing some struct pointers to be the updated ones as per the headers, but still was having issues.

Luckily, Chris Snook has done the work of cleaning up the drivers, and has put sources up on his website:
http://people.redhat.com/csnook/atl2/

I found it from this lwn article: http://lwn.net/Articles/260990/


Here's how you can get it installed, if you're irritated at the shoddy 'official' L2 driver.
This assumes you have your kernel sources at /usr/src/linux and are familiar with building kernels.

mkdir /usr/src/eee
cd /usr/src/eee
wget http://people.redhat.com/csnook/atl2/atl2-2.0.1.patch.bz2
cd /usr/src/linux
bzcat ../eee/atl2-2.0.1.patch.bz2 |patch -p1
Now go into your kernel config and at the bottom of the 10/100 ethernet drivers section, you will find the atl2 driver. I built it as module, and it works, udev even modprobed it automatically :) It works, though I haven't stress tested it much. Just thought I'd share.

Edited by Crast, 08 December 2007 - 06:52 PM.


#2 pSimon

    New member

  • Members
  • 3 posts

Posted 09 December 2007 - 03:37 PM

Thanks

Works nicely on SuseEee

#3 elesueur

    New member

  • Members
  • 2 posts

Posted 01 October 2008 - 02:21 AM

I have an eeepc 901, NIC also based on the atl2, however neither this driver nor this: http://www.gossamer-...x/kernel/973141 actually work.
They both have an incorrect device id, and after correcting that, the device is detected. However when I try to bring it up, the kernel says the link isn't ready.

Has anyone compiled this driver with a 2.6.24.4 kernel and got it working? I would prefer to not go to a new version of the kernel.

thanks!

#4 elesueur

    New member

  • Members
  • 2 posts

Posted 01 October 2008 - 03:03 AM

ah ha... it turns out that the newer atom based eeepc's need the atl1e driver... then all works perfectly.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users