Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev -CFATTACH_DECL(foo, sizeof(struct device),
details: https://anonhg.NetBSD.org/src/rev/7f7c0c593112
branches: trunk
changeset: 765704:7f7c0c593112
user: matt <matt%NetBSD.org@localhost>
date: Fri Jun 03 07:39:30 2011 +0000
description:
-CFATTACH_DECL(foo, sizeof(struct device),
+CFATTACH_DECL_NEW(foo, 0,
diffstat:
sys/dev/mca/mca.c | 6 +++---
sys/dev/ofisa/ofisa.c | 6 +++---
sys/dev/ofw/ofbus.c | 6 +++---
3 files changed, 9 insertions(+), 9 deletions(-)
diffs (81 lines):
diff -r 5dae9fbcbac9 -r 7f7c0c593112 sys/dev/mca/mca.c
--- a/sys/dev/mca/mca.c Fri Jun 03 07:35:37 2011 +0000
+++ b/sys/dev/mca/mca.c Fri Jun 03 07:39:30 2011 +0000
@@ -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 *);
diff -r 5dae9fbcbac9 -r 7f7c0c593112 sys/dev/ofisa/ofisa.c
--- a/sys/dev/ofisa/ofisa.c Fri Jun 03 07:35:37 2011 +0000
+++ b/sys/dev/ofisa/ofisa.c Fri Jun 03 07:39:30 2011 +0000
@@ -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;
diff -r 5dae9fbcbac9 -r 7f7c0c593112 sys/dev/ofw/ofbus.c
--- a/sys/dev/ofw/ofbus.c Fri Jun 03 07:35:37 2011 +0000
+++ b/sys/dev/ofw/ofbus.c Fri Jun 03 07:39:30 2011 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index