Fri Aug 7 06:50:48 2009 UTC ()
Pull up following revision(s) (requested by jmcneill in ticket #775):
sys/arch/mips/atheros/ar5312_board.c: revision 1.2
sys/arch/mips/atheros/ar5315.c: revision 1.6
sys/arch/mips/atheros/ar5315_board.c: revision 1.2
sys/arch/mips/atheros/dev/if_ath_arbus.c: revision 1.16
sys/arch/mips/atheros/include/ar5312reg.h: revision 1.3
Update reference to the Atheros HAL exported headers.
`external/isc/atheros_hal/dist', former `contrib/dev/ath/' is now in cpp(1)'s
include path.
Fix build of MERAKI kernel.
(snj)
diff -r1.1 -r1.1.72.1 src/sys/arch/mips/atheros/ar5312_board.c
diff -r1.1 -r1.1.72.1 src/sys/arch/mips/atheros/ar5315_board.c
diff -r1.5 -r1.5.20.1 src/sys/arch/mips/atheros/ar5315.c
diff -r1.15 -r1.15.4.1 src/sys/arch/mips/atheros/dev/if_ath_arbus.c
diff -r1.2 -r1.2.74.1 src/sys/arch/mips/atheros/include/ar5312reg.h
--- src/sys/arch/mips/atheros/ar5312_board.c 2006/09/26 06:37:32 1.1
+++ src/sys/arch/mips/atheros/ar5312_board.c 2009/08/07 06:50:47 1.1.72.1
@@ -1,4 +1,4 @@
-/* $Id: ar5312_board.c,v 1.1 2006/09/26 06:37:32 gdamore Exp $ */
+/* $Id: ar5312_board.c,v 1.1.72.1 2009/08/07 06:50:47 snj Exp $ */
/*
* Copyright (c) 2006 Urbana-Champaign Independent Media Center.
* Copyright (c) 2006 Garrett D'Amore.
@@ -40,7 +40,7 @@
* ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ar5312_board.c,v 1.1 2006/09/26 06:37:32 gdamore Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ar5312_board.c,v 1.1.72.1 2009/08/07 06:50:47 snj Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -50,7 +50,7 @@
#include <mips/atheros/include/ar5312reg.h>
#include <mips/atheros/include/ar531xvar.h>
-#include <contrib/dev/ath/ah_soc.h>
+#include <ah_soc.h>
extern const char *ether_sprintf(const uint8_t *);
--- src/sys/arch/mips/atheros/ar5315_board.c 2006/09/26 06:37:32 1.1
+++ src/sys/arch/mips/atheros/ar5315_board.c 2009/08/07 06:50:48 1.1.72.1
@@ -1,4 +1,4 @@
-/* $NetBSD: ar5315_board.c,v 1.1 2006/09/26 06:37:32 gdamore Exp $ */
+/* $NetBSD: ar5315_board.c,v 1.1.72.1 2009/08/07 06:50:48 snj Exp $ */
/*
* Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@@ -46,7 +46,7 @@
* information data in flash for the AR5315.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ar5315_board.c,v 1.1 2006/09/26 06:37:32 gdamore Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ar5315_board.c,v 1.1.72.1 2009/08/07 06:50:48 snj Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -66,7 +66,7 @@
#include <net/if.h>
#include <net/if_ether.h>
-#include <contrib/dev/ath/ah_soc.h> /* XXX really doesn't belong in hal */
+#include <ah_soc.h> /* XXX really doesn't belong in hal */
#include <mips/atheros/include/ar5315reg.h>
#include <mips/atheros/include/ar531xvar.h>
--- src/sys/arch/mips/atheros/ar5315.c 2008/01/23 05:23:59 1.5
+++ src/sys/arch/mips/atheros/ar5315.c 2009/08/07 06:50:48 1.5.20.1
@@ -1,4 +1,4 @@
-/* $NetBSD: ar5315.c,v 1.5 2008/01/23 05:23:59 dyoung Exp $ */
+/* $NetBSD: ar5315.c,v 1.5.20.1 2009/08/07 06:50:48 snj Exp $ */
/*
* Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@@ -48,7 +48,7 @@
* family.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ar5315.c,v 1.5 2008/01/23 05:23:59 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ar5315.c,v 1.5.20.1 2009/08/07 06:50:48 snj Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@@ -69,7 +69,7 @@
#include <prop/proplib.h>
-#include <contrib/dev/ath/ah_soc.h> /* XXX really doesn't belong in hal */
+#include <ah_soc.h> /* XXX really doesn't belong in hal */
#include <mips/atheros/include/ar5315reg.h>
#include <mips/atheros/include/ar531xvar.h>
--- src/sys/arch/mips/atheros/dev/if_ath_arbus.c 2008/07/09 19:47:23 1.15
+++ src/sys/arch/mips/atheros/dev/if_ath_arbus.c 2009/08/07 06:50:48 1.15.4.1
@@ -1,4 +1,4 @@
-/* $NetBSD: if_ath_arbus.c,v 1.15 2008/07/09 19:47:23 joerg Exp $ */
+/* $NetBSD: if_ath_arbus.c,v 1.15.4.1 2009/08/07 06:50:48 snj Exp $ */
/*-
* Copyright (c) 2006 Jared D. McNeill <jmcneill@invisible.ca>
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_ath_arbus.c,v 1.15 2008/07/09 19:47:23 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_ath_arbus.c,v 1.15.4.1 2009/08/07 06:50:48 snj Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -64,8 +64,9 @@
#include <dev/pci/pcidevs.h>
#include <dev/ic/ath_netbsd.h>
#include <dev/ic/athvar.h>
-#include <contrib/dev/ath/ah.h>
-#include <contrib/dev/ath/ah_soc.h> /* XXX really doesn't belong in hal */
+
+#include <ah.h>
+#include <ah_soc.h> /* XXX really doesn't belong in hal */
struct ath_arbus_softc {
struct ath_softc sc_ath;
--- src/sys/arch/mips/atheros/include/ar5312reg.h 2006/09/04 05:17:26 1.2
+++ src/sys/arch/mips/atheros/include/ar5312reg.h 2009/08/07 06:50:48 1.2.74.1
@@ -1,4 +1,4 @@
-/* $Id: ar5312reg.h,v 1.2 2006/09/04 05:17:26 gdamore Exp $ */
+/* $Id: ar5312reg.h,v 1.2.74.1 2009/08/07 06:50:48 snj Exp $ */
/*
* Copyright (c) 2006 Urbana-Champaign Independent Media Center.
* Copyright (c) 2006 Garrett D'Amore.
@@ -197,11 +197,12 @@
#define AR5312_MISC_IRQ_UART0 4
#define AR5312_MISC_IRQ_UART0_DMA 5
#define AR5312_MISC_IRQ_WDOG 6
+
/*
* Board data. This is located in flash somewhere, ar531x_board_info
* locates it.
*/
-#include <contrib/dev/ath/ah_soc.h> /* XXX really doesn't belong in hal */
+#include <ah_soc.h> /* XXX really doesn't belong in hal */
/* XXX write-around for now */
#define AR5312_BOARD_MAGIC AR531X_BD_MAGIC