diff options
author | adrian <adrian@FreeBSD.org> | 2010-08-19 02:03:12 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2010-08-19 02:03:12 +0000 |
commit | 1c6fde75b32cd476ed4247f4e2870435fb6fe143 (patch) | |
tree | af5f12c83bfc167d9e173e3a136bae5cae9c3f2b /sys/mips/atheros/uart_bus_ar71xx.c | |
parent | 9a8b3cac780596343c946cecea69c661e3615e12 (diff) | |
download | FreeBSD-src-1c6fde75b32cd476ed4247f4e2870435fb6fe143.zip FreeBSD-src-1c6fde75b32cd476ed4247f4e2870435fb6fe143.tar.gz |
Preparation work for supporting the AR91xx and AR724x.
* Implement a SoC probe function, from Linux, which determines the
SoC family, type and revision. This only probes the AR71xx series
SoC and (currently) panics on others.
* Migrate some of the AR71XX specific hardware init (USB device, determining
system frequencies) into using the cpuops introduced in an earlier commit.
Other SoC specific hardware stuff (per-device flush/WB, GPIO pin wiring,
Ethernet PLL setup, other things I've likely missed) will be introduced in
subsequent commits.
Reviewed by: imp@
Obtained from: (partially) Linux
Diffstat (limited to 'sys/mips/atheros/uart_bus_ar71xx.c')
-rw-r--r-- | sys/mips/atheros/uart_bus_ar71xx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/mips/atheros/uart_bus_ar71xx.c b/sys/mips/atheros/uart_bus_ar71xx.c index 8d83291..4c04aba 100644 --- a/sys/mips/atheros/uart_bus_ar71xx.c +++ b/sys/mips/atheros/uart_bus_ar71xx.c @@ -41,6 +41,7 @@ __FBSDID("$FreeBSD$"); #include <dev/uart/uart_bus.h> #include <mips/atheros/ar71xxreg.h> +#include <mips/atheros/ar71xx_cpudef.h> #include "uart_if.h" |