提交 1f3a92de 编写于 作者: G Gabor Juhos 提交者: Ralf Baechle

MIPS: ath79: register PCI controller on the PB44 board

The PB44 reference board has two miniPCI slots. Register
the PCI controller to make those usable.
Signed-off-by: NGabor Juhos <juhosg@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/3502/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 52c28be3
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#include "dev-leds-gpio.h" #include "dev-leds-gpio.h"
#include "dev-spi.h" #include "dev-spi.h"
#include "dev-usb.h" #include "dev-usb.h"
#include "pci.h"
#define PB44_GPIO_I2C_SCL 0 #define PB44_GPIO_I2C_SCL 0
#define PB44_GPIO_I2C_SDA 1 #define PB44_GPIO_I2C_SDA 1
...@@ -114,6 +115,7 @@ static void __init pb44_init(void) ...@@ -114,6 +115,7 @@ static void __init pb44_init(void)
ath79_register_spi(&pb44_spi_data, pb44_spi_info, ath79_register_spi(&pb44_spi_data, pb44_spi_info,
ARRAY_SIZE(pb44_spi_info)); ARRAY_SIZE(pb44_spi_info));
ath79_register_usb(); ath79_register_usb();
ath79_register_pci();
} }
MIPS_MACHINE(ATH79_MACH_PB44, "PB44", "Atheros PB44 reference board", MIPS_MACHINE(ATH79_MACH_PB44, "PB44", "Atheros PB44 reference board",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册