Module Name: src Committed By: matt Date: Fri Jun 3 07:39:30 UTC 2011
Modified Files: src/sys/dev/mca: mca.c src/sys/dev/ofisa: ofisa.c src/sys/dev/ofw: ofbus.c Log Message: -CFATTACH_DECL(foo, sizeof(struct device), +CFATTACH_DECL_NEW(foo, 0, To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/sys/dev/mca/mca.c cvs rdiff -u -r1.23 -r1.24 src/sys/dev/ofisa/ofisa.c cvs rdiff -u -r1.24 -r1.25 src/sys/dev/ofw/ofbus.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/dev/mca/mca.c diff -u src/sys/dev/mca/mca.c:1.30 src/sys/dev/mca/mca.c:1.31 --- src/sys/dev/mca/mca.c:1.30 Tue May 12 14:31:00 2009 +++ src/sys/dev/mca/mca.c Fri Jun 3 07:39:30 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: mca.c,v 1.30 2009/05/12 14:31:00 cegger Exp $ */ +/* $NetBSD: mca.c,v 1.31 2011/06/03 07:39:30 matt Exp $ */ /*- * Copyright (c) 2000, 2001 The NetBSD Foundation, Inc. @@ -35,7 +35,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: mca.c,v 1.30 2009/05/12 14:31:00 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mca.c,v 1.31 2011/06/03 07:39:30 matt Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -53,7 +53,7 @@ int mca_match(device_t, cfdata_t, void *); void mca_attach(device_t, device_t, void *); -CFATTACH_DECL(mca, sizeof(struct device), +CFATTACH_DECL_NEW(mca, 0, mca_match, mca_attach, NULL, NULL); int mca_print(void *, const char *); Index: src/sys/dev/ofisa/ofisa.c diff -u src/sys/dev/ofisa/ofisa.c:1.23 src/sys/dev/ofisa/ofisa.c:1.24 --- src/sys/dev/ofisa/ofisa.c:1.23 Tue May 12 14:38:56 2009 +++ src/sys/dev/ofisa/ofisa.c Fri Jun 3 07:39:30 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: ofisa.c,v 1.23 2009/05/12 14:38:56 cegger Exp $ */ +/* $NetBSD: ofisa.c,v 1.24 2011/06/03 07:39:30 matt Exp $ */ /* * Copyright 1997, 1998 @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ofisa.c,v 1.23 2009/05/12 14:38:56 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ofisa.c,v 1.24 2011/06/03 07:39:30 matt Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -54,7 +54,7 @@ static int ofisamatch(device_t, cfdata_t, void *); static void ofisaattach(device_t, device_t, void *); -CFATTACH_DECL(ofisa, sizeof(struct device), +CFATTACH_DECL_NEW(ofisa, 0, ofisamatch, ofisaattach, NULL, NULL); extern struct cfdriver ofisa_cd; Index: src/sys/dev/ofw/ofbus.c diff -u src/sys/dev/ofw/ofbus.c:1.24 src/sys/dev/ofw/ofbus.c:1.25 --- src/sys/dev/ofw/ofbus.c:1.24 Tue May 12 14:39:22 2009 +++ src/sys/dev/ofw/ofbus.c Fri Jun 3 07:39:30 2011 @@ -1,4 +1,4 @@ -/* $NetBSD: ofbus.c,v 1.24 2009/05/12 14:39:22 cegger Exp $ */ +/* $NetBSD: ofbus.c,v 1.25 2011/06/03 07:39:30 matt Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -32,7 +32,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: ofbus.c,v 1.24 2009/05/12 14:39:22 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ofbus.c,v 1.25 2011/06/03 07:39:30 matt Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -44,7 +44,7 @@ void ofbus_attach(device_t, device_t, void *); static int ofbus_print(void *, const char *); -CFATTACH_DECL(ofbus, sizeof(struct device), +CFATTACH_DECL_NEW(ofbus, 0, ofbus_match, ofbus_attach, NULL, NULL); static int