sky2: edge triggered workaround enhancement
authorStephen Hemminger <shemminger@osdl.org>
Mon, 8 May 2006 22:11:30 +0000 (15:11 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Mon, 8 May 2006 23:00:27 +0000 (16:00 -0700)
commit01bd75645f94d49cb7ffd61022890166ce00ec2a
tree1148546fc434c3e8f5de04a9be9aced7d4d11ff1
parentcb5d9547307f44f210f88c829bad4249eeb24bc3
sky2: edge triggered workaround enhancement

Need to make the edge-triggered workaround timer faster to get marginally
better peformance. The test_and_set_bit in schedule_prep() acts as a barrier
already. Make it a module parameter so that laptops who are concerned
about power can set it to 0; and user's stuck with broken BIOS's
can turn the driver into pure polling.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
drivers/net/sky2.c