20 Feb, 2010
1 commit
-
Some of the N PHYs need a revision in the handling of the PMU.
Signed-off-by: Larry Finger
Signed-off-by: John W. Linville
16 Feb, 2010
1 commit
-
Cc: Michael Buesch
Signed-off-by: Hauke Mehrtens
Signed-off-by: John W. Linville
09 Feb, 2010
1 commit
-
Explicitely enable shared interrupt 2 for any core that didn't get a dedicated IRQ
anymore (fallthrough case) and for EXTIF cores to make gpio interrupts work.
Also remove a bogus comment.Signed-off-by: Jochen Friedrich
Signed-off-by: John W. Linville
04 Feb, 2010
1 commit
-
This fixes a CONFIG_SSB_SDIOHOST typo.
Signed-off-by: Michael Buesch
Reported-by: Christoph Egger
Tested-By: Albert Herranz
Signed-off-by: John W. Linville
06 Dec, 2009
2 commits
-
Conflicts:
drivers/net/pcmcia/fmvj18x_cs.c
drivers/net/pcmcia/nmclan_cs.c
drivers/net/pcmcia/xirc2ps_cs.c
drivers/net/wireless/ray_cs.c -
* git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6: (50 commits)
pcmcia: rework the irq_req_t typedef
pcmcia: remove deprecated handle_to_dev() macro
pcmcia: pcmcia_request_window() doesn't need a pointer to a pointer
pcmcia: remove unused "window_t" typedef
pcmcia: move some window-related code to pcmcia_ioctl.c
pcmcia: Change window_handle_t logic to unsigned long
pcmcia: Pass struct pcmcia_socket to pcmcia_get_mem_page()
pcmcia: Pass struct pcmcia_device to pcmcia_map_mem_page()
pcmcia: Pass struct pcmcia_device to pcmcia_release_window()
drivers/pcmcia: remove unnecessary kzalloc
pcmcia: correct handling for Zoomed Video registers in topic.h
pcmcia: fix printk formats
pcmcia: autoload module pcmcia
pcmcia/staging: update comedi drivers
PCMCIA: stop duplicating pci_irq in soc_pcmcia_socket
PCMCIA: ss: allow PCI IRQs > 255
PCMCIA: soc_common: remove 'dev' member from soc_pcmcia_socket
PCMCIA: soc_common: constify soc_pcmcia_socket ops member
PCMCIA: sa1111: remove duplicated initializers
PCMCIA: sa1111: wrap soc_pcmcia_socket to contain sa1111 specific data
...
24 Nov, 2009
3 commits
-
The range check in the sprom image parser hex2sprom() is broken.
One sprom word is 4 hex characters.
This fixes the check and also adds much better sanity checks to the code.
We better make sure the image is OK by doing some sanity checks to avoid
bricking the device by accident.Signed-off-by: Michael Buesch
Cc: stable@kernel.org
Signed-off-by: John W. Linville -
The SPROM writing routines were broken since we rewrote the suspend
handling on wireless devices, because SPROM writing depended on suspend.This patch changes it and freezes devices with the driver remove(), probe()
callbacks instead. This also simplifies the whole logics a lot.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
At present, the results of an SSB core scan are only logged when
CONFIG_SSB_DEBUG is "y". As this may not be set in a distro kernel,
it is difficult interpret many problems posted in bug reports or in
help forums.Signed-off-by: Larry Finger
Signed-off-by: John W. Linville
12 Nov, 2009
1 commit
-
Conflicts:
drivers/net/wireless/iwlwifi/iwl-1000.c
drivers/net/wireless/iwlwifi/iwl-6000.c
drivers/net/wireless/iwlwifi/iwl-core.h
11 Nov, 2009
1 commit
-
The scan function was using 32 bit access which does not
work on 16bit CF cards.This patch corrects this by doing two 16 bit reads like
ssb_pcmcia_read32 already does.mb -- Removed locking. That early in init there's no need for locking.
Signed-off-by: Martin Fuzzey
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
09 Nov, 2009
1 commit
-
SSB is a prime example of how to make use of the new CIS helpers.
CC: Michael Buesch
Acked-by: John W. Linville
Signed-off-by: Dominik Brodowski
28 Oct, 2009
1 commit
-
This slightly shrinks the structure.
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
17 Sep, 2009
1 commit
-
Fix printk format warnings:
drivers/ssb/sdio.c:336: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'size_t'
drivers/ssb/sdio.c:443: warning: format '%u' expects type 'unsigned int', but argument 7 has type 'size_t'Signed-off-by: Randy Dunlap
Signed-off-by: John W. Linville
15 Sep, 2009
2 commits
-
When an SPROM revision is not recognized, the code falls back to a V1
SPROM; however, that revision is not forced in the appropriate structure.Signed-off-by: Larry Finger
Signed-off-by: John W. Linville -
Disable SDIO coreswitch debugging.
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
09 Sep, 2009
2 commits
-
Add support for communicating with a Sonics Silicon Backplane through a
SDIO interface, as found in the Nintendo Wii WLAN daughter card.The Nintendo Wii WLAN card includes a custom Broadcom 4318 chip with
a SDIO host interface.Signed-off-by: Albert Herranz
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
SSB modinit should not succeed, if busattach failed.
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
29 Aug, 2009
1 commit
-
Implement the "PMU LDO set voltage" and "PMU LDO PA ref enable"
functions, and use them during LP-PHY baseband init in b43.Signed-off-by: Gábor Stefanik
Signed-off-by: John W. Linville
20 Aug, 2009
1 commit
-
No comment. :-)
Signed-off-by: Gábor Stefanik
Signed-off-by: John W. Linville
14 Aug, 2009
1 commit
-
Also add a "SPEX32" macro for extracting 32-bit SPROM variables.
Signed-off-by: Gábor Stefanik
Signed-off-by: John W. Linville
10 Jul, 2009
1 commit
-
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (29 commits)
cxgb3: Fix crash caused by stashing wrong netdev_queue
ixgbe: Fix coexistence of FCoE and Flow Director in 82599
memory barrier: adding smp_mb__after_lock
net: adding memory barrier to the poll and receive callbacks
netpoll: Fix carrier detection for drivers that are using phylib
includecheck fix: include/linux, rfkill.h
p54: tx refused but queue active
Atheros Kconfig needs to be dependent on WLAN_80211
mac80211: fix docbook
mac80211_hwsim: avoid NULL access
ssb: Add support for 4318E
b43: Add support for 4318E
zd1211rw: adding SONY IFU-WLM2 (054c:0257) as a zd1211b device
zd1211rw: 07b8:6001 is a ZD1211B
r6040: bump driver version to 0.24 and date to 08 July 2009
r6040: restore MIER register correctly when IRQ line is shared
ipv4: Fix fib_trie rebalancing, part 4 (root thresholds)
davinci_emac: fix kernel oops when changing MAC address while interface is down
igb: set lan id prior to configuring phy
mac80211: minstrel: avoid accessing negative indices in rix_to_ndx()
...
09 Jul, 2009
2 commits
-
Added support for the Broadcom 4318E chipset on PCMCIA/CF cards. The
4318E can do 802.11A/B/G, only B and G mode are supported in b43.Signed-off-by: Clyde McPherson
Signed-off-by: Larry Finger
Signed-off-by: John W. Linville -
Commit 5fd29d6ccbc98884569d6f3105aeca70858b3e0f ("printk: clean up
handling of log-levels and newlines") changed printk semantics. printk
lines with multiple KERN_ prefixes are no longer emitted as
before the patch.is now included in the output on each additional use.
Remove all uses of multiple KERN_s in formats.
Signed-off-by: Joe Perches
Signed-off-by: Linus Torvalds
03 Jul, 2009
1 commit
-
The current ssb irq setup in ssb_mipscore_init has the problem that it
configures some device on some irq without checking that the irq is not
taken by an other device.For example in my case PCI host is on irq 0 and IPSEC on irq 3.
The current code:
- store in dev->irq that IPSEC irq is 3 + 2
- do a set_irq 0->3 on PCI hostBut now IPSEC irq is not routed anymore to the mips code and dev->irq is
wrong. This causes a problem described in [1].This patch tries to solve the problem by making set_irq configure the
device we want to take the irq on the shared irq0. The previous example
becomes:
- store in dev->irq that IPSEC irq is 3 + 2
- do a set_irq 0->3 on PCI host:
- irq 3 is already taken by IPSEC. do a set_irq 3->0 on IPSECI also added some code to print the irq configuration after irq setup to
allow easier debugging. And I add extra checking in ssb_mips_irq to report
device without irq or device with not routed irq.[1] http://www.danm.de/files/src/bcm5365p/REPORTED_DEVICES
Signed-off-by: Matthieu CASTET
Acked-by : Michael Buesch
Tested-by: Florian Fainelli
Signed-off-by: Ralf Baechle
08 Jun, 2009
1 commit
-
this patch export ssb_watchdog_timer_set to allow to use it in a Linux
watchdog driver.Signed-off-by: Matthieu CASTET
Acked-by : Michael Buesch
Signed-off-by: Ralf Baechle
28 Mar, 2009
2 commits
-
00:09.0 Network controller [0280]: Broadcom Corporation BCM4307 Ethernet Controller [14e4:4306] (rev 03)
Subsystem: Broadcom Corporation BCM4307 Ethernet Controller [14e4:4306]
Flags: bus master, fast devsel, latency 32, IRQ 10
Memory at d7000000 (32-bit, non-prefetchable) [size=8K]
Kernel driver in use: b43-pci-bridge
Kernel modules: ssbReported-by: yoann
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
ssb is not experimental anymore.
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
06 Mar, 2009
1 commit
-
This adds SSB functionality to register a fallback SPROM image from the
architecture setup code.Weird architectures exist that have half-assed SSB devices without SPROM attached to
their PCI busses. The architecture can register a fallback SPROM image that is
used if no SPROM is found on the SSB device.Signed-off-by: Michael Buesch
Cc: Florian Fainelli
Signed-off-by: John W. Linville
10 Feb, 2009
1 commit
-
This adds support for the SSB PMU.
A PMU is found on Low-Power devices.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
30 Jan, 2009
2 commits
-
This adds detection code for the LP-PHY and SPROM
extraction code for version 8, which is needed by the LP-PHY and
newer N-PHY.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This is used on my macbook. N PHY, obviously nothing works
yet, but we can detect the chip with this patch.Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville
22 Nov, 2008
1 commit
-
This patch is part of a larger patch series which will remove
the "char bus_id[20]" name string from struct device. The device
name is managed in the kobject anyway, and without any size
limitation, and just needlessly copied into "struct device".To set and read the device name dev_name(dev) and dev_set_name(dev)
must be used. If your code uses static kobjects, which it shouldn't
do, "const char *init_name" can be used to statically provide the
name the registered device should have. At registration time, the
init_name field is cleared, to enforce the use of dev_name(dev) to
access the device name at a later time.We need to get rid of all occurrences of bus_id in the entire tree
to be able to enable the new interface. Please apply this patch,
and possibly convert any remaining remaining occurrences of bus_id.We want to submit a patch to -next, which will remove bus_id from
"struct device", to find the remaining pieces to convert, and finally
switch over to the new api, which will remove the 20 bytes array
and does no longer have a size limitation.CC: Michael Buesch
Acked-by: Greg Kroah-Hartman
Signed-Off-By: Kay Sievers
Signed-off-by: John W. Linville
11 Nov, 2008
1 commit
-
If the target system cannot support SSB, then don't show the menu option as
it'll simply be an empty submenu.Signed-off-by: Mike Frysinger
Signed-off-by: David S. Miller
14 Oct, 2008
1 commit
-
* git://git.kernel.org/pub/scm/linux/kernel/git/brodo/pcmcia-2.6: (49 commits)
pcmcia: ioctl-internal definitions
pcmcia: cistpl header cleanup
pcmcia: remove unused argument to pcmcia_parse_tuple()
pcmcia: card services header cleanup
pcmcia: device_id header cleanup
pcmcia: encapsulate ioaddr_t
pcmcia: cleanup device driver header file
pcmcia: cleanup socket services header file
pcmcia: merge ds_internal.h into cs_internal.h
pcmcia: cleanup cs_internal.h
pcmcia: cs_internal.h is internal
pcmcia: use dev_printk for cs_error()
pcmcia: remove CS_ error codes alltogether
pcmcia: deprecate CS_BAD_TUPLE
pcmcia: deprecate CS_BAD_ARGS
pcmcia: deprecate CS_BAD_BASE, CS_BAD_IRQ, CS_BAD_OFFSET and CS_BAD_SIZE
pcmcia: deprecate CS_BAD_ATTRIBUTE, CS_BAD_TYPE and CS_BAD_PAGE
pcmcia: deprecate CS_NO_MORE_ITEMS
pcmcia: deprecate CS_IN_USE
pcmcia: deprecate CS_CONFIGURATION_LOCKED
...Fix trivial conflict in drivers/pcmcia/ds.c manually
01 Oct, 2008
1 commit
-
Conflicts:
drivers/net/wireless/ath9k/core.c
drivers/net/wireless/ath9k/main.c
net/core/dev.c
27 Sep, 2008
1 commit
-
For SSB_BUSTYPE_SSB type devices, we need to initialize dma_mask using
coherent_dma_mask so that calls to dma_set_mask() succeed.It fixes the regression on the b44 driver introduced by commit
f225763a7d6c92c4932dbd528437997078496fccSigned-off-by: Aurelien Jarno
Signed-off-by: Ralf Baechle
30 Aug, 2008
2 commits
-
Only rev 1 and 2 ssb SPROMs have fields named et0mac and et1mac;
however, all of the extraction routines extract pseudo data for these
fields from regions that are all 1's resulting in a hardware address
of FF:FF:FF:FF:FF:FF. This patch forces such a fill at the beginning of
the data extraction process, and only does the formal extraction if the
SPROM rev is 1 or 2.Signed-off-by: Larry Finger
Signed-off-by: John W. Linville -
Although a revision 5 SPROM has not been seen in the wild, the
open-source portion of the MIPS driver 4.150.10.5 describes its
layout, which is mostly inherited from revision 4. This patch
implements the differences.Signed-off-by: Larry Finger
Acked-by: Michael Buesch
Signed-off-by: John W. Linville
23 Aug, 2008
1 commit
-
CS_NO_MORE_ITEMS is returned by the CIS tuple reading and parsing code if
the end of a tuple chain is reached. As at least one PCMCIA driver relies
on matching this return value, replace it with -ENOSPC which is now
uniquely used for this purpose within the in-kernel pcmcia subsystem.CC: Russell King
CC: linux-serial@vger.kernel.org
CC: Michael Buesch
Signed-off-by: Dominik Brodowski