08 Jul, 2008
1 commit
-
On embedded devices we must not route the interrupts through
the PCI core, if our host-bus is not PCI.Reported-by: Steve Brown
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
14 Jun, 2008
1 commit
-
This fixes setting the coherent DMA mask for PCI devices.
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
05 Jun, 2008
1 commit
-
This fixes a context assertion in ssb that makes b44 print
out warnings on resume.This fixes the following kernel oops:
http://www.kerneloops.org/oops.php?number=12732
http://www.kerneloops.org/oops.php?number=11410Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
24 Apr, 2008
1 commit
-
In the SSB SPROM a field set to all ones means the value
is not defined in the SPROM.
In case of the boardflags, we need to set them to zero
to avoid confusing drivers. Drivers will only check the
flags by ANDing.Signed-off-by: Larry Finger
Signed-off-by: Gabor Stefanik
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
18 Apr, 2008
1 commit
17 Apr, 2008
1 commit
-
Now that we fixed the TPS flag assignment in commit
b63009b456c8d9abe684bdf8d4bd8f27eb040019
we don't need the workaround for the bcm44xx chip anymore.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
16 Apr, 2008
1 commit
-
This fixes DMA on architectures where DMA is nontrivial, like PPC64.
We must use the host-device's (PCI) struct device for any DMA
operation instead of the SSB device. For this we add a new
struct device pointer to the SSB device structure that will always
point to the right device for DMAing.Without this patch b43 and b44 drivers won't work on complex-DMA
architectures, that for example need dev->archdata for DMA operations.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
14 Apr, 2008
1 commit
-
Conflicts:
drivers/net/ehea/ehea_main.c
drivers/net/wireless/iwlwifi/Kconfig
drivers/net/wireless/rt2x00/rt61pci.c
net/ipv4/inet_timewait_sock.c
net/ipv6/raw.c
net/mac80211/ieee80211_sta.c
09 Apr, 2008
6 commits
-
This fixes assignment of the interrupt vectors on the SSB MIPS core.
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This fixes the TPS flag handling for the SSB pcicore driver.
This fixes interrupts on some devices.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This adds support for block based I/O to SSB.
This is needed in order to efficiently support PIO data
transfers to the card.
The block-I/O support is only compiled, if it's selected by the
weird driver that needs it. So there's no overhead for sane devices.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This fixes a build error when PCMCIA-host support is built,
but PCI-host support is disabled.
Hell, who on earth would use such a weird configuration. :Ddrivers/built-in.o: In function `ssb_attr_sprom_store':
(.text+0x1c4b79): undefined reference to `ssb_devices_freeze'
drivers/built-in.o: In function `ssb_attr_sprom_store':
(.text+0x1c4bb3): undefined reference to `ssb_devices_thaw'
make[1]: *** [.tmp_vmlinux1] Error 1Signed-off-by: Michael Buesch
Acked-by: Randy Dunlap
Signed-off-by: John W. Linville -
Turn the SSB bus suspend mechanism upside down.
Instead of deciding by an internal reference count when to suspend/resume,
let the parent bus call us in their suspend/resume routine.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
Here come some IRQ and DMA related fixes for the ssb PCMCIA-host code.
Not much to say, actually. I think the patch explains itself.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
08 Apr, 2008
1 commit
-
This fixes an hard crash which happened upon driver loading on bcm4303 rev.
2 devices.Signed-off-by: Stefano Brivio
Signed-off-by: John W. Linville
14 Mar, 2008
1 commit
-
This adds support for reading/writing the SPROM invariants
for PCMCIA based devices.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
07 Mar, 2008
1 commit
-
This adds the Gigabit Ethernet driver for the SSB
Gigabit Ethernet core. This driver actually is a frontend to
the Tigon3 driver. So the real work is done by tg3.
This device is used in the Linksys WRT350N.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
06 Mar, 2008
1 commit
-
Conflicts:
net/mac80211/rc80211_pid_algo.c
05 Mar, 2008
1 commit
-
This patch has added pcibios_enable_device() return value check.
Signed-off-by: Yoichi Yuasa
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
01 Mar, 2008
2 commits
-
This patch adds functions to setup and read the CHIPCO IRQ.
Signed-off-by: Aurelien Jarno
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This adds support for 8bit wide register reads/writes.
This is needed in order to support the gigabit ethernet core.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
28 Feb, 2008
2 commits
-
Switch the SSB PCI core driver to the new SPROM data structure now that
the old one has been removed.Signed-off-by: Aurelien Jarno
Acked-by: Michael Buesch
Signed-off-by: John W. Linville -
The bridge code was unnecessary enabled by the b44
driver, but it prevents the bcm43xx driver from
being loaded, as the bridge claims the same pci ids.Now we enable the birdge only if the b43{legacy}
drivers are selected.Signed-off-by: Alexey Zaytsev
Acked-by: Larry Finger
Signed-off-by: John W. Linville
21 Feb, 2008
6 commits
-
We must pin all resources and make sure the PCI subsystem
won't relocate us, as the addresses are hardwired into hardware.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This fixes the pcicore driver to not die a horrible
crash death when inserting a cardbus card.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This fixes the GPIO API to be reentrancy safe.
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This fixes the GPIO API to be usable.
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This fixes the SSB watchdog access for devices without a chipcommon.
These devices have the watchdog on the extif.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This fixes the baud settings for new devices
like the Linksys WRT350n.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
03 Feb, 2008
1 commit
-
Signed-off-by: Joe Perches
Signed-off-by: Adrian Bunk
29 Jan, 2008
7 commits
-
Add boardflags-high.
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This adds the PCI ID 0x4329 for the BCM43XG.
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This fixes lowlevel register access for PCMCIA based devices.
The patch also adds a temporary workaround for the device mac address.
It simply adds generation of a random address. The real SPROM extraction
will follow in another patch.
The temporary workaround will be removed then, but for now it's OK.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
This fixes extraction of some values from the SPROM.
It mainly fixes extraction of antenna related values, which
is needed for another b43 fix sent later.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
The old, now unused, data structures and SPROM extraction routines
are removed.Signed-off-by: Larry Finger
Signed-off-by: John W. Linville -
In disagreement with the SPROM specs, revision 3 devices appear to have
moved the MAC address.Change ssb to handle the revision 4 SPROM, which is a different size.
This change in size is handled by adding a new variable to the ssb_sprom
struct and using it whenever possible. For those routines that do not
have access to this structure, a 'u16 size' argument is added.The new PCI_ID for the BCM4328 is also added.
Testing of the Revision 4 SPROM, which is used on the BCM4328, was done
by Michael Gerdau .Signed-off-by: Larry Finger
Signed-off-by: John W. Linville -
The SPROM's for various devices utilizing the Sonics Silicon Backplane come
with various revisions. The Revision 2 SPROM inherited the data layout of 1, and
Revision 3 inherited the layout of 2. The first instance of Revision 4 has
now been found in a BCM4328 wireless LAN card. This device does not inherit any
layout from previous versions. Although it was possible to create a data
structure that kept all the old layouts, we decided to start fresh, keep only
those SPROM variables that are used by the drivers that utilize ssb, and to
do the conversion in such a manner that neither compilation or execution will
be affected if a bisection lands in the middle of these changes, while keeping
the patches as small as possible.In this patch, the sprom structures are changed while maintaining the old ones.
Signed-off-by: Larry Finger
Signed-off-by: John W. Linville
09 Jan, 2008
1 commit
-
This will make sure that always the correct core is selected, even if
there are both a PCI and PCI-E core on a PCI or PCI-E card.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
11 Nov, 2007
2 commits
-
This fixes the lowlevel bus access routines for
PCMCIA based devices.There are still a few issues with register access sideeffects after
this patch. This will be addressed in a later patch.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
ssb must init after PCI but before the ssb drivers.
Signed-off-by: Michael Buesch
Cc: Christian Casteyde
Fixes-bug: #9219
Signed-off-by: John W. Linville