]> git.hungrycats.org Git - linux/commit
[netdrvr 3c527] remove cli/sti
authorFelipe Damasio <felipewd@terra.com.br>
Sat, 10 Jan 2004 09:16:36 +0000 (04:16 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Sat, 10 Jan 2004 09:16:36 +0000 (04:16 -0500)
commite958d4a0b3488081b7a7b5710a87603eee6deb7f
tree534211737dacec5b0b0200dddf575c7cf2dbd1fe
parent4576b4fa6948c61818252abc141758967d2447c9
[netdrvr 3c527] remove cli/sti

    Richard Procter and I worked to remove cli/sti to add proper SMP support (I did the original stuff and Richard did the actual current code :)).

    Besides that, Richard did a great jog improving the perfomance of the driver quite a bit:

    - Improve mc32_command by 770% (438% non-inlined) over the semaphore version (at a cost of 1 sem + 2 completions per driver).

    - Removed mutex covering mc32_send_packet (hard_start_xmit). This lets the interrupt handler operate concurrently and removes unnecessary locking. It makes the code only slightly more brittle

    Original post:

http://marc.theaimsgroup.com/?l=linux-netdev&m=106438449315202&w=2

    Since it didn't apply cleanly against 2.6.0-test6, I forward ported it. Patch attached.

    Jeff, please consider applying,

    Thanks.
drivers/net/3c527.c