Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 193811 Details for
Bug 254234
sunhme does not work
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
jwltest-sunhme-fixes.patch
jwltest-sunhme-fixes.patch (text/plain), 1.52 KB, created by
John W. Linville
on 2007-09-12 19:01:22 UTC
(
hide
)
Description:
jwltest-sunhme-fixes.patch
Filename:
MIME Type:
Creator:
John W. Linville
Created:
2007-09-12 19:01:22 UTC
Size:
1.52 KB
patch
obsolete
>commit c3b99f0db9b2ef4292ef774bae1ea0d6f1e8d82a >Author: Marcel van Nies <morcles@gmail.com> >Date: Sat Apr 21 15:34:55 2007 -0700 > > [SUNHME]: Fix module unload. > > Signed-off-by: Marcel van Nies <morcles@gmail.com> > Signed-off-by: David S. Miller <davem@davemloft.net> > >commit ef9467f8f0803881d6b20ad6f0f770fc39bcc2c2 >Author: Jurij Smakov <jurij@wooyd.org> >Date: Sun Dec 3 19:33:02 2006 -0800 > > [SUNHME]: Fix for sunhme failures on x86 > > The following patch fixes the failure of sunhme drivers on x86 hosts > due to missing pci_enable_device() and pci_set_master() calls, lost > during code refactoring. It has been filed as bugzilla bug #7502 [0] > and Debian bug #397460 [1]. > > [0] http://bugzilla.kernel.org/show_bug.cgi?id=7502 > [1] http://bugs.debian.org/397460 > > Signed-off-by: Jurij Smakov <jurij@wooyd.org> > Signed-off-by: David S. Miller <davem@davemloft.net> > >--- linux-2.6.18.noarch/drivers/net/sunhme.c.orig 2006-09-19 23:42:06.000000000 -0400 >+++ linux-2.6.18.noarch/drivers/net/sunhme.c 2007-09-12 14:23:08.000000000 -0400 >@@ -3012,6 +3012,11 @@ > #endif > > err = -ENODEV; >+ >+ if (pci_enable_device(pdev)) >+ goto err_out; >+ pci_set_master(pdev); >+ > if (!strcmp(prom_name, "SUNW,qfe") || !strcmp(prom_name, "qfe")) { > qp = quattro_pci_find(pdev); > if (qp == NULL) >@@ -3308,7 +3313,7 @@ > struct happy_meal *hp = dev_get_drvdata(&dev->dev); > struct net_device *net_dev = hp->dev; > >- unregister_netdevice(net_dev); >+ unregister_netdev(net_dev); > > /* XXX qfe parent interrupt... */ >
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 254234
: 193811