Re: [BETA] First test release of Tigon3 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



   From: Thomas Langås <tlan@stud.ntnu.no>
   Date: Tue, 26 Feb 2002 14:57:30 +0100
   
   tg3.c:v0.90 (Feb 25, 2002)
   tg3: Problem fetching invariants of chip, aborting.
   
Please apply this patch and tell me what it spits
out, thanks.

--- 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;
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux