summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_input.c
diff options
context:
space:
mode:
authorstephen hemminger2011-09-23 13:13:40 +0200
committerDavid S. Miller2011-09-27 06:51:06 +0200
commit0bdb0bd0139f3b6afa252de1487e3ce82a494db9 (patch)
tree7aef2da8ad51fa6766cec0f6e59d045c7e8ae4ee /net/ipv4/tcp_input.c
parentpch_gbe: remove unused variable (diff)
downloadkernel-qcow2-linux-0bdb0bd0139f3b6afa252de1487e3ce82a494db9.tar.gz
kernel-qcow2-linux-0bdb0bd0139f3b6afa252de1487e3ce82a494db9.tar.xz
kernel-qcow2-linux-0bdb0bd0139f3b6afa252de1487e3ce82a494db9.zip
sky2: manage irq better on single port card
Most sky2 hardware only has a single port, although some variations of the chip support two interfaces. For the single port case, use the standard Ethernet driver convention of allocating IRQ when device is brought up rather than at probe time. Also, change the error handling of dual port cards so that if second port can not be brought up, then just fail. No point in continuing, since the failure is most certainly because of out of memory. The dual port sky2 device has a single irq and a single status ring, therefore it has a single NAPI object shared by both ports. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions