Make the apb.c code optional behind ar71xx_apb rather than standard.
The QCA955x has more mux interrupts going on - and the AR934x actually does, but I cheated and assigned wlan and pcie to the same interrupt line. They are, there's just a status register mux that I should've been using. Luckily this isn't too bad a change in itself - almost all of the Atheros MIPS configurations use a _BASE file to inherit from. Except PB92, which I should really fix up at some point. The AR934x will use the legacy apb for now until I write its replacement. The QCA955x SoC I'm doing bring-up on will have a separate qca955x_apb.c implementation that includes hooking into IP2/IP3 and doing further interrupt demuxing as appropriate.
This commit is contained in:
parent
e090d1f591
commit
87a2f105ee
@ -1,6 +1,6 @@
|
||||
# $FreeBSD$
|
||||
|
||||
mips/atheros/apb.c standard
|
||||
mips/atheros/apb.c optional ar71xx_apb
|
||||
mips/atheros/ar71xx_gpio.c optional gpio
|
||||
mips/atheros/ar71xx_machdep.c standard
|
||||
mips/atheros/ar71xx_ehci.c optional ehci
|
||||
|
@ -110,6 +110,8 @@ device ar71xx_wdog
|
||||
device uart
|
||||
device uart_ar71xx
|
||||
|
||||
device ar71xx_apb
|
||||
|
||||
device loop
|
||||
device ether
|
||||
device md
|
||||
|
@ -119,6 +119,8 @@ device ar71xx_wdog
|
||||
device uart
|
||||
device uart_ar71xx
|
||||
|
||||
device ar71xx_apb
|
||||
|
||||
device loop
|
||||
device ether
|
||||
device md
|
||||
|
@ -108,6 +108,8 @@ device ar71xx_wdog
|
||||
device uart
|
||||
device uart_ar71xx
|
||||
|
||||
device ar71xx_apb
|
||||
|
||||
device loop
|
||||
device ether
|
||||
device md
|
||||
|
@ -113,6 +113,8 @@ device ar71xx_wdog
|
||||
device uart
|
||||
device uart_ar933x
|
||||
|
||||
device ar71xx_apb
|
||||
|
||||
device loop
|
||||
device ether
|
||||
device md
|
||||
|
@ -117,6 +117,9 @@ device ar71xx_wdog
|
||||
device uart
|
||||
device uart_ar71xx
|
||||
|
||||
# XXX for now; later a separate APB mux is needed to demux PCI/WLAN interrupts.
|
||||
device ar71xx_apb
|
||||
|
||||
device loop
|
||||
device ether
|
||||
device md
|
||||
|
@ -126,6 +126,8 @@ device ar71xx_wdog
|
||||
device uart
|
||||
device uart_ar71xx
|
||||
|
||||
device ar71xx_apb
|
||||
|
||||
# Network twiddling
|
||||
device loop
|
||||
device ether
|
||||
|
Loading…
x
Reference in New Issue
Block a user