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 290662 Details for
Bug 384981
b43legacy hangs with BCM4303 (rev 02)
[?]
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.
Add device software state
ssb-add-enable-swstate.patch (text/x-diff), 1.81 KB, created by
Michael Buesch
on 2008-01-02 15:04:27 UTC
(
hide
)
Description:
Add device software state
Filename:
MIME Type:
Creator:
Michael Buesch
Created:
2008-01-02 15:04:27 UTC
Size:
1.81 KB
patch
obsolete
>Index: wireless-2.6/drivers/ssb/main.c >=================================================================== >--- wireless-2.6.orig/drivers/ssb/main.c 2007-12-08 22:47:34.000000000 +0100 >+++ wireless-2.6/drivers/ssb/main.c 2008-01-02 15:59:56.000000000 +0100 >@@ -946,6 +946,8 @@ void ssb_device_enable(struct ssb_device > ssb_write32(dev, SSB_TMSLOW, SSB_TMSLOW_CLOCK | > core_specific_flags); > ssb_flush_tmslow(dev); >+ >+ dev->enabled = 1; > } > EXPORT_SYMBOL(ssb_device_enable); > >@@ -979,6 +981,10 @@ void ssb_device_disable(struct ssb_devic > { > u32 reject; > >+ if (!dev->enabled) >+ return; >+ >+ dev->enabled = 0; > if (ssb_read32(dev, SSB_TMSLOW) & SSB_TMSLOW_RESET) > return; > >Index: wireless-2.6/include/linux/ssb/ssb.h >=================================================================== >--- wireless-2.6.orig/include/linux/ssb/ssb.h 2007-12-08 22:47:34.000000000 +0100 >+++ wireless-2.6/include/linux/ssb/ssb.h 2008-01-02 15:56:37.000000000 +0100 >@@ -117,6 +117,13 @@ struct ssb_device { > struct ssb_device_id id; > > u8 core_index; >+ >+ /* Is this device enabled by ssb_device_enable()? >+ * Note that some devices are always enabled in hardware and we don't >+ * need to enable these in software explicitely. So this variable would >+ * be false for such devices. */ >+ bool enabled; >+ > unsigned int irq; > > /* Internal-only stuff follows. */ >@@ -305,7 +312,9 @@ extern void ssb_bus_unregister(struct ss > > extern u32 ssb_clockspeed(struct ssb_bus *bus); > >-/* Is the device enabled in hardware? */ >+/* Is the device enabled in hardware? >+ * Note that this does check the _hardware_ status by reading it directly >+ * from hardware. This ignores the dev->enabled value. */ > int ssb_device_is_enabled(struct ssb_device *dev); > /* Enable a device and pass device-specific SSB_TMSLOW flags. > * If no device-specific flags are available, use 0. */
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 Raw
Actions:
View
Attachments on
bug 384981
:
260051
|
285841
|
289736
|
289737
|
289739
|
290296
|
290653
|
290654
|
290662
|
293058
|
293059
|
298154
|
298194
|
298210
|
298595
|
301430
|
301806
|
301817
|
302013
|
302273
|
308869