igb: Fix panic with NICs with 1000BASE-SX PHY
authorBill Hayes <bill.hayes@hp.com>
Tue, 19 Feb 2008 18:24:41 +0000 (10:24 -0800)
committerJeff Garzik <jeff@garzik.org>
Sun, 24 Feb 2008 04:57:49 +0000 (23:57 -0500)
commit68707acb5b5d4e2b7583cbff0883516afed54d4f
treed8878f6e3e94999f9ccf67547e591ad844d85834
parentcf7822983f21617b805712eec46eb31058508d6a
igb: Fix panic with NICs with 1000BASE-SX PHY

This patch eliminates a kernel panic with the igb driver in 2.6.25-rc2 when
running on a Intel 82575 Ethernet controller with a 1000BASE-SX PHY.  The
panic does not happen with the 1000BASE-T PHY, only with a SX connection.

Signed-off-by: Bill Hayes <bill.hayes@hp.com>
Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/igb/igb_main.c