Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 135255 Details for
Bug 197561
forcedeth / MCP55 Issues - freezes on boot after detecting NIC
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
debug patch
forcedeth.patch (text/plain), 1.60 KB, created by
Daniel Drake (RETIRED)
on 2007-11-05 16:30:48 UTC
(
hide
)
Description:
debug patch
Filename:
MIME Type:
Creator:
Daniel Drake (RETIRED)
Created:
2007-11-05 16:30:48 UTC
Size:
1.60 KB
patch
obsolete
>Index: linux-2.6.23-gentoo/drivers/net/forcedeth.c >=================================================================== >--- linux-2.6.23-gentoo.orig/drivers/net/forcedeth.c >+++ linux-2.6.23-gentoo/drivers/net/forcedeth.c >@@ -153,7 +153,7 @@ > #include <asm/uaccess.h> > #include <asm/system.h> > >-#if 0 >+#if 1 > #define dprintk printk > #else > #define dprintk(x...) do { } while (0) >@@ -5278,8 +5278,10 @@ static int __devinit nv_probe(struct pci > np->mac_in_use = readl(base + NvRegTransmitterControl) & NVREG_XMITCTL_MGMT_ST; > dprintk(KERN_INFO "%s: mgmt unit is running. mac in use %x.\n", pci_name(pci_dev), np->mac_in_use); > for (i = 0; i < 5000; i++) { >+ dprintk(KERN_INFO "in loop, i=%d\n", i); > msleep(1); > if (nv_mgmt_acquire_sema(dev)) { >+ dprintk(KERN_INFO "acquired sema\n"); > /* management unit setup the phy already? */ > if ((readl(base + NvRegTransmitterControl) & NVREG_XMITCTL_SYNC_MASK) == > NVREG_XMITCTL_SYNC_PHY_INIT) { >@@ -5287,6 +5289,7 @@ static int __devinit nv_probe(struct pci > phyinitialized = 1; > dprintk(KERN_INFO "%s: Phy already initialized by mgmt unit.\n", pci_name(pci_dev)); > } else { >+ dprintk(KERN_INFO "we need to init phy\n"); > /* we need to init the phy */ > } > break; >@@ -5295,10 +5298,12 @@ static int __devinit nv_probe(struct pci > } > } > >+ dprintk(KERN_INFO "now look for phy\n"); > /* find a suitable phy */ > for (i = 1; i <= 32; i++) { > int id1, id2; > int phyaddr = i & 0x1F; >+ dprintk(KERN_INFO "in phy loop, i=%d\n", i); > > spin_lock_irq(&np->lock); > id1 = mii_rw(dev, phyaddr, MII_PHYSID1, MII_READ);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 197561
:
134747
|
134749
|
134750
| 135255