summaryrefslogtreecommitdiffstats
path: root/sys/mips/atheros/uart_bus_ar71xx.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2010-08-19 02:03:12 +0000
committeradrian <adrian@FreeBSD.org>2010-08-19 02:03:12 +0000
commit1c6fde75b32cd476ed4247f4e2870435fb6fe143 (patch)
treeaf5f12c83bfc167d9e173e3a136bae5cae9c3f2b /sys/mips/atheros/uart_bus_ar71xx.c
parent9a8b3cac780596343c946cecea69c661e3615e12 (diff)
downloadFreeBSD-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.c1
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"
OpenPOWER on IntegriCloud