Add trailing ; to CFATTACH_DECL.
This commit is contained in:
parent
4fcce79872
commit
89bf5a8f8e
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pccons.c,v 1.157 2002/10/02 05:47:14 thorpej Exp $ */
|
||||
/* $NetBSD: pccons.c,v 1.158 2002/10/02 15:52:22 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -83,7 +83,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: pccons.c,v 1.157 2002/10/02 05:47:14 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: pccons.c,v 1.158 2002/10/02 15:52:22 thorpej Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_xserver.h"
|
||||
@ -225,7 +225,7 @@ void pcconskbdattach __P((struct device *, struct device *, void *));
|
||||
void pcinput __P((void *, int));
|
||||
|
||||
CFATTACH_DECL(pcconskbd, sizeof(struct pcconskbd_softc), pcconskbdprobe,
|
||||
pcconskbdattach, NULL, NULL)
|
||||
pcconskbdattach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver pcconskbd_cd;
|
||||
#endif
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: auaudio.c,v 1.4 2002/10/01 02:56:45 thorpej Exp $ */
|
||||
/* $NetBSD: auaudio.c,v 1.5 2002/10/02 15:52:24 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -46,7 +46,7 @@ static int auaudio_match(struct device *, struct cfdata *, void *);
|
||||
static void auaudio_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(auaudio, sizeof (struct device),
|
||||
auaudio_match, auaudio_attach, NULL, NULL)
|
||||
auaudio_match, auaudio_attach, NULL, NULL);
|
||||
|
||||
int
|
||||
auaudio_match(struct device *parent, struct cfdata *match, void *aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: aucom_aubus.c,v 1.4 2002/10/01 02:56:45 thorpej Exp $ */
|
||||
/* $NetBSD: aucom_aubus.c,v 1.5 2002/10/02 15:52:24 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
@ -57,7 +57,7 @@ static int aucom_aubus_probe(struct device *, struct cfdata *, void *);
|
||||
static void aucom_aubus_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(aucom_aubus, sizeof(struct aucom_aubus_softc),
|
||||
aucom_aubus_probe, aucom_aubus_attach, NULL, NULL)
|
||||
aucom_aubus_probe, aucom_aubus_attach, NULL, NULL);
|
||||
|
||||
int
|
||||
aucom_aubus_probe(struct device *parent, struct cfdata *cf, void *aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: aurtc.c,v 1.4 2002/10/01 02:56:45 thorpej Exp $ */
|
||||
/* $NetBSD: aurtc.c,v 1.5 2002/10/02 15:52:24 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -53,7 +53,7 @@ static void aurtc_get(struct device *, time_t, struct clocktime *);
|
||||
static void aurtc_set(struct device *, struct clocktime *);
|
||||
|
||||
CFATTACH_DECL(aurtc, sizeof (struct device),
|
||||
aurtc_match, aurtc_attach, NULL, NULL)
|
||||
aurtc_match, aurtc_attach, NULL, NULL);
|
||||
|
||||
const struct clockfns aurtc_clockfns = {
|
||||
aurtc_init, aurtc_get, aurtc_set,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_aumac.c,v 1.5 2002/10/01 02:56:45 thorpej Exp $ */
|
||||
/* $NetBSD: if_aumac.c,v 1.6 2002/10/02 15:52:24 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Wasabi Systems, Inc.
|
||||
@ -46,7 +46,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_aumac.c,v 1.5 2002/10/01 02:56:45 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: if_aumac.c,v 1.6 2002/10/02 15:52:24 thorpej Exp $");
|
||||
|
||||
#include "bpfilter.h"
|
||||
|
||||
@ -201,7 +201,7 @@ static void aumac_attach(struct device *, struct device *, void *);
|
||||
int aumac_copy_small = 0;
|
||||
|
||||
CFATTACH_DECL(aumac, sizeof(struct aumac_softc),
|
||||
aumac_match, aumac_attach, NULL, NULL)
|
||||
aumac_match, aumac_attach, NULL, NULL);
|
||||
|
||||
static const struct {
|
||||
bus_addr_t mac_base;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ohci.c,v 1.4 2002/10/01 02:56:45 thorpej Exp $ */
|
||||
/* $NetBSD: ohci.c,v 1.5 2002/10/02 15:52:24 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -48,7 +48,7 @@ static int ohci_aubus_match(struct device *, struct cfdata *, void *);
|
||||
static void ohci_aubus_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(ohci_aubus, sizeof (struct device),
|
||||
ohci_aubus_match, ohci_aubus_attach, NULL, NULL)
|
||||
ohci_aubus_match, ohci_aubus_attach, NULL, NULL);
|
||||
|
||||
int
|
||||
ohci_aubus_match(struct device *parent, struct cfdata *match, void *aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbgbus.c,v 1.3 2002/10/01 02:54:11 thorpej Exp $ */
|
||||
/* $NetBSD: sbgbus.c,v 1.4 2002/10/02 15:52:25 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2000, 2001
|
||||
@ -49,7 +49,7 @@ static int sbgbus_match(struct device *, struct cfdata *, void *);
|
||||
static void sbgbus_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(sbgbus, sizeof(struct device),
|
||||
sbgbus_match, sbgbus_attach, NULL, NULL)
|
||||
sbgbus_match, sbgbus_attach, NULL, NULL);
|
||||
|
||||
static int sbgbussearch(struct device *, struct cfdata *, void *);
|
||||
static int sbgbusprint(void *, const char *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbjcn.c,v 1.3 2002/10/01 02:54:11 thorpej Exp $ */
|
||||
/* $NetBSD: sbjcn.c,v 1.4 2002/10/02 15:52:25 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2000, 2001
|
||||
@ -231,7 +231,7 @@ static int sbjcn_match(struct device *, struct cfdata *, void *);
|
||||
static void sbjcn_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(sbjcn, sizeof(struct sbjcn_softc),
|
||||
sbjcn_match, sbjcn_attach, NULL, NULL)
|
||||
sbjcn_match, sbjcn_attach, NULL, NULL);
|
||||
|
||||
#define READ_REG(rp) (mips3_ld((uint64_t *)(rp)))
|
||||
#define WRITE_REG(rp, val) (mips3_sd((uint64_t *)(rp), (val)))
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbmac.c,v 1.5 2002/10/01 02:54:11 thorpej Exp $ */
|
||||
/* $NetBSD: sbmac.c,v 1.6 2002/10/02 15:52:25 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2000, 2001
|
||||
@ -253,7 +253,7 @@ static void sbmac_tick(void *arg);
|
||||
/* Globals */
|
||||
|
||||
CFATTACH_DECL(sbmac, sizeof(struct sbmac_softc),
|
||||
sbmac_match, sbmac_attach, NULL, NULL)
|
||||
sbmac_match, sbmac_attach, NULL, NULL);
|
||||
|
||||
static uint32_t sbmac_mii_bitbang_read(struct device *self);
|
||||
static void sbmac_mii_bitbang_write(struct device *self, uint32_t val);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbobio.c,v 1.5 2002/10/01 02:54:12 thorpej Exp $ */
|
||||
/* $NetBSD: sbobio.c,v 1.6 2002/10/02 15:52:25 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2000, 2001
|
||||
@ -47,7 +47,7 @@ static int sbobio_match(struct device *, struct cfdata *, void *);
|
||||
static void sbobio_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(sbobio, sizeof(struct device),
|
||||
sbobio_match, sbobio_attach, NULL, NULL)
|
||||
sbobio_match, sbobio_attach, NULL, NULL);
|
||||
|
||||
static int sbobio_print(void *, const char *);
|
||||
static int sbobio_submatch(struct device *, struct cfdata *, void *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbscd.c,v 1.4 2002/10/01 02:54:12 thorpej Exp $ */
|
||||
/* $NetBSD: sbscd.c,v 1.5 2002/10/02 15:52:26 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2000, 2001
|
||||
@ -46,7 +46,7 @@ static int sbscd_match(struct device *, struct cfdata *, void *);
|
||||
static void sbscd_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(sbscd, sizeof(struct device),
|
||||
sbscd_match, sbscd_attach, NULL, NULL)
|
||||
sbscd_match, sbscd_attach, NULL, NULL);
|
||||
|
||||
static int sbscd_print(void *, const char *);
|
||||
static int sbscd_submatch(struct device *, struct cfdata *, void *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbscn.c,v 1.3 2002/10/01 02:54:12 thorpej Exp $ */
|
||||
/* $NetBSD: sbscn.c,v 1.4 2002/10/02 15:52:26 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2000, 2001
|
||||
@ -240,7 +240,7 @@ static int sbscn_match(struct device *, struct cfdata *, void *);
|
||||
static void sbscn_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(sbscn, sizeof(struct sbscn_softc),
|
||||
sbscn_match, sbscn_attach, NULL, NULL)
|
||||
sbscn_match, sbscn_attach, NULL, NULL);
|
||||
|
||||
#define READ_REG(rp) (mips3_ld((uint64_t *)(rp)))
|
||||
#define WRITE_REG(rp, val) (mips3_sd((uint64_t *)(rp), (val)))
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbsmbus.c,v 1.4 2002/10/01 02:54:12 thorpej Exp $ */
|
||||
/* $NetBSD: sbsmbus.c,v 1.5 2002/10/02 15:52:26 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -50,7 +50,7 @@ static int smbus_print(void *, const char *);
|
||||
static int smbus_submatch(struct device *, struct cfdata *, void *);
|
||||
|
||||
CFATTACH_DECL(smbus, sizeof(struct device),
|
||||
smbus_match, smbus_attach, NULL, NULL)
|
||||
smbus_match, smbus_attach, NULL, NULL);
|
||||
|
||||
/* autoconfiguration match information for zbbus children */
|
||||
struct smbus_attach_locs {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbtimer.c,v 1.6 2002/10/01 02:54:12 thorpej Exp $ */
|
||||
/* $NetBSD: sbtimer.c,v 1.7 2002/10/02 15:52:26 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2000, 2001
|
||||
@ -60,7 +60,7 @@ static int sbtimer_match(struct device *, struct cfdata *, void *);
|
||||
static void sbtimer_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(sbtimer, sizeof(struct sbtimer_softc),
|
||||
sbtimer_match, sbtimer_attach, NULL, NULL)
|
||||
sbtimer_match, sbtimer_attach, NULL, NULL);
|
||||
|
||||
static void sbtimer_clockintr(void *arg, uint32_t status, uint32_t pc);
|
||||
static void sbtimer_statclockintr(void *arg, uint32_t status,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sbwdog.c,v 1.3 2002/10/01 02:54:12 thorpej Exp $ */
|
||||
/* $NetBSD: sbwdog.c,v 1.4 2002/10/02 15:52:26 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002 Wasabi Systems, Inc.
|
||||
@ -68,7 +68,7 @@ static int sbwdog_tickle(struct sysmon_wdog *);
|
||||
static int sbwdog_setmode(struct sysmon_wdog *);
|
||||
|
||||
CFATTACH_DECL(sbwdog, sizeof(struct sbwdog_softc),
|
||||
sbwdog_match, sbwdog_attach, NULL, NULL)
|
||||
sbwdog_match, sbwdog_attach, NULL, NULL);
|
||||
|
||||
#define READ_REG(rp) (mips3_ld((uint64_t *)(rp)))
|
||||
#define WRITE_REG(rp, val) (mips3_sd((uint64_t *)(rp), (val)))
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: com_opb.c,v 1.7 2002/10/01 02:49:56 thorpej Exp $ */
|
||||
/* $NetBSD: com_opb.c,v 1.8 2002/10/02 15:52:27 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
@ -59,7 +59,7 @@ static int com_opb_probe(struct device *, struct cfdata *, void *);
|
||||
static void com_opb_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(com_opb, sizeof(struct com_opb_softc),
|
||||
com_opb_probe, com_opb_attach, NULL, NULL)
|
||||
com_opb_probe, com_opb_attach, NULL, NULL);
|
||||
|
||||
int
|
||||
com_opb_probe(struct device *parent, struct cfdata *cf, void *aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ecc_plb.c,v 1.5 2002/10/01 02:49:56 thorpej Exp $ */
|
||||
/* $NetBSD: ecc_plb.c,v 1.6 2002/10/02 15:52:27 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
@ -62,7 +62,7 @@ static void ecc_plb_deferred(struct device *);
|
||||
static int ecc_plb_intr(void *);
|
||||
|
||||
CFATTACH_DECL(ecc_plb, sizeof(struct ecc_plb_softc),
|
||||
ecc_plbmatch, ecc_plbattach, NULL, NULL)
|
||||
ecc_plbmatch, ecc_plbattach, NULL, NULL);
|
||||
|
||||
static int ecc_plb_found;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_emac.c,v 1.12 2002/10/01 02:49:56 thorpej Exp $ */
|
||||
/* $NetBSD: if_emac.c,v 1.13 2002/10/02 15:52:27 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001, 2002 Wasabi Systems, Inc.
|
||||
@ -272,7 +272,7 @@ static void emac_mii_writereg(struct device *, int, int, int);
|
||||
int emac_copy_small = 0;
|
||||
|
||||
CFATTACH_DECL(emac, sizeof(struct emac_softc),
|
||||
emac_match, emac_attach, NULL, NULL)
|
||||
emac_match, emac_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
emac_match(struct device *parent, struct cfdata *cf, void *aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: opb.c,v 1.9 2002/10/01 02:49:56 thorpej Exp $ */
|
||||
/* $NetBSD: opb.c,v 1.10 2002/10/02 15:52:27 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001,2002 Wasabi Systems, Inc.
|
||||
@ -100,7 +100,7 @@ static int opb_submatch(struct device *, struct cfdata *, void *);
|
||||
static int opb_print(void *, const char *);
|
||||
|
||||
CFATTACH_DECL(obp, sizeof(struct device),
|
||||
opb_match, opb_attach, NULL, NULL)
|
||||
opb_match, opb_attach, NULL, NULL);
|
||||
|
||||
/*
|
||||
* Probe for the opb; always succeeds.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: plb.c,v 1.6 2002/10/01 02:49:56 thorpej Exp $ */
|
||||
/* $NetBSD: plb.c,v 1.7 2002/10/02 15:52:27 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2001 Wasabi Systems, Inc.
|
||||
@ -94,7 +94,7 @@ static int plb_submatch(struct device *, struct cfdata *, void *);
|
||||
static int plb_print(void *, const char *);
|
||||
|
||||
CFATTACH_DECL(plb, sizeof(struct device),
|
||||
plb_match, plb_attach, NULL, NULL)
|
||||
plb_match, plb_attach, NULL, NULL);
|
||||
|
||||
/*
|
||||
* Probe for the plb; always succeeds.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wdog.c,v 1.5 2002/10/01 02:49:56 thorpej Exp $ */
|
||||
/* $NetBSD: wdog.c,v 1.6 2002/10/02 15:52:28 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002 Wasabi Systems, Inc.
|
||||
@ -63,7 +63,7 @@ struct wdog_softc {
|
||||
};
|
||||
|
||||
CFATTACH_DECL(wdog, sizeof(struct wdog_softc),
|
||||
wdog_match, wdog_attach, NULL, NULL)
|
||||
wdog_match, wdog_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
wdog_match(struct device *parent, struct cfdata *cf, void *aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: obio.c,v 1.5 2002/10/01 21:40:26 thorpej Exp $ */
|
||||
/* $NetBSD: obio.c,v 1.6 2002/10/02 15:52:28 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -60,7 +60,7 @@ static int obio_print(void *, const char *);
|
||||
static int obio_search(struct device *, struct cfdata *, void *);
|
||||
|
||||
CFATTACH_DECL(obio, sizeof(struct device),
|
||||
obio_match, obio_attach, NULL, NULL)
|
||||
obio_match, obio_attach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver obio_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wdc_obio.c,v 1.3 2002/10/01 21:40:26 thorpej Exp $ */
|
||||
/* $NetBSD: wdc_obio.c,v 1.4 2002/10/02 15:52:28 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -68,7 +68,7 @@ static int wdc_obio_probe(struct device *, struct cfdata *, void *);
|
||||
static void wdc_obio_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(wdc_obio, sizeof(struct wdc_obio_softc),
|
||||
wdc_obio_probe, wdc_obio_attach, NULL, NULL)
|
||||
wdc_obio_probe, wdc_obio_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
wdc_obio_probe(struct device *parent, struct cfdata *match, void *aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: isabeep.c,v 1.4 2002/10/01 21:40:27 thorpej Exp $ */
|
||||
/* $NetBSD: isabeep.c,v 1.5 2002/10/02 15:52:28 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
|
||||
@ -47,7 +47,7 @@ int isabeepmatch __P((struct device *, struct cfdata *, void *));
|
||||
void isabeepattach __P((struct device *, struct device *, void *));
|
||||
|
||||
CFATTACH_DECL(isabeep, sizeof(struct device),
|
||||
isabeepmatch, isabeepattach, NULL, NULL)
|
||||
isabeepmatch, isabeepattach, NULL, NULL);
|
||||
|
||||
static int ppi_attached;
|
||||
static pcppi_tag_t ppicookie;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mcclock_isa.c,v 1.7 2002/10/01 21:40:27 thorpej Exp $ */
|
||||
/* $NetBSD: mcclock_isa.c,v 1.8 2002/10/02 15:52:29 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
|
||||
@ -57,7 +57,7 @@ int mcclock_isa_match __P((struct device *, struct cfdata *, void *));
|
||||
void mcclock_isa_attach __P((struct device *, struct device *, void *));
|
||||
|
||||
CFATTACH_DECL(mcclock_isa, sizeof (struct mcclock_isa_softc),
|
||||
mcclock_isa_match, mcclock_isa_attach, NULL, NULL)
|
||||
mcclock_isa_match, mcclock_isa_attach, NULL, NULL);
|
||||
|
||||
void mcclock_isa_write __P((struct mcclock_softc *, u_int, u_int));
|
||||
u_int mcclock_isa_read __P((struct mcclock_softc *, u_int));
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mkclock_isa.c,v 1.4 2002/10/01 21:40:27 thorpej Exp $ */
|
||||
/* $NetBSD: mkclock_isa.c,v 1.5 2002/10/02 15:52:29 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
@ -42,7 +42,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
|
||||
__KERNEL_RCSID(0, "$NetBSD: mkclock_isa.c,v 1.4 2002/10/01 21:40:27 thorpej Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: mkclock_isa.c,v 1.5 2002/10/02 15:52:29 thorpej Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/kernel.h>
|
||||
@ -83,7 +83,7 @@ int mkclock_isa_match(struct device *, struct cfdata *, void *);
|
||||
void mkclock_isa_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(mkclock_isa, sizeof (struct mkclock_isa_softc),
|
||||
mkclock_isa_match, mkclock_isa_attach, NULL, NULL)
|
||||
mkclock_isa_match, mkclock_isa_attach, NULL, NULL);
|
||||
|
||||
/* mk48txx interface */
|
||||
uint8_t mkclock_isa_nvrd(bus_space_tag_t, bus_space_handle_t, int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: paud_isa.c,v 1.4 2002/10/01 21:40:27 thorpej Exp $ */
|
||||
/* $NetBSD: paud_isa.c,v 1.5 2002/10/02 15:52:29 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
|
||||
@ -80,7 +80,7 @@ static void paud_attach_isa (struct device *, struct device *, void *);
|
||||
static int paud_match_isa (struct device *, struct cfdata *, void *);
|
||||
|
||||
CFATTACH_DECL(paud_isa, sizeof(struct ad1848_isa_softc),
|
||||
paud_match_isa, paud_attach_isa, NULL, NULL)
|
||||
paud_match_isa, paud_attach_isa, NULL, NULL);
|
||||
|
||||
/*
|
||||
* Define our interface to the higher level audio driver.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: gten.c,v 1.7 2002/10/01 21:40:27 thorpej Exp $ */
|
||||
/* $NetBSD: gten.c,v 1.8 2002/10/02 15:52:29 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 The NetBSD Foundation, Inc.
|
||||
@ -63,7 +63,7 @@ static void gten_attach (struct device *, struct device *, void *);
|
||||
static int gten_print (void *, const char *);
|
||||
|
||||
CFATTACH_DECL(gten, sizeof(struct gten_softc),
|
||||
gten_match, gten_attach, NULL, NULL)
|
||||
gten_match, gten_attach, NULL, NULL);
|
||||
|
||||
static struct rasops_info gten_console_ri;
|
||||
static pcitag_t gten_console_pcitag;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pchb.c,v 1.4 2002/10/01 21:40:27 thorpej Exp $ */
|
||||
/* $NetBSD: pchb.c,v 1.5 2002/10/02 15:52:29 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
@ -54,7 +54,7 @@ int pchbmatch __P((struct device *, struct cfdata *, void *));
|
||||
void pchbattach __P((struct device *, struct device *, void *));
|
||||
|
||||
CFATTACH_DECL(pchb, sizeof(struct device),
|
||||
pchbmatch, pchbattach, NULL, NULL)
|
||||
pchbmatch, pchbattach, NULL, NULL);
|
||||
|
||||
int
|
||||
pchbmatch(parent, cf, aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pcib.c,v 1.7 2002/10/01 21:40:27 thorpej Exp $ */
|
||||
/* $NetBSD: pcib.c,v 1.8 2002/10/02 15:52:30 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
|
||||
@ -62,7 +62,7 @@ struct pcib_softc {
|
||||
};
|
||||
|
||||
CFATTACH_DECL(pcib, sizeof(struct pcib_softc),
|
||||
pcibmatch, pcibattach, NULL, NULL)
|
||||
pcibmatch, pcibattach, NULL, NULL);
|
||||
|
||||
void pcib_callback(struct device *);
|
||||
int pcib_print(void *, const char *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu.c,v 1.7 2002/10/01 21:40:27 thorpej Exp $ */
|
||||
/* $NetBSD: cpu.c,v 1.8 2002/10/02 15:52:30 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000, 2001 The NetBSD Foundation, Inc.
|
||||
@ -49,7 +49,7 @@ int cpumatch(struct device *, struct cfdata *, void *);
|
||||
void cpuattach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(cpu, sizeof(struct device),
|
||||
cpumatch, cpuattach, NULL, NULL)
|
||||
cpumatch, cpuattach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver cpu_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mainbus.c,v 1.13 2002/10/01 21:40:27 thorpej Exp $ */
|
||||
/* $NetBSD: mainbus.c,v 1.14 2002/10/02 15:52:30 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
|
||||
@ -57,7 +57,7 @@ int mainbus_match(struct device *, struct cfdata *, void *);
|
||||
void mainbus_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(mainbus, sizeof(struct device),
|
||||
mainbus_match, mainbus_attach, NULL, NULL)
|
||||
mainbus_match, mainbus_attach, NULL, NULL);
|
||||
|
||||
int mainbus_print(void *, const char *);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pchb.c,v 1.4 2002/10/01 21:36:00 thorpej Exp $ */
|
||||
/* $NetBSD: pchb.c,v 1.5 2002/10/02 15:52:31 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996 The NetBSD Foundation, Inc.
|
||||
@ -52,7 +52,7 @@ int pchbmatch __P((struct device *, void *, void *));
|
||||
void pchbattach __P((struct device *, struct device *, void *));
|
||||
|
||||
CFATTACH_DECL(pchb, sizeof(struct device),
|
||||
(cfmatch_t)pchbmatch, pchbattach, NULL, NULL)
|
||||
(cfmatch_t)pchbmatch, pchbattach, NULL, NULL);
|
||||
|
||||
int
|
||||
pchbmatch(parent, match, aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pcib.c,v 1.5 2002/10/01 21:36:00 thorpej Exp $ */
|
||||
/* $NetBSD: pcib.c,v 1.6 2002/10/02 15:52:31 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1998 The NetBSD Foundation, Inc.
|
||||
@ -61,7 +61,7 @@ struct pcib_softc {
|
||||
};
|
||||
|
||||
CFATTACH_DECL(pcib, sizeof(struct pcib_softc),
|
||||
pcibmatch, pcibattach, NULL, NULL)
|
||||
pcibmatch, pcibattach, NULL, NULL);
|
||||
|
||||
void pcib_callback __P((struct device *));
|
||||
int pcib_print __P((void *, const char *));
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mainbus.c,v 1.10 2002/10/01 21:36:01 thorpej Exp $ */
|
||||
/* $NetBSD: mainbus.c,v 1.11 2002/10/02 15:52:31 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Christopher G. Demetriou. All rights reserved.
|
||||
@ -52,7 +52,7 @@ int mainbus_match __P((struct device *, void *, void *));
|
||||
void mainbus_attach __P((struct device *, struct device *, void *));
|
||||
|
||||
CFATTACH_DECL(mainbus, sizeof(struct device),
|
||||
(cfmatch_t)mainbus_match, mainbus_attach, NULL, NULL)
|
||||
(cfmatch_t)mainbus_match, mainbus_attach, NULL, NULL);
|
||||
|
||||
int mainbus_print __P((void *, const char *));
|
||||
|
||||
@ -132,7 +132,7 @@ static int cpu_match(struct device *, struct cfdata *, void *);
|
||||
static void cpu_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(cpu, sizeof(struct device),
|
||||
cpu_match, cpu_attach, NULL, NULL)
|
||||
cpu_match, cpu_attach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver cpu_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu.c,v 1.8 2002/10/01 21:31:34 thorpej Exp $ */
|
||||
/* $NetBSD: cpu.c,v 1.9 2002/10/02 15:52:31 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2000, 2001
|
||||
@ -54,7 +54,7 @@ static int cpu_match(struct device *, struct cfdata *, void *);
|
||||
static void cpu_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(cpu, sizeof(struct device),
|
||||
cpu_match, cpu_attach, NULL, NULL)
|
||||
cpu_match, cpu_attach, NULL, NULL);
|
||||
|
||||
static int found = 0;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rtc.c,v 1.3 2002/10/01 21:31:35 thorpej Exp $ */
|
||||
/* $NetBSD: rtc.c,v 1.4 2002/10/02 15:52:31 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -104,7 +104,7 @@ static int time_writertc(int, int, int, int);
|
||||
|
||||
|
||||
CFATTACH_DECL(rtc, sizeof(struct rtc_softc),
|
||||
rtc_match, rtc_attach, NULL, NULL)
|
||||
rtc_match, rtc_attach, NULL, NULL);
|
||||
|
||||
static int rtcfound = 0;
|
||||
struct rtc_softc *the_rtc;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: zbbus.c,v 1.4 2002/10/01 21:31:35 thorpej Exp $ */
|
||||
/* $NetBSD: zbbus.c,v 1.5 2002/10/02 15:52:31 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2000, 2001
|
||||
@ -45,7 +45,7 @@ static int zbbus_match(struct device *, struct cfdata *, void *);
|
||||
static void zbbus_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(zbbus, sizeof(struct device),
|
||||
zbbus_match, zbbus_attach, NULL, NULL)
|
||||
zbbus_match, zbbus_attach, NULL, NULL);
|
||||
|
||||
static int zbbus_print(void *, const char *);
|
||||
static int zbbus_submatch(struct device *, struct cfdata *, void *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: com_mace.c,v 1.5 2002/10/01 21:29:41 thorpej Exp $ */
|
||||
/* $NetBSD: com_mace.c,v 1.6 2002/10/02 15:52:32 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang
|
||||
@ -69,7 +69,7 @@ static int com_mace_match(struct device *, struct cfdata *, void *);
|
||||
static void com_mace_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(com_mace, sizeof(struct com_mace_softc),
|
||||
com_mace_match, com_mace_attach, NULL, NULL)
|
||||
com_mace_match, com_mace_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
com_mace_match(parent, match, aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: crime.c,v 1.7 2002/10/01 21:29:41 thorpej Exp $ */
|
||||
/* $NetBSD: crime.c,v 1.8 2002/10/02 15:52:32 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang
|
||||
@ -61,7 +61,7 @@ void * crime_intr_establish(int, int, int, int (*)(void *), void *);
|
||||
int crime_intr(void *);
|
||||
|
||||
CFATTACH_DECL(crime, sizeof(struct device),
|
||||
crime_match, crime_attach, NULL, NULL)
|
||||
crime_match, crime_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
crime_match(parent, match, aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: if_mec.c,v 1.8 2002/10/01 21:29:41 thorpej Exp $ */
|
||||
/* $NetBSD: if_mec.c,v 1.9 2002/10/02 15:52:32 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang
|
||||
@ -118,7 +118,7 @@ static int mec_mediachange(struct ifnet *);
|
||||
static void mec_mediastatus(struct ifnet *, struct ifmediareq *);
|
||||
|
||||
CFATTACH_DECL(mec, sizeof(struct mec_softc),
|
||||
mec_match, mec_attach, NULL, NULL)
|
||||
mec_match, mec_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
mec_match(parent, match, aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: imc.c,v 1.6 2002/10/01 21:29:41 thorpej Exp $ */
|
||||
/* $NetBSD: imc.c,v 1.7 2002/10/02 15:52:32 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Rafal K. Boni
|
||||
@ -52,7 +52,7 @@ static void imc_attach(struct device *, struct device *, void *);
|
||||
static int imc_print(void *, const char *);
|
||||
|
||||
CFATTACH_DECL(imc, sizeof(struct imc_softc),
|
||||
imc_match, imc_attach, NULL, NULL)
|
||||
imc_match, imc_attach, NULL, NULL);
|
||||
|
||||
struct imc_attach_args {
|
||||
const char* iaa_name;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: lpt_mace.c,v 1.4 2002/10/01 21:29:41 thorpej Exp $ */
|
||||
/* $NetBSD: lpt_mace.c,v 1.5 2002/10/02 15:52:33 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang
|
||||
@ -66,7 +66,7 @@ static int lpt_mace_match(struct device *, struct cfdata *, void *);
|
||||
static void lpt_mace_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(lpt_mace, sizeof(struct lpt_mace_softc),
|
||||
lpt_mace_match, lpt_mace_attach, NULL, NULL)
|
||||
lpt_mace_match, lpt_mace_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
lpt_mace_match(parent, match, aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mace.c,v 1.7 2002/10/01 21:29:41 thorpej Exp $ */
|
||||
/* $NetBSD: mace.c,v 1.8 2002/10/02 15:52:33 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang
|
||||
@ -61,7 +61,7 @@ static int mace_print(void *, const char *);
|
||||
static int mace_search(struct device *, struct cfdata *, void *);
|
||||
|
||||
CFATTACH_DECL(mace, sizeof(struct mace_softc),
|
||||
mace_match, mace_attach, NULL, NULL)
|
||||
mace_match, mace_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
mace_match(parent, match, aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mcclock_mace.c,v 1.6 2002/10/01 21:29:41 thorpej Exp $ */
|
||||
/* $NetBSD: mcclock_mace.c,v 1.7 2002/10/02 15:52:33 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Antti Kantee. All Rights Reserved.
|
||||
@ -111,7 +111,7 @@ const struct clockfns mcclock_mace_clockfns = {
|
||||
};
|
||||
|
||||
CFATTACH_DECL(mcclock_mace, sizeof(struct mcclock_mace_softc),
|
||||
mcclock_mace_match, mcclock_mace_attach, NULL, NULL)
|
||||
mcclock_mace_match, mcclock_mace_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
mcclock_mace_match(struct device *parent, struct cfdata *match, void *aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pckbc_mace.c,v 1.4 2002/10/01 21:29:41 thorpej Exp $ */
|
||||
/* $NetBSD: pckbc_mace.c,v 1.5 2002/10/02 15:52:33 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang
|
||||
@ -66,7 +66,7 @@ static int pckbc_mace_match(struct device *, struct cfdata *, void *);
|
||||
static void pckbc_mace_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(pckbc_mace, sizeof(struct pckbc_mace_softc),
|
||||
pckbc_mace_match, pckbc_mace_attach, NULL, NULL)
|
||||
pckbc_mace_match, pckbc_mace_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
pckbc_mace_match(parent, match, aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: zs.c,v 1.15 2002/10/01 21:29:41 thorpej Exp $ */
|
||||
/* $NetBSD: zs.c,v 1.16 2002/10/02 15:52:33 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 2000 The NetBSD Foundation, Inc.
|
||||
@ -169,7 +169,7 @@ static void zs_hpc_attach __P((struct device *, struct device *, void *));
|
||||
static int zs_print __P((void *, const char *name));
|
||||
|
||||
CFATTACH_DECL(zsc_hpc, sizeof(struct zsc_softc),
|
||||
zs_hpc_match, zs_hpc_attach, NULL, NULL)
|
||||
zs_hpc_match, zs_hpc_attach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver zsc_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: gio.c,v 1.6 2002/10/01 21:29:42 thorpej Exp $ */
|
||||
/* $NetBSD: gio.c,v 1.7 2002/10/02 15:52:33 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang
|
||||
@ -53,7 +53,7 @@ static int gio_print(void *, const char *);
|
||||
static int gio_search(struct device *, struct cfdata *, void *);
|
||||
|
||||
CFATTACH_DECL(gio, sizeof(struct gio_softc),
|
||||
gio_match, gio_attach, NULL, NULL)
|
||||
gio_match, gio_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
gio_match(parent, match, aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: hpc.c,v 1.4 2002/10/01 21:29:42 thorpej Exp $ */
|
||||
/* $NetBSD: hpc.c,v 1.5 2002/10/02 15:52:33 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang
|
||||
@ -48,7 +48,7 @@ static void hpc_attach(struct device *, struct device *, void *);
|
||||
static int hpc_print(void *, const char *);
|
||||
|
||||
CFATTACH_DECL(hpc, sizeof(struct hpc_softc),
|
||||
hpc_match, hpc_attach, NULL, NULL)
|
||||
hpc_match, hpc_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
hpc_match(parent, match, aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu.c,v 1.11 2002/10/01 21:29:43 thorpej Exp $ */
|
||||
/* $NetBSD: cpu.c,v 1.12 2002/10/02 15:52:34 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang
|
||||
@ -53,7 +53,7 @@ static int cpu_match(struct device *, struct cfdata *, void *);
|
||||
static void cpu_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(cpu, sizeof(struct device),
|
||||
cpu_match, cpu_attach, NULL, NULL)
|
||||
cpu_match, cpu_attach, NULL, NULL);
|
||||
|
||||
static void
|
||||
sgimips_find_l2cache(struct arcbios_component *comp,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mainbus.c,v 1.9 2002/10/01 21:29:43 thorpej Exp $ */
|
||||
/* $NetBSD: mainbus.c,v 1.10 2002/10/02 15:52:34 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2000 Soren S. Jorvang
|
||||
@ -52,7 +52,7 @@ static int mainbus_search(struct device *, struct cfdata *, void *);
|
||||
int mainbus_print(void *, const char *);
|
||||
|
||||
CFATTACH_DECL(mainbus, sizeof(struct device),
|
||||
mainbus_match, mainbus_attach, NULL, NULL)
|
||||
mainbus_match, mainbus_attach, NULL, NULL);
|
||||
|
||||
static int
|
||||
mainbus_match(parent, match, aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sci.c,v 1.31 2002/10/01 21:24:43 thorpej Exp $ */
|
||||
/* $NetBSD: sci.c,v 1.32 2002/10/02 15:52:34 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1999 T.Horiuchi and SAITOH Masanobu. All rights reserved.
|
||||
@ -258,7 +258,7 @@ struct callout sci_soft_ch = CALLOUT_INITIALIZER;
|
||||
u_int sci_rbuf_size = SCI_RING_SIZE;
|
||||
|
||||
CFATTACH_DECL(sci, sizeof(struct sci_softc),
|
||||
sci_match, sci_attach, NULL, NULL)
|
||||
sci_match, sci_attach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver sci_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: scif.c,v 1.31 2002/10/01 21:24:43 thorpej Exp $ */
|
||||
/* $NetBSD: scif.c,v 1.32 2002/10/02 15:52:34 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1999 T.Horiuchi and SAITOH Masanobu. All rights reserved.
|
||||
@ -265,7 +265,7 @@ struct callout scif_soft_ch = CALLOUT_INITIALIZER;
|
||||
u_int scif_rbuf_size = SCIF_RING_SIZE;
|
||||
|
||||
CFATTACH_DECL(scif, sizeof(struct scif_softc),
|
||||
scif_match, scif_attach, NULL, NULL)
|
||||
scif_match, scif_attach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver scif_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: shb.c,v 1.5 2002/10/01 21:24:44 thorpej Exp $ */
|
||||
/* $NetBSD: shb.c,v 1.6 2002/10/02 15:52:35 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
@ -45,7 +45,7 @@ int shb_print(void *, const char *);
|
||||
int shb_search(struct device *, struct cfdata *, void *);
|
||||
|
||||
CFATTACH_DECL(shb, sizeof(struct device),
|
||||
shb_match, shb_attach, NULL, NULL)
|
||||
shb_match, shb_attach, NULL, NULL);
|
||||
|
||||
int
|
||||
shb_match(struct device *parent, struct cfdata *cf, void *aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wdog.c,v 1.10 2002/10/01 21:24:44 thorpej Exp $ */
|
||||
/* $NetBSD: wdog.c,v 1.11 2002/10/02 15:52:35 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 2000 SAITOH Masanobu. All rights reserved.
|
||||
@ -57,7 +57,7 @@ static void wdogattach(struct device *, struct device *, void *);
|
||||
static int wdogintr(void *);
|
||||
|
||||
CFATTACH_DECL(wdog, sizeof(struct wdog_softc),
|
||||
wdogmatch, wdogattach, NULL, NULL)
|
||||
wdogmatch, wdogattach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver wdog_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu.c,v 1.4 2002/10/01 21:24:45 thorpej Exp $ */
|
||||
/* $NetBSD: cpu.c,v 1.5 2002/10/02 15:52:35 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002 The NetBSD Foundation, Inc.
|
||||
@ -47,7 +47,7 @@ int cpu_match(struct device *, struct cfdata *, void *);
|
||||
void cpu_attach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(cpu, sizeof (struct device),
|
||||
cpu_match, cpu_attach, NULL, NULL)
|
||||
cpu_match, cpu_attach, NULL, NULL);
|
||||
|
||||
int
|
||||
cpu_match(struct device *parent, struct cfdata *cf, void *aux)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cprc.c,v 1.3 2002/10/01 19:24:47 thorpej Exp $ */
|
||||
/* $NetBSD: cprc.c,v 1.4 2002/10/02 15:52:35 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -66,7 +66,7 @@ static void cprcattach(struct device *, struct device *, void *);
|
||||
static int cprcprint(void *, const char *);
|
||||
|
||||
CFATTACH_DECL(cprc, sizeof(struct cprc_softc),
|
||||
cprcmatch, cprcattach, NULL, NULL)
|
||||
cprcmatch, cprcattach, NULL, NULL);
|
||||
|
||||
static u_int32_t cprc_reg_read(u_int);
|
||||
#ifdef notyet
|
||||
@ -165,7 +165,7 @@ cprc_reg_write(u_int off, u_int32_t value)
|
||||
static int clockmatch(struct device *, struct cfdata *, void *);
|
||||
static void clockattach(struct device *, struct device *, void *);
|
||||
CFATTACH_DECL(clock, sizeof(struct device),
|
||||
clockmatch, clockattach, NULL, NULL)
|
||||
clockmatch, clockattach, NULL, NULL);
|
||||
extern struct cfdriver clock_cd;
|
||||
struct cprc_clocks cprc_clocks;
|
||||
|
||||
@ -238,7 +238,7 @@ static int watchdogmatch(struct device *, struct cfdata *, void *);
|
||||
static void watchdogattach(struct device *, struct device *, void *);
|
||||
static int watchdogint(void *);
|
||||
CFATTACH_DECL(watchdog, sizeof(struct watchdog_softc),
|
||||
watchdogmatch, watchdogattach, NULL, NULL)
|
||||
watchdogmatch, watchdogattach, NULL, NULL);
|
||||
extern struct cfdriver watchdog_cd;
|
||||
|
||||
/*ARGSUSED*/
|
||||
@ -288,7 +288,7 @@ watchdogint(void *arg)
|
||||
static int powermatch(struct device *, struct cfdata *, void *);
|
||||
static void powerattach(struct device *, struct device *, void *);
|
||||
CFATTACH_DECL(power, sizeof(struct device),
|
||||
powermatch, powerattach, NULL, NULL)
|
||||
powermatch, powerattach, NULL, NULL);
|
||||
extern struct cfdriver power_cd;
|
||||
|
||||
/*ARGSUSED*/
|
||||
@ -318,7 +318,7 @@ powerattach(struct device *parent, struct device *self, void *args)
|
||||
static int resetmatch(struct device *, struct cfdata *, void *);
|
||||
static void resetattach(struct device *, struct device *, void *);
|
||||
CFATTACH_DECL(reset, sizeof(struct device),
|
||||
resetmatch, resetattach, NULL, NULL)
|
||||
resetmatch, resetattach, NULL, NULL);
|
||||
extern struct cfdriver reset_cd;
|
||||
|
||||
/*ARGSUSED*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu_sh.c,v 1.3 2002/10/01 19:24:47 thorpej Exp $ */
|
||||
/* $NetBSD: cpu_sh.c,v 1.4 2002/10/02 15:52:36 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -56,7 +56,7 @@ static int cpu_shmatch(struct device *, struct cfdata *, void *);
|
||||
static void cpu_shattach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(cpu_sh, sizeof(struct device),
|
||||
cpu_shmatch, cpu_shattach, NULL, NULL)
|
||||
cpu_shmatch, cpu_shattach, NULL, NULL);
|
||||
extern struct cfdriver cpu_cd;
|
||||
|
||||
#define CPU_SH_MODULE_ID 0x51e2
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dtfcons.c,v 1.3 2002/10/01 19:24:48 thorpej Exp $ */
|
||||
/* $NetBSD: dtfcons.c,v 1.4 2002/10/02 15:52:36 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -72,7 +72,7 @@ static int dtfconsmatch(struct device *, struct cfdata *, void *);
|
||||
static void dtfconsattach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(dtfcons, sizeof(struct device),
|
||||
dtfconsmatch, dtfconsattach, NULL, NULL)
|
||||
dtfconsmatch, dtfconsattach, NULL, NULL);
|
||||
extern struct cfdriver dtfcons_cd;
|
||||
|
||||
static int dtf_is_console;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: femi.c,v 1.5 2002/10/01 19:24:48 thorpej Exp $ */
|
||||
/* $NetBSD: femi.c,v 1.6 2002/10/02 15:52:36 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -66,7 +66,7 @@ struct femi_softc {
|
||||
};
|
||||
|
||||
CFATTACH_DECL(femi, sizeof(struct femi_softc),
|
||||
femimatch, femiattach, NULL, NULL)
|
||||
femimatch, femiattach, NULL, NULL);
|
||||
extern struct cfdriver femi_cd;
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: intc.c,v 1.6 2002/10/01 19:24:48 thorpej Exp $ */
|
||||
/* $NetBSD: intc.c,v 1.7 2002/10/02 15:52:36 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -75,7 +75,7 @@ static int intcmatch(struct device *, struct cfdata *, void *);
|
||||
static void intcattach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(intc, sizeof(struct intc_softc),
|
||||
intcmatch, intcattach, NULL, NULL)
|
||||
intcmatch, intcattach, NULL, NULL);
|
||||
extern struct cfdriver intc_cd;
|
||||
|
||||
static void intc_enable(void *, u_int, int, int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pbridge.c,v 1.5 2002/10/01 19:24:48 thorpej Exp $ */
|
||||
/* $NetBSD: pbridge.c,v 1.6 2002/10/02 15:52:36 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -61,7 +61,7 @@ static void pbridgeattach(struct device *, struct device *, void *);
|
||||
static int pbridgeprint(void *, const char *);
|
||||
|
||||
CFATTACH_DECL(pbridge, sizeof(struct device),
|
||||
pbridgematch, pbridgeattach, NULL, NULL)
|
||||
pbridgematch, pbridgeattach, NULL, NULL);
|
||||
extern struct cfdriver pbridge_cd;
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rtc.c,v 1.5 2002/10/01 19:24:48 thorpej Exp $ */
|
||||
/* $NetBSD: rtc.c,v 1.6 2002/10/02 15:52:36 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -67,7 +67,7 @@ static int rtcmatch(struct device *, struct cfdata *, void *);
|
||||
static void rtcattach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(rtc, sizeof(struct rtc_softc),
|
||||
rtcmatch, rtcattach, NULL, NULL)
|
||||
rtcmatch, rtcattach, NULL, NULL);
|
||||
extern struct cfdriver rtc_cd;
|
||||
|
||||
static int rtc_gettime(struct todr_chip_handle *, struct timeval *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: scif.c,v 1.6 2002/10/01 19:24:48 thorpej Exp $ */
|
||||
/* $NetBSD: scif.c,v 1.7 2002/10/02 15:52:36 thorpej Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (C) 1999 T.Horiuchi and SAITOH Masanobu. All rights reserved.
|
||||
@ -259,7 +259,7 @@ unsigned int scifcn_speed = 38400;
|
||||
u_int scif_rbuf_size = SCIF_RING_SIZE;
|
||||
|
||||
CFATTACH_DECL(scif, sizeof(struct scif_softc),
|
||||
scif_match, scif_attach, NULL, NULL)
|
||||
scif_match, scif_attach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver scif_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: superhyway.c,v 1.5 2002/10/01 19:24:48 thorpej Exp $ */
|
||||
/* $NetBSD: superhyway.c,v 1.6 2002/10/02 15:52:37 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -57,7 +57,7 @@ static void superhywayattach(struct device *, struct device *, void *);
|
||||
static int superhywayprint(void *, const char *);
|
||||
|
||||
CFATTACH_DECL(superhyway, sizeof(struct device),
|
||||
superhywaymatch, superhywayattach, NULL, NULL)
|
||||
superhywaymatch, superhywayattach, NULL, NULL);
|
||||
extern struct cfdriver superhyway_cd;
|
||||
|
||||
static const char *superhyway_devices[] = {
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tmu.c,v 1.6 2002/10/01 19:24:48 thorpej Exp $ */
|
||||
/* $NetBSD: tmu.c,v 1.7 2002/10/02 15:52:37 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -71,7 +71,7 @@ static int tmumatch(struct device *, struct cfdata *, void *);
|
||||
static void tmuattach(struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(tmu, sizeof(struct tmu_softc),
|
||||
tmumatch, tmuattach, NULL, NULL)
|
||||
tmumatch, tmuattach, NULL, NULL);
|
||||
extern struct cfdriver tmu_cd;
|
||||
|
||||
static struct tmu_softc *tmu_sc;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sh5_pci.c,v 1.4 2002/10/01 19:24:47 thorpej Exp $ */
|
||||
/* $NetBSD: sh5_pci.c,v 1.5 2002/10/02 15:52:37 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 2002 Wasabi Systems, Inc.
|
||||
@ -107,7 +107,7 @@ static void sh5pciattach(struct device *, struct device *, void *);
|
||||
static int sh5pciprint(void *, const char *);
|
||||
|
||||
CFATTACH_DECL(sh5pci, sizeof(struct sh5pci_softc),
|
||||
sh5pcimatch, sh5pciattach, NULL, NULL)
|
||||
sh5pcimatch, sh5pciattach, NULL, NULL);
|
||||
extern struct cfdriver sh5pci_cd;
|
||||
|
||||
static int sh5pci_dmamap_create(void *, bus_size_t, int, bus_size_t,
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu_ofbus.c,v 1.3 2002/10/01 19:18:57 thorpej Exp $ */
|
||||
/* $NetBSD: cpu_ofbus.c,v 1.4 2002/10/02 15:52:37 thorpej Exp $ */
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -47,4 +47,4 @@ cpu_ofbus_attach(parent, self, aux)
|
||||
}
|
||||
|
||||
CFATTACH_DECL(cpu_ofbus, sizeof(struct device),
|
||||
cpu_ofbus_match, cpu_ofbus_attach, NULL, NULL)
|
||||
cpu_ofbus_match, cpu_ofbus_attach, NULL, NULL);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ofisapc.c,v 1.3 2002/10/01 19:18:57 thorpej Exp $ */
|
||||
/* $NetBSD: ofisapc.c,v 1.4 2002/10/02 15:52:37 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997
|
||||
@ -54,7 +54,7 @@ void ofisapcattach __P((struct device *, struct device *, void *));
|
||||
|
||||
|
||||
CFATTACH_DECL(ofisapc, sizeof(struct device),
|
||||
ofisapcprobe, ofisapcattach, NULL, NULL)
|
||||
ofisapcprobe, ofisapcattach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver ofisapc_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ofisascr.c,v 1.3 2002/10/01 19:18:57 thorpej Exp $ */
|
||||
/* $NetBSD: ofisascr.c,v 1.4 2002/10/02 15:52:39 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997
|
||||
@ -52,7 +52,7 @@ void ofisascrattach __P((struct device *, struct device *, void *));
|
||||
|
||||
|
||||
CFATTACH_DECL(ofisascr, sizeof(struct device),
|
||||
ofisascrprobe, ofisascrattach, NULL, NULL)
|
||||
ofisascrprobe, ofisascrattach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver ofisascr_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ofrom.c,v 1.7 2002/10/01 19:18:57 thorpej Exp $ */
|
||||
/* $NetBSD: ofrom.c,v 1.8 2002/10/02 15:52:39 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1998
|
||||
@ -59,7 +59,7 @@ int ofromprobe __P((struct device *, struct cfdata *, void *));
|
||||
void ofromattach __P((struct device *, struct device *, void *));
|
||||
|
||||
CFATTACH_DECL(ofrom, sizeof(struct ofrom_softc),
|
||||
ofromprobe, ofromattach, NULL, NULL)
|
||||
ofromprobe, ofromattach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver ofrom_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vga_ofbus.c,v 1.3 2002/10/01 19:18:57 thorpej Exp $ */
|
||||
/* $NetBSD: vga_ofbus.c,v 1.4 2002/10/02 15:52:39 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
|
||||
@ -58,7 +58,7 @@ int vga_ofbus_match (struct device *, struct cfdata *, void *);
|
||||
void vga_ofbus_attach (struct device *, struct device *, void *);
|
||||
|
||||
CFATTACH_DECL(vga_ofbus, sizeof(struct vga_ofbus_softc),
|
||||
vga_ofbus_match, vga_ofbus_attach, NULL, NULL)
|
||||
vga_ofbus_match, vga_ofbus_attach, NULL, NULL);
|
||||
|
||||
static const char *compat_strings[] = { "pnpPNP,900", 0 };
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: opms.c,v 1.5 2002/10/01 19:18:58 thorpej Exp $ */
|
||||
/* $NetBSD: opms.c,v 1.6 2002/10/02 15:52:40 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997
|
||||
@ -193,7 +193,7 @@ int opmsintr __P((void *));
|
||||
|
||||
/* Autoconfiguration data structures */
|
||||
CFATTACH_DECL(opms, sizeof(struct opms_softc),
|
||||
opmsprobe, opmsattach, NULL, NULL)
|
||||
opmsprobe, opmsattach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver opms_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pccons.c,v 1.10 2002/10/01 19:18:58 thorpej Exp $ */
|
||||
/* $NetBSD: pccons.c,v 1.11 2002/10/02 15:52:40 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997
|
||||
@ -355,7 +355,7 @@ static void cga_save_restore __P((int));
|
||||
** Data structures required by config
|
||||
*/
|
||||
CFATTACH_DECL(pc, sizeof(struct pc_softc),
|
||||
pcprobe, pcattach, NULL, NULL)
|
||||
pcprobe, pcattach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver pc_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: scr.c,v 1.6 2002/10/01 19:18:59 thorpej Exp $ */
|
||||
/* $NetBSD: scr.c,v 1.7 2002/10/02 15:52:41 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997
|
||||
@ -651,7 +651,7 @@ static void scrUntimeout __P((void (*func)(struct scr_softc*,int), struct scr_
|
||||
|
||||
|
||||
CFATTACH_DECL(scr, sizeof(struct scr_softc),
|
||||
(cfmatch_t)scrprobe, scrattach, NULL, NULL)
|
||||
(cfmatch_t)scrprobe, scrattach, NULL, NULL);
|
||||
|
||||
extern struct cfdriver scr_cd;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: shark_machdep.c,v 1.8 2002/10/01 19:18:59 thorpej Exp $ */
|
||||
/* $NetBSD: shark_machdep.c,v 1.9 2002/10/02 15:52:41 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright 1997
|
||||
@ -136,7 +136,7 @@ extern unsigned int sa1_cache_clean_addr;
|
||||
extern unsigned int sa1_cache_clean_size;
|
||||
|
||||
CFATTACH_DECL(ofbus_root, sizeof(struct device),
|
||||
ofbus_match, ofbus_attach, NULL, NULL)
|
||||
ofbus_match, ofbus_attach, NULL, NULL);
|
||||
|
||||
/*
|
||||
* Exported routines
|
||||
|
Loading…
Reference in New Issue
Block a user