On Sunday 27 May 2012 02:06:42 Dave Hansen wrote:
> >> A build with DEBUG=realtek:3 active should probably generate a useful
> >> log (via serial console) that would probably shed some light on things.
> > 
> > I can see what I can get off of the display, but this hardware doesn't
> > have a serial port.  Is there any other way to get a debug log out?
> 
> The log wasn't long, so I just took a snapshot:
> 
>       http://sr71.net/~dave/foo/ipxe.debug.0.JPG

Sorry for the delay; I'm working through the mailing list backlog.

If you're still interested in fixing this, could you see if either of the 
attached patches (applied individually, not both at once) fixes the driver for 
your NIC?

Thanks,

Michael
diff --git a/src/drivers/net/realtek.c b/src/drivers/net/realtek.c
index 3c7b1f8..c536993 100644
--- a/src/drivers/net/realtek.c
+++ b/src/drivers/net/realtek.c
@@ -961,7 +961,7 @@ static int realtek_probe ( struct pci_device *pci ) {
 	     ( ( rc = mii_reset ( &rtl->mii ) ) != 0 ) ) {
 		DBGC ( rtl, "REALTEK %p could not reset MII: %s\n",
 		       rtl, strerror ( rc ) );
-		goto err_mii_reset;
+		//		goto err_mii_reset;
 	}
 
 	/* Register network device */
diff --git a/src/drivers/net/realtek.c b/src/drivers/net/realtek.c
index 3c7b1f8..1a5b374 100644
--- a/src/drivers/net/realtek.c
+++ b/src/drivers/net/realtek.c
@@ -880,7 +880,7 @@ static void realtek_detect ( struct realtek_nic *rtl ) {
 	/* Detect device type */
 	if ( check_rms == rms ) {
 		DBGC ( rtl, "REALTEK %p appears to be an RTL8169\n", rtl );
-		rtl->have_phy_regs = 1;
+		//		rtl->have_phy_regs = 1;
 		rtl->tppoll = RTL_TPPOLL_8169;
 	} else {
 		if ( check_cpcr == cpcr ) {
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Reply via email to