summaryrefslogtreecommitdiffstats
path: root/sys/mips/atheros/ar91xx_chip.h
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2010-08-19 11:40:10 +0000
committeradrian <adrian@FreeBSD.org>2010-08-19 11:40:10 +0000
commit092cae11c55acbdfc4c42e928eaecd26a5a613a0 (patch)
treec388de9764585634cd381938336af9cca3cc2c3d /sys/mips/atheros/ar91xx_chip.h
parentc6c2feb282a53da0c88c776fa754d0952cc04718 (diff)
downloadFreeBSD-src-092cae11c55acbdfc4c42e928eaecd26a5a613a0.zip
FreeBSD-src-092cae11c55acbdfc4c42e928eaecd26a5a613a0.tar.gz
Add initial Atheros AR91XX support.
This works well enough to bring a system up to single-user mode using an MDROOT. Known Issues: * The EHCI USB doesn't currently work and will panic the kernel during attach. * The onboard ethernet won't work until the PLL routines have been fleshed out and shoe-horned into if_arge. * The WMAC device glue (and quite likely the if_ath support) hasn't yet been implemented.
Diffstat (limited to 'sys/mips/atheros/ar91xx_chip.h')
-rw-r--r--sys/mips/atheros/ar91xx_chip.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/mips/atheros/ar91xx_chip.h b/sys/mips/atheros/ar91xx_chip.h
new file mode 100644
index 0000000..a98c264
--- /dev/null
+++ b/sys/mips/atheros/ar91xx_chip.h
@@ -0,0 +1,34 @@
+/*-
+ * Copyright (c) 2010 Adrian Chadd
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+/* $FreeBSD$ */
+
+#ifndef __AR91XX_CHIP_H__
+#define __AR91XX_CHIP_H__
+
+extern struct ar71xx_cpu_def ar91xx_chip_def;
+
+#endif
OpenPOWER on IntegriCloud