Module Name: src
Committed By: matt
Date: Thu Jan 19 18:26:15 UTC 2012
Modified Files:
src/sys/arch/mips/rmi [matt-nb5-mips64]: rmixl_nae.c
Log Message:
Fix CFATTACH_DECL_NEW so kernels build again.
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/sys/arch/mips/rmi/rmixl_nae.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/mips/rmi/rmixl_nae.c
diff -u src/sys/arch/mips/rmi/rmixl_nae.c:1.1.2.1 src/sys/arch/mips/rmi/rmixl_nae.c:1.1.2.2
--- src/sys/arch/mips/rmi/rmixl_nae.c:1.1.2.1 Sat Dec 24 01:57:54 2011
+++ src/sys/arch/mips/rmi/rmixl_nae.c Thu Jan 19 18:26:15 2012
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: rmixl_nae.c,v 1.1.2.1 2011/12/24 01:57:54 matt Exp $");
+__KERNEL_RCSID(1, "$NetBSD: rmixl_nae.c,v 1.1.2.2 2012/01/19 18:26:15 matt Exp $");
#include <sys/param.h>
#include <sys/device.h>
@@ -39,7 +39,11 @@ __KERNEL_RCSID(1, "$NetBSD: rmixl_nae.c,
static int nae_match(device_t, cfdata_t, void *);
static void nae_attach(device_t, device_t, void *);
-CFATTACH_DECL_NEW(nae, 0,
+struct nae_gmac_softc {
+ device_t sc_dev;
+};
+
+CFATTACH_DECL_NEW(nae_gmac, sizeof(struct nae_gmac_softc),
nae_match, nae_attach, 0, 0);
static int