--- drivers/net/tg3.c.~1~ Mon Feb 25 17:50:17 2002
+++ drivers/net/tg3.c Tue Feb 26 06:58:39 2002
@@ -4424,12 +4424,20 @@
if (grc_misc_cfg != GRC_MISC_CFG_BOARD_ID_5700 &&
grc_misc_cfg != GRC_MISC_CFG_BOARD_ID_5701 &&
grc_misc_cfg != GRC_MISC_CFG_BOARD_ID_5703 &&
- grc_misc_cfg != GRC_MISC_CFG_BOARD_ID_5703S)
+ grc_misc_cfg != GRC_MISC_CFG_BOARD_ID_5703S) {
+ printk("DEBUG: Yikes grc_misc_cfg is %08x\n",
+ grc_misc_cfg);
return -ENODEV;
+ }
err = tg3_phy_probe(tp);
- if (!err)
+ if (err)
+ printk("DEBUG: phy_probe returns with %d\n", err);
+ if (!err) {
err = tg3_read_partno(tp);
+ if (err)
+ printk("DEBUG: read_partno returns with %d\n", err);
+ }
if (tp->phy_id == PHY_ID_SERDES) {
tp->tg3_flags &= ~TG3_FLAG_USE_PHY_IRQ;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/