]> git.karo-electronics.de Git - linux-beck.git/commit
MIPS: pci-ar724x: setup command register of the PCI controller
authorGabor Juhos <juhosg@openwrt.org>
Sun, 3 Feb 2013 14:52:47 +0000 (14:52 +0000)
committerJohn Crispin <blogic@openwrt.org>
Sun, 17 Feb 2013 00:25:39 +0000 (01:25 +0100)
commit12401fc28d40aa5bf8bda6991a96b6d7a3dae3ac
treed882d6fc588107ee1ba9a5c3d92660641451b2df
parent8b66d461187ff61c5755001af7296e6edde48423
MIPS: pci-ar724x: setup command register of the PCI controller

The command register of the PCI controller is
not initialized correctly by the bootloader on
some boards and this leads to non working PCI
bus.

Add code to initialize the command register
from the Linux code to avoid this.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/4916/
Signed-off-by: John Crispin <blogic@openwrt.org>
arch/mips/ath79/pci.c
arch/mips/include/asm/mach-ath79/ar71xx_regs.h
arch/mips/pci/pci-ar724x.c