]> git.baikalelectronics.ru Git - kernel.git/commit
sky2: prevent dual port receiver problems
authorStephen Hemminger <shemminger@osdl.org>
Thu, 11 May 2006 22:07:28 +0000 (15:07 -0700)
committerStephen Hemminger <shemminger@osdl.org>
Mon, 15 May 2006 19:35:01 +0000 (12:35 -0700)
commit737061f3caf13bde0401a7ba3731dbd19e3725b1
tree635b032413590677e32b968e4c301bac3d7af554
parent538bd095b33ac653a2edb42edde347722f6c2bd8
sky2: prevent dual port receiver problems

When both ports are receiving simultaneously, the receive logic gets confused
and may pass up a packet before it is full. This causes hangs, and IP will see
lots of garbage packets. There is even the potential for data corruption if
a later arriving packet DMA's into freed memory.

It looks like a hardware bug because status arrives for a packet but no
data is there. Until this bug is worked out, block the user from bringing
up both ports at once.

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