Skip to contentSkip to conversation

Splitted lasi_82596 driver

parisc-linux Helge Deller 2 participants 2 messages Apr 21, 2007 – Apr 22, 2007 2 messages not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi Thomas,

Quoted 10 lines · Thomas Bogendoerfer

as I needed a 82596 driver for a machine (SNI RM400), I took lasi_82596.c, cloned it and made it working on that machine. But I don't think it's a good idea to have another clone of 82596.c in linux, therefore I splitted my cloned driver and took the lasi parts to get one major file (lib82596.c) and two hardware specific parts (lasi_82596.c and sni_82596.c), which just holds the hardware things of the driver. This "new" driver works now on the RM400, so it's time to test it on parisc hardware. Unfortunatly my machines with lasi82596 are stored away, so I'm looking for someone, who is willing to try the patch below and give me feedback.

Tests sucessfully passed on my B160L :-)

Quoted 2 lines

Are there any other things, which should be improved in the driver, before I'm going to submit this driver ?

Some basic ethtool support would be a nice-to-have. E.g. name/driver name/Available speeds/link up&down/...

Greetings,
Helge
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux

#3 lore raw
In reply to a message not in the archive
Quoted 1 line · Helge Deller

Tests sucessfully passed on my B160L :-)

thanks for testing.

I did some more changes, so I could use it wie coherent dma memory on the SNI machines (otherwise I would have to pad all descriptors to 64bytes, because of the 64 byte L2 cacheline size on the R4400 bases machines). I've testet this version on my B132L and it's working like the unmodified driver.

Quoted 5 lines
Quoted 2 lines

Are there any other things, which should be improved in the driver, before I'm going to submit this driver ?

Some basic ethtool support would be a nice-to-have. E.g. name/driver name/Available speeds/link up&down/...

no problem, as there are basically static values. Even link detection would be more or less a "return some_old_state", because the hardware does only link monitoring during transmits.

My current plan is to submit the changes for inclusion into 2.6.22 and do enhancments after that.

Thomas.

Signature · 2 lines
Crap can work. Given enough thrust pigs will fly, but it's not necessary a
good idea.                                                [ RFC1925, 2.3 ]