01 Oct, 2009
1 commit
-
Produce an error if request_irq() fails.
Signed-off-by: Roel Kluin
Cc: "Ithamar R. Adema"
Signed-off-by: Andrew Morton
Signed-off-by: Ralf Baechle
18 Sep, 2009
4 commits
-
Signed-off-by: Maxime Bizon
Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
Signed-off-by: Ralf Baechle
-
To make source code of loongson sharable to the machines(such as gdium)
made by the other companies, we rename arch/mips/lemote to
arch/mips/loongson, asm/mach-lemote to asm/mach-loongson, and rename lm2e
to the name of the machine: fuloong-2e. accordingly, FULONG are renamed to
FULOONG2E to make it distinguishable to the future FULOONG2F. and also,
some other relative tuning is needed.Signed-off-by: Wu Zhangjin
Signed-off-by: Ralf Baechle -
With the help of script/checkpatch.pl, i have cleaned up the coding
style.1. remove un-needed header files and tune some comments.
2. remove some un-needed { }add a new header file loongson.h:
3. move some common header files to loongson.h
4. move some common extern declartions to loongson.hand this new header file is needed for future loongson2f support.
Signed-off-by: Wu Zhangjin
Signed-off-by: Ralf Baechle
04 Aug, 2009
2 commits
-
Some SiliconImage PCIe SATA controlers are not detected when the bus
numbers differ.Signed-off-by: David Daney
Signed-off-by: Ralf Baechle -
They tend to get not updated when files are moved around or copied and
lack any obvious use. While at it zap some only too obvious comments and
as per Shinya's suggestion, add a copyright header to extable.c.Signed-off-by: Ralf Baechle
Acked-by: Shinya Kuribayashi
Acked-by: Thadeu Lima de Souza Cascardo
03 Jul, 2009
2 commits
-
Move the cavium PCI files to the arch/mips/pci directory. Also cleanup
comment formatting and code layout. Code from pci-common.c, was moved
into other files.Signed-off-by: David Daney
Signed-off-by: Ralf Baechle -
Signed-off-by: Yoichi Yuasa
Signed-off-by: Ralf Baechle
25 Jun, 2009
1 commit
-
Some of the were relying into smp.h being dragged in by another header
which of course is fragile. uses smp_processor_id()
only in macros and including smp.h there leads to an include loop, so
don't change cpu-info.h.Signed-off-by: Ralf Baechle
31 Jan, 2009
1 commit
-
The code is rather based on trial-and-error than knowledge. Verified Via
Rhine functionality in PIO as well as MMIO mode.[Looks sane -- Ralf]
Signed-off-by: Phil Sutter
Tested-by: Florian Fainelli
Signed-off-by: Ralf Baechle
08 Jan, 2009
2 commits
-
Use the generic pci_common_swizzle() instead of arch-specific code.
Note that pci_common_swizzle() loops based on dev->bus->self, not
dev->bus->parent as the mips common_swizzle() did. I think they
are equivalent for this purpose.Signed-off-by: Bjorn Helgaas
Signed-off-by: Jesse Barnes -
Use the generic pci_swizzle_interrupt_pin() instead of arch-specific code.
Acked-by: Ralf Baechle
Signed-off-by: Bjorn Helgaas
Signed-off-by: Jesse Barnes
10 Dec, 2008
1 commit
-
Certain X11 servers such as the SIS server will only work if PCI mmap is
implemented. This patch implements PCI mmap but to be on the same side
so close to a release it only supports uncached mappings so performance
will not be optimal for some uses such as framebuffers.Thanks to Zhang Le for the original report and
testing.Signed-off-by: Ralf Baechle
28 Oct, 2008
3 commits
-
We'll put all EMMA related headers there in the future.
Signed-off-by: Shinya Kuribayashi
Signed-off-by: Ralf Baechle -
- Move EMMA related stuff into arch/mips/emma/Kconfig
- Create CONFIG_SOC_EMMA* to handle more EMMA SoCs effectively
- Rename CONFIG_MARKEINS into CONFIG_NEC_MARKEINSSigned-off-by: Shinya Kuribayashi
Signed-off-by: Ralf Baechle -
mips/pci/fixup-rc32434.c must #include
This patch fixes the following compile error caused by
commit 606a083b1e1a357cb66454e4581b80f1a67d8368
(MIPS: RB532: Cleanup the headers again):...
CC arch/mips/pci/fixup-rc32434.o
arch/mips/pci/fixup-rc32434.c: In function 'pcibios_map_irq':
arch/mips/pci/fixup-rc32434.c:46: error: 'GROUP4_IRQ_BASE' undeclared (first use in this function)
arch/mips/pci/fixup-rc32434.c:46: error: (Each undeclared identifier is reported only once
arch/mips/pci/fixup-rc32434.c:46: error: for each function it appears in.)
make[2]: *** [arch/mips/pci/fixup-rc32434.o] Error 1A virtually identical patch was also submitted by Yoichi Yuasa
.Signed-off-by: Adrian Bunk
Acked-by: Florian Fainelli
Signed-off-by: Ralf Baechle
15 Oct, 2008
2 commits
-
Signed-off-by: Shinya Kuribayashi
Signed-off-by: Ralf Baechle -
The patch below changes register_pci_controller() such that controllers
being added after pcibios_init() has run are be scanned immediately.This is needed for example by the BCM47xx PCI controller, which is located
on the SSB bus, which is now initialized after the PCI subsystem.Signed-off-by: Aurelien Jarno
Signed-off-by: Ralf Baechle
11 Oct, 2008
2 commits
-
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechlecreate mode 100644 arch/mips/pci/pci-tx4939.c
create mode 100644 arch/mips/txx9/generic/irq_tx4939.c
create mode 100644 arch/mips/txx9/generic/setup_tx4939.c
create mode 100644 include/asm-mips/txx9/tx4939.h -
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle
27 Sep, 2008
2 commits
-
This patch defines pcibios_map_irq() and pcibios_plat_dev_init() for
the BCM47xx platform.It fixes the regression introduced by commit
aab547ce0d1493d400b6468c521a0137cd8c1edf.Signed-off-by: Aurelien Jarno
Signed-off-by: Ralf Baechle -
pcibios_map_irq is no way of returning an error but on IP27 an interrupt
is possibly not routable when running out of resources. So do the
interrupt routing at pcibios_enable_device time.Signed-off-by: Ralf Baechle
26 Aug, 2008
1 commit
-
Signed-off-by: Ralf Baechle
31 Jul, 2008
4 commits
-
From: Atsushi Nemoto
Date: Thu, 24 Jul 2008 00:25:16 +0900
Subject: [PATCH] txx9: PCI error handlingAdd more control and detailed report on PCI error interrupt.
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Add pci options for backplane type, clock selection, error handling,
timeout values.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Introduce pcibios_plat_setup for platform-specific pcibios_setup.
Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
* Fix tx3927 pci ops for Type-1 configuration
* Fix abort checking of tx3927 pci ops
* Flush write buffer to avoid spurious PCI error interrupt
* Add a quirk for FPCIB backplaneSigned-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle
20 Jul, 2008
2 commits
-
Signed-off-by: Phil Sutter
Signed-off-by: Florian Fainelli
Signed-off-by: Ralf Baechle -
The pcibios_max_latency variable is needlessly defined global, and this
patch makes it static.Build-tested using malta_defconfig.
Signed-off-by: Dmitri Vorobiev
Signed-off-by: Ralf Baechle
16 Jul, 2008
10 commits
-
This is the LASAT part of the mips_machtype removal.
Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle -
It cannot be built for a long time and nobody maintains it.
Signed-off-by: Yoichi Yuasa
Signed-off-by: Ralf Baechle -
Make single kernel can be used on RBTX4927/37/38. Also make
some SoC-specific code independent from board-specific code.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Split out PCIC dependent code and SoC dependent code from board dependent
code. Now TX4927 PCIC code is independent from TX4927/TX4938 SoC code.
Also fix some build problems on CONFIG_PCI=n.As a bonus, "FPCIB0 Backplane Support" is available for all TX39/TX49 boards
and PCI66 support is available for all TX49 boards.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Move arch/mips/{jmr3927,tx4927,tx4938} into arch/mips/txx9/ tree.
This will help more code sharing and maintainance.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Signed-off-by: Ralf Baechle
-
* Merge tx4927_pci.h into tx4927.h
* Kill (broken) external PCI clock frequency reporting
* Kill unnecessary wbflush()
* Kill unnecessary includes
* Kill debug garbagesSigned-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
Declare pci_probe_only, etc. in asm-mips/pci.h file. This will fix
some sparse warnings.Signed-off-by: Atsushi Nemoto
Signed-off-by: Ralf Baechle -
The following symbols
hose_head
hose_tailare needlessly defined global in arch/mips/pci/pci.c, and
this patch makes them static.The variable pci_isa_hose is not used, and is removed by
this patch.Spotted by namespacecheck. Tested by booting a Malta 4Kc
board up to the shell prompt.Signed-off-by: Dmitri Vorobiev
Signed-off-by: Ralf Baechle -
Both onboard controller of the O2 support FAST-20 transfer speeds,
but the bit, which signals that to the aic driver, isn't set. Instead
of adding detection code to the scsi driver, we just fake the missing
bit in the PCI config space of the scsi chips.Signed-off-by: Thomas Bogendoerfer
Signed-off-by: Ralf Baechle