summaryrefslogtreecommitdiffstats
path: root/sys/mips/atheros/ar724x_chip.h
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2010-08-19 11:53:55 +0000
committeradrian <adrian@FreeBSD.org>2010-08-19 11:53:55 +0000
commit031fda74f3ad2d87c3bd0bf56a9a0238424f0ac8 (patch)
tree60da39a7a4e81535a416d9d32d1950d978679f36 /sys/mips/atheros/ar724x_chip.h
parent092cae11c55acbdfc4c42e928eaecd26a5a613a0 (diff)
downloadFreeBSD-src-031fda74f3ad2d87c3bd0bf56a9a0238424f0ac8.zip
FreeBSD-src-031fda74f3ad2d87c3bd0bf56a9a0238424f0ac8.tar.gz
Add some initial AR724X chipset support.
This is untested but should at least allow an AR724X to boot. The current code is lacking the detail needed to expose the PCIe bus. It is also lacking any NIC, PLL or flush/WB code.
Diffstat (limited to 'sys/mips/atheros/ar724x_chip.h')
-rw-r--r--sys/mips/atheros/ar724x_chip.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/sys/mips/atheros/ar724x_chip.h b/sys/mips/atheros/ar724x_chip.h
new file mode 100644
index 0000000..11b30b7
--- /dev/null
+++ b/sys/mips/atheros/ar724x_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 __AR724X_CHIP_H__
+#define __AR724X_CHIP_H__
+
+extern struct ar71xx_cpu_def ar724x_chip_def;
+
+#endif
OpenPOWER on IntegriCloud