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
17 Oct, 2007
2 commits
-
fix build failure if PCMCIA=m but SSB=y:
drivers/built-in.o: In function `ssb_pcmcia_switch_coreidx':
: undefined reference to `pcmcia_access_configuration_register'(fix symmetric bug for PCI too.)
Signed-off-by: Ingo Molnar
Signed-off-by: Michael Buesch
Acked-by: Randy Dunlap
Signed-off-by: John W. Linville -
Fix a null pointer check in ssb mipscore init
Signed-off-by: Felix Fietkau
Acked-by: Michael Buesch
Signed-off-by: John W. Linville
14 Oct, 2007
3 commits
-
Using readw() and friends => needs to pull io.h and not all targets are
doing that via indirect chains.Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds -
ssb bus needs
linux/drivers/ssb/main.c: In function 'ssb_ssb_read16':
linux/drivers/ssb/main.c:518: error: implicit declaration of function 'readw'
linux/drivers/ssb/main.c: In function 'ssb_ssb_read32':
linux/drivers/ssb/main.c:526: error: implicit declaration of function 'readl'
linux/drivers/ssb/main.c: In function 'ssb_ssb_write16':
linux/drivers/ssb/main.c:534: error: implicit declaration of function 'writew'
linux/drivers/ssb/main.c: In function 'ssb_ssb_write32':
linux/drivers/ssb/main.c:542: error: implicit declaration of function 'writel'Signed-off-by: Geert Uytterhoeven
Signed-off-by: Linus Torvalds
11 Oct, 2007
3 commits
-
This fixes all Sparse warnings in SSB.
No semantics change.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
Signed-off-by: David S. Miller -
On a PCI bus use ioreadX() and iowriteX().
We map the I/O space with pci_iomap(), so we must use the correct
accessor functions, too.
readX() and writeX() are not guaranteed to accept the cookie returned
from pci_iomap() (though, it currently works on most architectures).Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
Signed-off-by: David S. Miller -
SSB is an SoC bus used in a number of embedded devices. The most
well-known of these devices is probably the Linksys WRT54G, but there
are others as well. The bus is also used internally on the BCM43xx
and BCM44xx devices from Broadcom.This patch also includes support for SSB ID tables in modules, so
that SSB drivers can be loaded automatically.Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville
Signed-off-by: David S. Miller