CAMBRIA and more than one atheros card

John-Mark Gurney jmg at funkthat.com
Wed Aug 6 21:23:30 UTC 2014


John Hay wrote this message on Thu, Jul 17, 2014 at 21:44 +0200:
> On Thu, Jul 17, 2014 at 12:30:53PM -0700, Adrian Chadd wrote:
> > okay, I think that needs to be fixed first. I can't debug it otherwise. :)
> 
> vmstat -ia output looks the same on an Avila board, so it isn't Cambria
> specific.

Ok, I tracked this down, and it looks like Ian forgot to add the
necessary call to arm_intrnames_init in initarm to setup the names
of interrupts properly when he changed how interrupt names were
handled...

I've fixed this for at least AVILA (and other ixp425 boards) w/ the
included patch...

Ian will be committing fixes for this issue shortly...  He may be
using a different method than the attached patch...

Index: avila_machdep.c
===================================================================
--- avila_machdep.c	(revision 269019)
+++ avila_machdep.c	(working copy)
@@ -70,6 +70,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/exec.h>
 #include <sys/kdb.h>
 #include <sys/msgbuf.h>
+#include <machine/intr.h>
 #include <machine/physmem.h>
 #include <machine/reg.h>
 #include <machine/cpu.h>
@@ -393,6 +394,7 @@ initarm(struct arm_boot_params *abp)
 
 	init_proc0(kernelstack.pv_va);
 
+	arm_intrnames_init();
 	arm_vector_init(ARM_VECTORS_HIGH, ARM_VEC_ALL);
 
 	pmap_curmaxkvaddr = afterkern + PAGE_SIZE;

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-wireless mailing list