Subject: magma(4) on sparc64?
To: None <port-sparc64@netbsd.org>
From: Michael-John Turner <mj@turner.org.za>
List: port-sparc64
Date: 08/12/2007 13:34:10
Hi all,

I see that magma(4) is not enabled in the sparc64 GENERIC, and enabling
magma* and mtty* leads to the following compilation error:
/usr/src/sys/dev/sbus/magma.c: In function `magma_attach':
/usr/src/sys/dev/sbus/magma.c:432: error: cannot convert to a pointer type
/usr/src/sys/dev/sbus/magma.c:471: error: cannot convert to a pointer type
*** Error code 1

To reproduce, just uncomment
magma*  at sbus? slot ? offset ?
mtty*   at magma?
in GENERIC and try and build it.

Anyone feel like taking a look at this? FWIW, magma(4) is enabled in
OpenBSD/sparc64's GENERIC and it works fine on the same system.

-mj
-- 
Michael-John Turner | http://mjturner.net/
mj@turner.org.za    | Open Source in WC ZA - http://www.clug.org.za/