Use CFATTACH_DECL().

This commit is contained in:
thorpej 2002-10-02 02:21:20 +00:00
parent 434631fe62
commit 5a9ddc1422
45 changed files with 172 additions and 220 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.c,v 1.5 2002/09/27 20:29:02 thorpej Exp $ */
/* $NetBSD: cpu.c,v 1.6 2002/10/02 02:21:20 thorpej Exp $ */
/*-
* Copyright (c) 2000, 2001 Ben Harris
@ -32,7 +32,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.5 2002/09/27 20:29:02 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.6 2002/10/02 02:21:20 thorpej Exp $");
#include <sys/device.h>
#include <sys/proc.h>
@ -67,9 +67,8 @@ struct cpu_softc {
struct device sc_dev;
};
const struct cfattach cpu_root_ca = {
sizeof(struct cpu_softc), cpu_match, cpu_attach
};
CFATTACH_DECL(cpu_root, sizeof(struct cpu_root_softc),
cpu_match, cpu_attach, NULL, NULL);
/* cf_flags bits */
#define CFF_NOCACHE 0x00000001

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpu.c,v 1.3 2002/09/27 20:29:03 thorpej Exp $ */
/* $NetBSD: fpu.c,v 1.4 2002/10/02 02:21:20 thorpej Exp $ */
/*-
* Copyright (c) 2000, 2001 Ben Harris
@ -32,7 +32,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: fpu.c,v 1.3 2002/09/27 20:29:03 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: fpu.c,v 1.4 2002/10/02 02:21:20 thorpej Exp $");
#include <sys/device.h>
#include <sys/proc.h>
@ -51,9 +51,8 @@ static int fpu_match(struct device *, struct cfdata *, void *);
static void fpu_attach(struct device *, struct device *, void *);
static register_t fpu_identify(void);
const struct cfattach fpu_ca = {
sizeof(struct fpu_softc), fpu_match, fpu_attach
};
CFATTACH_DECL(fpu, sizeof(struct fpu_softc),
fpu_match, fpu_attach, NULL, NULL);
struct fpu_softc *the_fpu;

View File

@ -1,4 +1,4 @@
/* $NetBSD: iobus.c,v 1.5 2002/09/27 20:29:04 thorpej Exp $ */
/* $NetBSD: iobus.c,v 1.6 2002/10/02 02:21:20 thorpej Exp $ */
/*-
* Copyright (c) 1998 Ben Harris
* All rights reserved.
@ -31,7 +31,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: iobus.c,v 1.5 2002/09/27 20:29:04 thorpej Exp $");
__RCSID("$NetBSD: iobus.c,v 1.6 2002/10/02 02:21:20 thorpej Exp $");
#include <sys/device.h>
#include <sys/systm.h>
@ -53,9 +53,8 @@ struct iobus_softc {
struct device sc_dev;
};
const struct cfattach iobus_ca = {
sizeof(struct iobus_softc), iobus_match, iobus_attach
};
CFATTACH_DECL(iobus, sizeof(struct iobus_softc),
iobus_match, iobus_attach, NULL, NULL);
struct iobus_softc *the_iobus;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ioc.c,v 1.4 2002/09/27 20:29:04 thorpej Exp $ */
/* $NetBSD: ioc.c,v 1.5 2002/10/02 02:21:20 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 Ben Harris
@ -32,7 +32,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: ioc.c,v 1.4 2002/09/27 20:29:04 thorpej Exp $");
__RCSID("$NetBSD: ioc.c,v 1.5 2002/10/02 02:21:20 thorpej Exp $");
#include <sys/device.h>
#include <sys/kernel.h>
@ -58,9 +58,8 @@ static int ioc_print(void *aux, const char *pnp);
static int ioc_irq_clock(void *cookie);
static int ioc_irq_statclock(void *cookie);
const struct cfattach ioc_ca = {
sizeof(struct ioc_softc), ioc_match, ioc_attach
};
CFATTACH_DECL(ioc, sizeof(struct ioc_softc),
ioc_match, ioc_attach, NULL, NULL);
struct device *the_ioc;

View File

@ -1,4 +1,4 @@
/* $NetBSD: upc_iobus.c,v 1.3 2002/09/27 20:29:04 thorpej Exp $ */
/* $NetBSD: upc_iobus.c,v 1.4 2002/10/02 02:21:20 thorpej Exp $ */
/*-
* Copyright (c) 2000 Ben Harris
* All rights reserved.
@ -31,7 +31,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: upc_iobus.c,v 1.3 2002/09/27 20:29:04 thorpej Exp $");
__RCSID("$NetBSD: upc_iobus.c,v 1.4 2002/10/02 02:21:20 thorpej Exp $");
#include <sys/device.h>
@ -60,9 +60,8 @@ struct upc_iobus_softc {
struct evcnt sc_intrcntp;
};
const struct cfattach upc_iobus_ca = {
sizeof(struct upc_iobus_softc), upc_iobus_match, upc_iobus_attach
};
CFATTACH_DECL(upc_iobus, sizeof(struct upc_iobus_softc),
upc_iobus_match, upc_iobus_attach, NULL, NULL);
static struct device *the_upc_iobus;

View File

@ -1,4 +1,4 @@
/* $NetBSD: arckbd.c,v 1.3 2002/09/27 20:29:05 thorpej Exp $ */
/* $NetBSD: arckbd.c,v 1.4 2002/10/02 02:21:21 thorpej Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 Ben Harris
* All rights reserved.
@ -42,7 +42,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: arckbd.c,v 1.3 2002/09/27 20:29:05 thorpej Exp $");
__RCSID("$NetBSD: arckbd.c,v 1.4 2002/10/02 02:21:21 thorpej Exp $");
#include <sys/device.h>
#include <sys/errno.h>
@ -164,9 +164,8 @@ struct arckbd_softc {
#define AKF_SENTLEDS 0x08
#define AKF_POLLING 0x10
const struct cfattach arckbd_ca = {
sizeof(struct arckbd_softc), arckbd_match, arckbd_attach
};
CFATTACH_DECL(arckbd, sizeof(struct arckbd_softc),
arckbd_match, arckbd_attach, NULL, NULL);
/*
* Internal devices used because arckbd can't be both a wskbddev and a
@ -178,15 +177,13 @@ const struct cfattach arckbd_ca = {
*/
#if NARCWSKBD > 0
const struct cfattach arcwskbd_ca = {
sizeof(struct device), arcwskbd_match, arcwskbd_attach
};
CFATTACH_DECL(arcwskbd, sizeof(struct arcwskbd_softc),
arcwskbd_match, arcwskbd_attach, NULL, NULL);
#endif
#if NARCWSMOUSE > 0
const struct cfattach arcwsmouse_ca = {
sizeof(struct device), arcwsmouse_match, arcwsmouse_attach
};
CFATTACH_DECL(arcwsmouse, sizeof(struct arcwsmouse_softc),
arcwsmouse_match, arcwsmouse_attach, NULL, NULL);
#endif
struct arckbd_attach_args {

View File

@ -1,4 +1,4 @@
/* $NetBSD: arcpp.c,v 1.3 2002/09/27 20:29:05 thorpej Exp $ */
/* $NetBSD: arcpp.c,v 1.4 2002/10/02 02:21:21 thorpej Exp $ */
/*-
* Copyright (c) 2001 Ben Harris
@ -52,7 +52,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: arcpp.c,v 1.3 2002/09/27 20:29:05 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: arcpp.c,v 1.4 2002/10/02 02:21:21 thorpej Exp $");
#include <sys/conf.h>
#include <sys/device.h>
@ -122,9 +122,8 @@ static void arcpp_attach(struct device *, struct device *, void *);
static int arcppintr(void *);
static int arcpppushbytes(struct arcpp_softc *);
const struct cfattach arcpp_ca = {
sizeof(struct arcpp_softc), arcpp_match, arcpp_attach
};
CFATTACH_DECL(arcpp, sizeof(struct arcpp_softc),
arcpp_match, arcpp_attach, NULL, NULL);
static int
arcpp_match(struct device *parent, struct cfdata *cf, void *aux)

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_eca.c,v 1.2 2002/09/27 20:29:06 thorpej Exp $ */
/* $NetBSD: if_eca.c,v 1.3 2002/10/02 02:21:21 thorpej Exp $ */
/*-
* Copyright (c) 2001 Ben Harris
@ -29,7 +29,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: if_eca.c,v 1.2 2002/09/27 20:29:06 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_eca.c,v 1.3 2002/10/02 02:21:21 thorpej Exp $");
#include <sys/device.h>
#include <sys/malloc.h>
@ -73,9 +73,8 @@ static void eca_gotframe(void *);
struct eca_softc *eca_fiqowner;
const struct cfattach eca_ca = {
sizeof(struct eca_softc), eca_match, eca_attach
};
CFATTACH_DECL(eca, sizeof(struct eca_softc),
eca_match, eca_attach, NULL, NULL);
static int
eca_match(struct device *parent, struct cfdata *cf, void *aux)

View File

@ -1,4 +1,4 @@
/* $NetBSD: iic.c,v 1.3 2002/09/27 20:29:06 thorpej Exp $ */
/* $NetBSD: iic.c,v 1.4 2002/10/02 02:21:21 thorpej Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -47,7 +47,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: iic.c,v 1.3 2002/09/27 20:29:06 thorpej Exp $");
__RCSID("$NetBSD: iic.c,v 1.4 2002/10/02 02:21:21 thorpej Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
@ -72,9 +72,8 @@ static int iic_match (struct device *, struct cfdata *, void *);
static void iic_attach(struct device *, struct device *, void *);
static int iicsearch(struct device *, struct cfdata *, void *);
const struct cfattach iic_ca = {
sizeof(struct iic_softc), iic_match, iic_attach
};
CFATTACH_DECL(iic, sizeof(struct iic_softc),
iic_match, iic_attach, NULL, NULL);
/* Local function prototypes */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ioeb.c,v 1.3 2002/09/27 20:29:06 thorpej Exp $ */
/* $NetBSD: ioeb.c,v 1.4 2002/10/02 02:21:21 thorpej Exp $ */
/*-
* Copyright (c) 2000 Ben Harris
@ -29,7 +29,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: ioeb.c,v 1.3 2002/09/27 20:29:06 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: ioeb.c,v 1.4 2002/10/02 02:21:21 thorpej Exp $");
#include <sys/device.h>
#include <sys/systm.h>
@ -49,9 +49,8 @@ struct ioeb_softc {
static int ioeb_match(struct device *, struct cfdata *, void *);
static void ioeb_attach(struct device *, struct device *, void *);
const struct cfattach ioeb_ca = {
sizeof(struct ioeb_softc), ioeb_match, ioeb_attach
};
CFATTACH_DECL(ioeb, sizeof(struct ioeb_softc),
ioeb_match, ioeb_attach, NULL, NULL);
struct device *the_ioeb;

View File

@ -1,4 +1,4 @@
/* $NetBSD: latches.c,v 1.2 2002/09/27 20:29:07 thorpej Exp $ */
/* $NetBSD: latches.c,v 1.3 2002/10/02 02:21:21 thorpej Exp $ */
/*-
* Copyright (c) 2001 Ben Harris
@ -29,7 +29,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: latches.c,v 1.2 2002/09/27 20:29:07 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: latches.c,v 1.3 2002/10/02 02:21:21 thorpej Exp $");
#include <sys/device.h>
#include <sys/systm.h>
@ -54,9 +54,8 @@ struct latches_softc {
static int latches_match(struct device *, struct cfdata *, void *);
static void latches_attach(struct device *, struct device *, void *);
const struct cfattach latches_ca = {
sizeof(struct latches_softc), latches_match, latches_attach
};
CFATTACH_DECL(latches, sizeof(struct latches_softc),
latches_match, latches_attach, NULL, NULL);
struct device *the_latches;

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtc.c,v 1.2 2002/09/27 20:29:07 thorpej Exp $ */
/* $NetBSD: rtc.c,v 1.3 2002/10/02 02:21:21 thorpej Exp $ */
/*
* Copyright (c) 2000 Ben Harris
@ -45,7 +45,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: rtc.c,v 1.2 2002/09/27 20:29:07 thorpej Exp $");
__RCSID("$NetBSD: rtc.c,v 1.3 2002/10/02 02:21:21 thorpej Exp $");
#include <sys/errno.h>
#include <sys/systm.h>
@ -86,9 +86,8 @@ struct rtc_softc *the_rtc;
/* device and attach structures */
const struct cfattach rtc_ca = {
sizeof(struct rtc_softc), rtcmatch, rtcattach
};
CFATTACH_DECL(rtc, sizeof(struct rtc_softc),
rtcmatch, rtcattach, NULL, NULL);
/*
* rtcmatch()

View File

@ -1,4 +1,4 @@
/* $NetBSD: ssn.c,v 1.3 2002/09/27 20:29:07 thorpej Exp $ */
/* $NetBSD: ssn.c,v 1.4 2002/10/02 02:21:21 thorpej Exp $ */
/*-
* Copyright (c) 2002 Ben Harris
@ -29,7 +29,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: ssn.c,v 1.3 2002/09/27 20:29:07 thorpej Exp $");
__RCSID("$NetBSD: ssn.c,v 1.4 2002/10/02 02:21:21 thorpej Exp $");
#include <sys/device.h>
#include <sys/systm.h>
@ -51,9 +51,8 @@ struct ssn_softc {
static int ssn_match(struct device *, struct cfdata *, void *);
static void ssn_attach(struct device *, struct device *, void *);
const struct cfattach ssn_ca = {
sizeof(struct ssn_softc), ssn_match, ssn_attach
};
CFATTACH_DECL(ssn, sizeof(struct ssn_softc),
ssn_match, ssn_attach, NULL, NULL);
static int ds_ioc_read_bit(void *);
static void ds_ioc_write_bit(void *, int);

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_eh.c,v 1.4 2002/09/27 20:29:08 thorpej Exp $ */
/* $NetBSD: if_eh.c,v 1.5 2002/10/02 02:21:21 thorpej Exp $ */
/*-
* Copyright (c) 2000 Ben Harris
@ -52,7 +52,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: if_eh.c,v 1.4 2002/09/27 20:29:08 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: if_eh.c,v 1.5 2002/10/02 02:21:21 thorpej Exp $");
#include <sys/systm.h>
#include <sys/device.h>
@ -134,9 +134,8 @@ static void eh_mediastatus(struct dp8390_softc *, struct ifmediareq *);
static int eh_match(struct device *, struct cfdata *, void *);
static void eh_attach(struct device *, struct device *, void *);
const struct cfattach eh_ca = {
sizeof(struct eh_softc), eh_match, eh_attach
};
CFATTACH_DECL(eh, sizeof(struct eh_softc),
eh_match, eh_attach, NULL, NULL);
static int
eh_match(struct device *parent, struct cfdata *cf, void *aux)

View File

@ -1,4 +1,4 @@
/* $NetBSD: podulebus.c,v 1.5 2002/09/27 20:29:09 thorpej Exp $ */
/* $NetBSD: podulebus.c,v 1.6 2002/10/02 02:21:21 thorpej Exp $ */
/*-
* Copyright (c) 2000 Ben Harris
@ -29,7 +29,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: podulebus.c,v 1.5 2002/09/27 20:29:09 thorpej Exp $");
__RCSID("$NetBSD: podulebus.c,v 1.6 2002/10/02 02:21:21 thorpej Exp $");
#include <sys/device.h>
#include <sys/malloc.h>
@ -74,9 +74,8 @@ struct podulebus_softc {
struct ioc_attach_args sc_ioc;
};
const struct cfattach podulebus_ca = {
sizeof(struct podulebus_softc), podulebus_match, podulebus_attach
};
CFATTACH_DECL(podulebus, sizeof(struct podulebus_softc),
podulebus_match, podulebus_attach, NULL, NULL);
/* ARGSUSED */
static int

View File

@ -1,10 +1,10 @@
/* $NetBSD: powerrom.c,v 1.2 2002/09/27 20:29:09 thorpej Exp $ */
/* $NetBSD: powerrom.c,v 1.3 2002/10/02 02:21:21 thorpej Exp $ */
/* Test driver to see if we can talk to PowerROMs */
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: powerrom.c,v 1.2 2002/09/27 20:29:09 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: powerrom.c,v 1.3 2002/10/02 02:21:21 thorpej Exp $");
#include <sys/device.h>
#include <sys/systm.h>
@ -14,9 +14,8 @@ __KERNEL_RCSID(0, "$NetBSD: powerrom.c,v 1.2 2002/09/27 20:29:09 thorpej Exp $")
int powerrom_match(struct device *, struct cfdata *, void *);
void powerrom_attach(struct device *, struct device *, void *);
const struct cfattach powerrom_ca = {
sizeof(struct device), powerrom_match, powerrom_attach
};
CFATTACH_DECL(powerrom, sizeof(struct powerrom_softc),
powerrom_match, powerrom_attach, NULL, NULL);
int
powerrom_match(struct device *parent, struct cfdata *cf, void *aux)

View File

@ -1,4 +1,4 @@
/* $NetBSD: unixbp.c,v 1.3 2002/09/27 20:29:10 thorpej Exp $ */
/* $NetBSD: unixbp.c,v 1.4 2002/10/02 02:21:21 thorpej Exp $ */
/*-
* Copyright (c) 2000 Ben Harris
@ -32,7 +32,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: unixbp.c,v 1.3 2002/09/27 20:29:10 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: unixbp.c,v 1.4 2002/10/02 02:21:21 thorpej Exp $");
#include <sys/device.h>
#include <sys/systm.h>
@ -50,9 +50,8 @@ struct unixbp_softc {
static int unixbp_match(struct device *, struct cfdata *, void *);
static void unixbp_attach(struct device *, struct device *, void *);
const struct cfattach unixbp_ca = {
sizeof(struct unixbp_softc), unixbp_match, unixbp_attach
};
CFATTACH_DECL(unixbp, sizeof(struct unixbp_softc),
unixbp_match, unixbp_attach, NULL, NULL);
struct device *the_unixbp;

View File

@ -1,4 +1,4 @@
/* $NetBSD: arcvideo.c,v 1.4 2002/09/27 20:29:10 thorpej Exp $ */
/* $NetBSD: arcvideo.c,v 1.5 2002/10/02 02:21:22 thorpej Exp $ */
/*-
* Copyright (c) 1998, 2000 Ben Harris
* All rights reserved.
@ -38,7 +38,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: arcvideo.c,v 1.4 2002/09/27 20:29:10 thorpej Exp $");
__RCSID("$NetBSD: arcvideo.c,v 1.5 2002/10/02 02:21:22 thorpej Exp $");
#include <sys/device.h>
#include <sys/errno.h>
@ -97,9 +97,8 @@ struct arcvideo_softc {
#define AV_VIDEO_ON 0x01
};
const struct cfattach arcvideo_ca = {
sizeof(struct arcvideo_softc), arcvideo_match, arcvideo_attach
};
CFATTACH_DECL(arcvideo, sizeof(struct arcvideo_softc),
arcvideo_match, arcvideo_attach, NULL, NULL);
struct device *the_arcvideo;

View File

@ -1,4 +1,4 @@
/* $NetBSD: hydra.c,v 1.4 2002/10/01 22:52:22 bjh21 Exp $ */
/* $NetBSD: hydra.c,v 1.5 2002/10/02 02:23:50 thorpej Exp $ */
/*-
* Copyright (c) 2002 Ben Harris
@ -29,7 +29,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: hydra.c,v 1.4 2002/10/01 22:52:22 bjh21 Exp $");
__KERNEL_RCSID(0, "$NetBSD: hydra.c,v 1.5 2002/10/02 02:23:50 thorpej Exp $");
#include <sys/device.h>
#include <sys/systm.h>
@ -65,7 +65,7 @@ static void hydra_shutdown(void *);
static void hydra_reset(struct hydra_softc *);
CFATTACH_DECL(hydra, sizeof(struct hydra_softc),
hydra_match, hydra_attach, NULL, NULL)
hydra_match, hydra_attach, NULL, NULL);
extern char const hydra_bootcode[], hydra_ebootcode[];

View File

@ -1,4 +1,4 @@
/* $NetBSD: com_pioc.c,v 1.5 2002/09/27 20:29:11 thorpej Exp $ */
/* $NetBSD: com_pioc.c,v 1.6 2002/10/02 02:23:51 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -73,7 +73,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: com_pioc.c,v 1.5 2002/09/27 20:29:11 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: com_pioc.c,v 1.6 2002/10/02 02:23:51 thorpej Exp $");
#include <sys/systm.h>
#include <sys/tty.h>
@ -109,9 +109,8 @@ static void com_pioc_cleanup __P((void *));
/* device attach structure */
const struct cfattach com_pioc_ca = {
sizeof(struct com_pioc_softc), com_pioc_probe, com_pioc_attach
};
CFATTACH_DECL(com_pioc, sizeof(struct com_pioc_softc),
com_pioc_probe, com_pioc_attach, NULL, NULL);
extern bus_space_tag_t comconstag; /* From pioc.c */

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.8 2002/09/27 20:29:12 thorpej Exp $ */
/* $NetBSD: fd.c,v 1.9 2002/10/02 02:23:51 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -186,9 +186,8 @@ int fdcprobe __P((struct device *, struct cfdata *, void *));
int fdprint __P((void *, const char *));
void fdcattach __P((struct device *, struct device *, void *));
const struct cfattach fdc_ca = {
sizeof(struct fdc_softc), fdcprobe, fdcattach
};
CFATTACH_DECL(fdc, sizeof(struct fdc_softc),
fdcprobe, fdcattach, NULL, NULL);
/*
* Floppies come in various flavors, e.g., 1.2MB vs 1.44MB; here is how
@ -264,9 +263,8 @@ void fdattach __P((struct device *, struct device *, void *));
extern char floppy_read_fiq[], floppy_read_fiq_end[];
extern char floppy_write_fiq[], floppy_write_fiq_end[];
const struct cfattach fd_ca = {
sizeof(struct fd_softc), fdprobe, fdattach
};
CFATTACH_DECL(fd, sizeof(struct fd_softc),
fdprobe, fdattach, NULL, NULL);
extern struct cfdriver fd_cd;

View File

@ -1,4 +1,4 @@
/* $NetBSD: lpt_pioc.c,v 1.6 2002/09/27 20:29:12 thorpej Exp $ */
/* $NetBSD: lpt_pioc.c,v 1.7 2002/10/02 02:23:51 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe
@ -36,7 +36,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: lpt_pioc.c,v 1.6 2002/09/27 20:29:12 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: lpt_pioc.c,v 1.7 2002/10/02 02:23:51 thorpej Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
@ -59,9 +59,8 @@ static void lpt_pioc_attach __P((struct device *, struct device *, void *));
/* device attach structure */
const struct cfattach lpt_pioc_ca = {
sizeof(struct lpt_softc), lpt_pioc_probe, lpt_pioc_attach
};
CFATTACH_DECL(lpt_pioc, sizeof(struct lpt_pioc_softc),
lpt_pioc_probe, lpt_pioc_attach, NULL, NULL);
/*
* Internal routine to lptprobe to do port tests of one byte value.

View File

@ -1,4 +1,4 @@
/* $NetBSD: pioc.c,v 1.3 2002/09/27 20:29:13 thorpej Exp $ */
/* $NetBSD: pioc.c,v 1.4 2002/10/02 02:23:51 thorpej Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
@ -100,9 +100,8 @@ static void piocgetid __P((bus_space_tag_t iot, bus_space_handle_t ioh,
/* device attach and driver structure */
const struct cfattach pioc_ca = {
sizeof(struct pioc_softc), piocmatch, piocattach
};
CFATTACH_DECL(pioc, sizeof(struct pioc_softc),
piocmatch, piocattach, NULL, NULL);
/*
* void piocgetid(bus_space_tag_t iot, bus_space_handle_t ioh,

View File

@ -1,4 +1,4 @@
/* $NetBSD: wdc_pioc.c,v 1.4 2002/09/27 20:29:13 thorpej Exp $ */
/* $NetBSD: wdc_pioc.c,v 1.5 2002/10/02 02:23:51 thorpej Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe.
@ -64,9 +64,8 @@ static int wdc_pioc_probe __P((struct device *, struct cfdata *, void *));
static void wdc_pioc_attach __P((struct device *, struct device *, void *));
/* device attach structure */
const struct cfattach wdc_pioc_ca = {
sizeof(struct wdc_pioc_softc), wdc_pioc_probe, wdc_pioc_attach
};
CFATTACH_DECL(wdc_pioc, sizeof(struct wdc_pioc_softc),
wdc_pioc_probe, wdc_pioc_attach, NULL, NULL);
/*
* int wdc_pioc_probe(struct device *parent, struct cfdata *cf, void *aux)

View File

@ -1,4 +1,4 @@
/* $NetBSD: amps.c,v 1.4 2002/09/27 20:29:14 thorpej Exp $ */
/* $NetBSD: amps.c,v 1.5 2002/10/02 02:23:51 thorpej Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -94,9 +94,8 @@ int amps_probe __P((struct device *, struct cfdata *, void *));
void amps_attach __P((struct device *, struct device *, void *));
void amps_shutdown __P((void *arg));
const struct cfattach amps_ca = {
sizeof(struct amps_softc), amps_probe, amps_attach
};
CFATTACH_DECL(amps, sizeof(struct amps_softc),
amps_probe, amps_attach, NULL, NULL);
/*
* Attach arguments for child devices.
@ -229,9 +228,8 @@ static void com_amps_attach __P((struct device *, struct device *, void *));
/* device attach structure */
const struct cfattach com_amps_ca = {
sizeof(struct com_amps_softc), com_amps_probe, com_amps_attach
};
CFATTACH_DECL(com_amps, sizeof(struct com_amps_softc),
com_amps_probe, com_amps_attach, NULL, NULL);
/*
* Controller probe function

View File

@ -1,4 +1,4 @@
/* $NetBSD: asc.c,v 1.9 2002/09/27 20:29:15 thorpej Exp $ */
/* $NetBSD: asc.c,v 1.10 2002/10/02 02:23:51 thorpej Exp $ */
/*
* Copyright (c) 2001 Richard Earnshaw
@ -74,7 +74,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: asc.c,v 1.9 2002/09/27 20:29:15 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: asc.c,v 1.10 2002/10/02 02:23:51 thorpej Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
@ -122,9 +122,8 @@ void asc_dump (void);
int asc_dmadebug = 0;
#endif
const struct cfattach asc_ca = {
sizeof(struct asc_softc), ascmatch, ascattach
};
CFATTACH_DECL(asc, sizeof(struct asc_softc),
ascmatch, ascattach, NULL, NULL);
extern struct cfdriver asc_cd;

View File

@ -1,4 +1,4 @@
/* $NetBSD: cosc.c,v 1.7 2002/09/27 20:29:15 thorpej Exp $ */
/* $NetBSD: cosc.c,v 1.8 2002/10/02 02:23:51 thorpej Exp $ */
/*
* Copyright (c) 1996 Mark Brinicombe
@ -62,9 +62,8 @@
void coscattach __P((struct device *, struct device *, void *));
int coscmatch __P((struct device *, struct cfdata *, void *));
const struct cfattach cosc_ca = {
sizeof(struct cosc_softc), coscmatch, coscattach
};
CFATTACH_DECL(cosc, sizeof(struct cosc_softc),
coscmatch, coscattach, NULL, NULL);
int cosc_intr __P((void *arg));
int cosc_setup_dma __P((struct esc_softc *sc, void *ptr, int len,

View File

@ -1,4 +1,4 @@
/* $NetBSD: csa.c,v 1.4 2002/09/27 20:29:15 thorpej Exp $ */
/* $NetBSD: csa.c,v 1.5 2002/10/02 02:23:51 thorpej Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -97,9 +97,8 @@ struct csa_softc {
volatile u_char *sc_data;
};
const struct cfattach csa_ca = {
sizeof(struct csa_softc), csa_match, csa_attach
};
CFATTACH_DECL(csa, sizeof(struct csa_softc),
csa_match, csa_attach, NULL, NULL);
int csa_intr __P((void *arg));

View File

@ -1,4 +1,4 @@
/* $NetBSD: csc.c,v 1.6 2002/09/27 20:29:15 thorpej Exp $ */
/* $NetBSD: csc.c,v 1.7 2002/10/02 02:23:51 thorpej Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -63,9 +63,8 @@
void cscattach __P((struct device *, struct device *, void *));
int cscmatch __P((struct device *, struct cfdata *, void *));
const struct cfattach csc_ca = {
sizeof(struct csc_softc), cscmatch, cscattach
};
CFATTACH_DECL(csc, sizeof(struct csc_softc),
cscmatch, cscattach, NULL, NULL);
int csc_intr __P((void *arg));
int csc_setup_dma __P((struct sfas_softc *sc, void *ptr, int len,

View File

@ -1,4 +1,4 @@
/* $NetBSD: icside.c,v 1.8 2002/10/01 22:38:56 bjh21 Exp $ */
/* $NetBSD: icside.c,v 1.9 2002/10/02 02:23:51 thorpej Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe
@ -42,7 +42,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: icside.c,v 1.8 2002/10/01 22:38:56 bjh21 Exp $");
__KERNEL_RCSID(0, "$NetBSD: icside.c,v 1.9 2002/10/02 02:23:51 thorpej Exp $");
#include <sys/systm.h>
#include <sys/conf.h>
@ -99,9 +99,8 @@ void icside_attach(struct device *, struct device *, void *);
int icside_intr(void *);
void icside_v6_shutdown(void *);
const struct cfattach icside_ca = {
sizeof(struct icside_softc), icside_probe, icside_attach
};
CFATTACH_DECL(icside, sizeof(struct icside_softc),
icside_probe, icside_attach, NULL, NULL);
/*
* Define prototypes for custom bus space functions.

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ie.c,v 1.8 2002/09/27 20:29:16 thorpej Exp $ */
/* $NetBSD: if_ie.c,v 1.9 2002/10/02 02:23:51 thorpej Exp $ */
/*
* Copyright (c) 1995 Melvin Tang-Richardson.
@ -61,7 +61,7 @@
#include <sys/param.h>
__RCSID("$NetBSD: if_ie.c,v 1.8 2002/09/27 20:29:16 thorpej Exp $");
__RCSID("$NetBSD: if_ie.c,v 1.9 2002/10/02 02:23:51 thorpej Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
@ -200,9 +200,8 @@ static void start_receiver(struct ie_softc *);
* Our cfattach structure for the autoconfig system to chew on
*/
const struct cfattach ie_ca = {
sizeof(struct ie_softc), ieprobe, ieattach
};
CFATTACH_DECL(ie, sizeof(struct ie_softc),
ieprobe, ieattach, NULL, NULL);
/* Let's go! */

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ne_pbus.c,v 1.7 2002/09/27 20:29:16 thorpej Exp $ */
/* $NetBSD: if_ne_pbus.c,v 1.8 2002/10/02 02:23:51 thorpej Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -103,9 +103,8 @@ struct ne_pbus_softc {
static int ne_pbus_probe __P((struct device *, struct cfdata *, void *));
static void ne_pbus_attach __P((struct device *, struct device *, void *));
const struct cfattach ne_pbus_ca = {
sizeof(struct ne_pbus_softc), ne_pbus_probe, ne_pbus_attach
};
CFATTACH_DECL(ne_pbus, sizeof(struct ne_pbus_softc),
ne_pbus_probe, ne_pbus_attach, NULL, NULL);
/*
* Prototypes for interface specific routines

View File

@ -1,4 +1,4 @@
/* $NetBSD: podulebus.c,v 1.12 2002/09/27 20:29:17 thorpej Exp $ */
/* $NetBSD: podulebus.c,v 1.13 2002/10/02 02:23:52 thorpej Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -43,7 +43,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: podulebus.c,v 1.12 2002/09/27 20:29:17 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: podulebus.c,v 1.13 2002/10/02 02:23:52 thorpej Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
@ -525,9 +525,8 @@ podulebusattach(parent, self, aux)
}
const struct cfattach podulebus_ca = {
sizeof(struct device), podulebusmatch, podulebusattach
};
CFATTACH_DECL(podulebus, sizeof(struct podulebus_softc),
podulebusmatch, podulebusattach, NULL, NULL);
/* Useful functions that drivers may share */

View File

@ -1,4 +1,4 @@
/* $NetBSD: ptsc.c,v 1.5 2002/09/27 20:29:17 thorpej Exp $ */
/* $NetBSD: ptsc.c,v 1.6 2002/10/02 02:23:52 thorpej Exp $ */
/*
* Copyright (c) 1995 Scott Stevens
@ -68,9 +68,8 @@
void ptscattach __P((struct device *, struct device *, void *));
int ptscmatch __P((struct device *, struct cfdata *, void *));
const struct cfattach ptsc_ca = {
sizeof(struct ptsc_softc), ptscmatch, ptscattach
};
CFATTACH_DECL(ptsc, sizeof(struct ptsc_softc),
ptscmatch, ptscattach, NULL, NULL);
int ptsc_intr __P((void *arg));
int ptsc_setup_dma __P((struct sfas_softc *sc, void *ptr, int len,

View File

@ -1,4 +1,4 @@
/* $NetBSD: rapide.c,v 1.5 2002/09/27 20:29:18 thorpej Exp $ */
/* $NetBSD: rapide.c,v 1.6 2002/10/02 02:23:52 thorpej Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe
@ -125,9 +125,8 @@ void rapide_attach __P((struct device *, struct device *, void *));
void rapide_shutdown __P((void *arg));
int rapide_intr __P((void *));
const struct cfattach rapide_ca = {
sizeof(struct rapide_softc), rapide_probe, rapide_attach
};
CFATTACH_DECL(rapide, sizeof(struct rapide_softc),
rapide_probe, rapide_attach, NULL, NULL);
/*
* We have a private bus space tag.

View File

@ -1,4 +1,4 @@
/* $NetBSD: simide.c,v 1.5 2002/09/27 20:29:18 thorpej Exp $ */
/* $NetBSD: simide.c,v 1.6 2002/10/02 02:23:52 thorpej Exp $ */
/*
* Copyright (c) 1997-1998 Mark Brinicombe
@ -95,9 +95,8 @@ void simide_attach __P((struct device *, struct device *, void *));
void simide_shutdown __P((void *arg));
int simide_intr __P((void *arg));
const struct cfattach simide_ca = {
sizeof(struct simide_softc), simide_probe, simide_attach
};
CFATTACH_DECL(simide, sizeof(struct simide_softc),
simide_probe, simide_attach, NULL, NULL);
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.c,v 1.2 2002/09/27 20:29:18 thorpej Exp $ */
/* $NetBSD: cpu.c,v 1.3 2002/10/02 02:26:41 thorpej Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -36,9 +36,8 @@
int cpu_match(struct device *, struct cfdata *, void *);
void cpu_attach(struct device *, struct device *, void *);
const struct cfattach cpu_ca = {
sizeof (struct device), cpu_match, cpu_attach
};
CFATTACH_DECL(cpu, sizeof(struct cpu_softc),
cpu_match, cpu_attach, NULL, NULL);
extern struct cfdriver cpu_cd;
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: bonito_mainbus.c,v 1.3 2002/09/27 20:29:19 thorpej Exp $ */
/* $NetBSD: bonito_mainbus.c,v 1.4 2002/10/02 02:26:42 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -61,9 +61,8 @@ struct bonito_softc {
int bonito_mainbus_match(struct device *, struct cfdata *, void *);
void bonito_mainbus_attach(struct device *, struct device *, void *);
const struct cfattach bonito_mainbus_ca = {
sizeof(struct bonito_softc), bonito_mainbus_match,
bonito_mainbus_attach,
CFATTACH_DECL(bonito_mainbus, sizeof(struct bonito_mainbus_softc),
bonito_mainbus_match, bonito_mainbus_attach, NULL, NULL);
};
extern struct cfdriver bonito_cd;

View File

@ -1,4 +1,4 @@
/* $NetBSD: com_mainbus.c,v 1.5 2002/09/27 20:29:19 thorpej Exp $ */
/* $NetBSD: com_mainbus.c,v 1.6 2002/10/02 02:26:42 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -40,7 +40,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: com_mainbus.c,v 1.5 2002/09/27 20:29:19 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: com_mainbus.c,v 1.6 2002/10/02 02:26:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -75,9 +75,8 @@ int com_mainbus_match(struct device *, struct cfdata *, void *);
void com_mainbus_attach(struct device *, struct device *, void *);
void com_mainbus_cleanup(void *);
const struct cfattach com_mainbus_ca = {
sizeof(struct com_mainbus_softc), com_mainbus_match,
com_mainbus_attach
CFATTACH_DECL(com_mainbus, sizeof(struct com_mainbus_softc),
com_mainbus_match, com_mainbus_attach, NULL, NULL);
};
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: lpt_mainbus.c,v 1.5 2002/09/27 20:29:19 thorpej Exp $ */
/* $NetBSD: lpt_mainbus.c,v 1.6 2002/10/02 02:26:42 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: lpt_mainbus.c,v 1.5 2002/09/27 20:29:19 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: lpt_mainbus.c,v 1.6 2002/10/02 02:26:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -72,9 +72,8 @@ struct lpt_mainbus_softc {
int lpt_mainbus_match(struct device *, struct cfdata *, void *);
void lpt_mainbus_attach(struct device *, struct device *, void *);
const struct cfattach lpt_mainbus_ca = {
sizeof(struct lpt_mainbus_softc), lpt_mainbus_match,
lpt_mainbus_attach
CFATTACH_DECL(lpt_mainbus, sizeof(struct lpt_mainbus_softc),
lpt_mainbus_match, lpt_mainbus_attach, NULL, NULL);
};
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.10 2002/09/27 20:29:20 thorpej Exp $ */
/* $NetBSD: mainbus.c,v 1.11 2002/10/02 02:26:42 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -70,9 +70,8 @@
int mainbus_match(struct device *, struct cfdata *, void *);
void mainbus_attach(struct device *, struct device *, void *);
const struct cfattach mainbus_ca = {
sizeof(struct device), mainbus_match, mainbus_attach,
};
CFATTACH_DECL(mainbus, sizeof(struct mainbus_softc),
mainbus_match, mainbus_attach, NULL, NULL);
int mainbus_print(void *, const char *);
int mainbus_submatch(struct device *, struct cfdata *, void *);

View File

@ -1,4 +1,4 @@
/* $NetBSD: mcclock_mainbus.c,v 1.3 2002/09/27 20:29:20 thorpej Exp $ */
/* $NetBSD: mcclock_mainbus.c,v 1.4 2002/10/02 02:26:42 thorpej Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@ -29,7 +29,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: mcclock_mainbus.c,v 1.3 2002/09/27 20:29:20 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: mcclock_mainbus.c,v 1.4 2002/10/02 02:26:42 thorpej Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -54,9 +54,8 @@ struct mcclock_mainbus_softc {
int mcclock_mainbus_match(struct device *, struct cfdata *, void *);
void mcclock_mainbus_attach(struct device *, struct device *, void *);
const struct cfattach mcclock_mainbus_ca = {
sizeof (struct mcclock_mainbus_softc), mcclock_mainbus_match,
mcclock_mainbus_attach,
CFATTACH_DECL(mcclock_mainbus, sizeof(struct mcclock_mainbus_softc),
mcclock_mainbus_match, mcclock_mainbus_attach, NULL, NULL);
};
void mcclock_mainbus_write(struct mcclock_softc *, u_int, u_int);

View File

@ -1,4 +1,4 @@
/* $NetBSD: vtpbc_mainbus.c,v 1.7 2002/09/27 20:29:20 thorpej Exp $ */
/* $NetBSD: vtpbc_mainbus.c,v 1.8 2002/10/02 02:26:42 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -66,9 +66,8 @@ struct vtpbc_softc {
int vtpbc_mainbus_match(struct device *, struct cfdata *, void *);
void vtpbc_mainbus_attach(struct device *, struct device *, void *);
const struct cfattach vtpbc_mainbus_ca = {
sizeof(struct vtpbc_softc), vtpbc_mainbus_match, vtpbc_mainbus_attach,
};
CFATTACH_DECL(vtpbc_mainbus, sizeof(struct vtpbc_mainbus_softc),
vtpbc_mainbus_match, vtpbc_mainbus_attach, NULL, NULL);
extern struct cfdriver vtpbc_cd;
int vtpbc_mainbus_print(void *, const char *);

View File

@ -1,4 +1,4 @@
/* $NetBSD: mcclock_isa.c,v 1.3 2002/09/27 20:29:20 thorpej Exp $ */
/* $NetBSD: mcclock_isa.c,v 1.4 2002/10/02 02:26:43 thorpej Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@ -29,7 +29,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: mcclock_isa.c,v 1.3 2002/09/27 20:29:20 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: mcclock_isa.c,v 1.4 2002/10/02 02:26:43 thorpej Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -57,9 +57,8 @@ struct mcclock_isa_softc {
int mcclock_isa_match(struct device *, struct cfdata *, void *);
void mcclock_isa_attach(struct device *, struct device *, void *);
const struct cfattach mcclock_isa_ca = {
sizeof (struct mcclock_isa_softc), mcclock_isa_match,
mcclock_isa_attach,
CFATTACH_DECL(mcclock_isa, sizeof(struct mcclock_isa_softc),
mcclock_isa_match, mcclock_isa_attach, NULL, NULL);
};
void mcclock_isa_write(struct mcclock_softc *, u_int, u_int);

View File

@ -1,4 +1,4 @@
/* $NetBSD: pcib.c,v 1.10 2002/09/27 20:29:21 thorpej Exp $ */
/* $NetBSD: pcib.c,v 1.11 2002/10/02 02:26:43 thorpej Exp $ */
/*-
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.10 2002/09/27 20:29:21 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: pcib.c,v 1.11 2002/10/02 02:26:43 thorpej Exp $");
#include "opt_algor_p5064.h"
#include "opt_algor_p6032.h"
@ -121,9 +121,8 @@ struct pcib_softc {
int pcib_match(struct device *, struct cfdata *, void *);
void pcib_attach(struct device *, struct device *, void *);
const struct cfattach pcib_ca = {
sizeof(struct pcib_softc), pcib_match, pcib_attach,
};
CFATTACH_DECL(pcib, sizeof(struct pcib_softc),
pcib_match, pcib_attach, NULL, NULL);
int pcib_print(void *, const char *pnp);
void pcib_isa_attach_hook(struct device *, struct device *,