s/locdesc_t/int/g

This commit is contained in:
drochner 2005-08-26 13:19:34 +00:00
parent 46ed4b50c4
commit 44bf0a7ee2
103 changed files with 398 additions and 399 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.c,v 1.16 2005/06/30 17:03:51 drochner Exp $ */
/* $NetBSD: cpu.c,v 1.17 2005/08/26 13:19:34 drochner Exp $ */
/*-
* Copyright (c) 2000, 2001 Ben Harris
@ -32,7 +32,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.16 2005/06/30 17:03:51 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.17 2005/08/26 13:19:34 drochner Exp $");
#include <sys/device.h>
#include <sys/proc.h>
@ -51,7 +51,7 @@ __KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.16 2005/06/30 17:03:51 drochner Exp $");
static int cpu_match(struct device *, struct cfdata *, void *);
static void cpu_attach(struct device *, struct device *, void *);
static int cpu_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static register_t cpu_identify(void);
#ifdef CPU_ARM2
static int arm2_undef_handler(u_int, u_int, struct trapframe *, int);
@ -130,7 +130,7 @@ cpu_attach(struct device *parent, struct device *self, void *aux)
static int
cpu_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
if (config_match(parent, cf, NULL) > 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: iobus.c,v 1.11 2005/06/30 17:03:51 drochner Exp $ */
/* $NetBSD: iobus.c,v 1.12 2005/08/26 13:19:34 drochner Exp $ */
/*-
* Copyright (c) 1998 Ben Harris
* All rights reserved.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: iobus.c,v 1.11 2005/06/30 17:03:51 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: iobus.c,v 1.12 2005/08/26 13:19:34 drochner Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -46,9 +46,9 @@ __KERNEL_RCSID(0, "$NetBSD: iobus.c,v 1.11 2005/06/30 17:03:51 drochner Exp $");
static int iobus_match(struct device *parent, struct cfdata *cf, void *aux);
static void iobus_attach(struct device *parent, struct device *self, void *aux);
static int iobus_search_ioc(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux);
const int *ldesc, void *aux);
static int iobus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux);
const int *ldesc, void *aux);
static int iobus_print(void *aux, const char *pnp);
struct iobus_softc {
@ -89,7 +89,7 @@ extern struct bus_space iobus_bs_tag;
static int
iobus_search_ioc(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct iobus_attach_args ioa;
@ -104,7 +104,7 @@ iobus_search_ioc(struct device *parent, struct cfdata *cf,
static int
iobus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct iobus_attach_args ioa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ioc.c,v 1.10 2005/06/30 17:03:51 drochner Exp $ */
/* $NetBSD: ioc.c,v 1.11 2005/08/26 13:19:34 drochner Exp $ */
/*-
* Copyright (c) 1998, 1999, 2000 Ben Harris
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ioc.c,v 1.10 2005/06/30 17:03:51 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: ioc.c,v 1.11 2005/08/26 13:19:34 drochner Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -54,7 +54,7 @@ __KERNEL_RCSID(0, "$NetBSD: ioc.c,v 1.10 2005/06/30 17:03:51 drochner Exp $");
static int ioc_match(struct device *parent, struct cfdata *cf, void *aux);
static void ioc_attach(struct device *parent, struct device *self, void *aux);
static int ioc_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux);
const int *ldesc, void *aux);
static int ioc_print(void *aux, const char *pnp);
static int ioc_irq_clock(void *cookie);
static int ioc_irq_statclock(void *cookie);
@ -124,7 +124,7 @@ extern struct bus_space ioc_bs_tag;
static int
ioc_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct ioc_softc *sc = (void *)parent;
struct ioc_attach_args ioc;

View File

@ -1,4 +1,4 @@
/* $NetBSD: podulebus.c,v 1.12 2005/06/30 17:03:51 drochner Exp $ */
/* $NetBSD: podulebus.c,v 1.13 2005/08/26 13:19:34 drochner Exp $ */
/*-
* Copyright (c) 2000 Ben Harris
@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: podulebus.c,v 1.12 2005/06/30 17:03:51 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: podulebus.c,v 1.13 2005/08/26 13:19:34 drochner Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -60,7 +60,7 @@ static void podulebus_attach(struct device *, struct device *, void *);
static void podulebus_probe_podule(struct device *, int);
static int podulebus_print(void *, char const *);
static int podulebus_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static void podulebus_read_chunks(struct podulebus_attach_args *, int);
static u_int8_t *podulebus_get_chunk(struct podulebus_attach_args *pa, int type);
#if NPODLOADER > 0
@ -346,7 +346,7 @@ podulebus_print(void *aux, char const *pnp)
static int
podulebus_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct podulebus_attach_args *pa = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: hydra.c,v 1.18 2005/06/28 18:29:58 drochner Exp $ */
/* $NetBSD: hydra.c,v 1.19 2005/08/26 13:19:34 drochner Exp $ */
/*-
* Copyright (c) 2002 Ben Harris
@ -31,7 +31,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: hydra.c,v 1.18 2005/06/28 18:29:58 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: hydra.c,v 1.19 2005/08/26 13:19:34 drochner Exp $");
#include <sys/device.h>
#include <sys/systm.h>
@ -70,7 +70,7 @@ static void hydra_attach(struct device *, struct device *, void *);
static int hydra_probe_slave(struct hydra_softc *, int);
static int hydra_print(void *, char const *);
static int hydra_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static void hydra_shutdown(void *);
static void hydra_reset(struct hydra_softc *);
@ -250,7 +250,7 @@ hydra_print(void *aux, char const *pnp)
static int
hydra_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct hydra_attach_args *ha = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: rsbus.c,v 1.2 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: rsbus.c,v 1.3 2005/08/26 13:19:34 drochner Exp $ */
/*
* Copyright (c) 2002
@ -35,7 +35,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: rsbus.c,v 1.2 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: rsbus.c,v 1.3 2005/08/26 13:19:34 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -55,7 +55,7 @@ static int rsbus_match(struct device *, struct cfdata *, void *);
static void rsbus_attach(struct device *, struct device *, void *);
static int rsbus_print(void *, const char *);
static int rsbus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
CFATTACH_DECL(rsbus, sizeof(struct rsbus_softc),
rsbus_match, rsbus_attach, NULL, NULL);
@ -87,7 +87,7 @@ static int
rsbus_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct rsbus_softc *sc = (struct rsbus_softc *)parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pioc.c,v 1.10 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: pioc.c,v 1.11 2005/08/26 13:19:34 drochner Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe.
@ -41,7 +41,7 @@
/*#define PIOC_DEBUG*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pioc.c,v 1.10 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: pioc.c,v 1.11 2005/08/26 13:19:34 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -98,7 +98,7 @@ static int piocprint __P((void *aux, const char *name));
static int piocsearch __P((struct device *, struct cfdata *, void *));
#endif
static int piocsubmatch __P((struct device *, struct cfdata *,
const locdesc_t *, void *));
const int *, void *));
static void piocgetid __P((bus_space_tag_t iot, bus_space_handle_t ioh,
int config_entry, int *id, int *revision));
@ -225,7 +225,7 @@ static int
piocsearch(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct pioc_softc *sc = (struct pioc_softc *)parent;
@ -271,7 +271,7 @@ static int
piocsubmatch(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct pioc_attach_args *pa = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: podulebus.c,v 1.18 2005/06/28 18:29:58 drochner Exp $ */
/* $NetBSD: podulebus.c,v 1.19 2005/08/26 13:19:34 drochner Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -43,7 +43,7 @@
#include <sys/param.h>
__KERNEL_RCSID(0, "$NetBSD: podulebus.c,v 1.18 2005/06/28 18:29:58 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: podulebus.c,v 1.19 2005/08/26 13:19:34 drochner Exp $");
#include <sys/systm.h>
#include <sys/kernel.h>
@ -77,7 +77,7 @@ int podulebusmatch(struct device *, struct cfdata *, void *);
void podulebusattach(struct device *, struct device *, void *);
int podulebusprint(void *, const char *);
int podulebussubmatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
void podulechunkdirectory(podule_t *);
void podulescan(struct device *);
@ -131,7 +131,7 @@ int
podulebussubmatch(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct podule_attach_args *pa = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.17 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.18 2005/08/26 13:19:34 drochner Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.17 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.18 2005/08/26 13:19:34 drochner Exp $");
#include "opt_algor_p4032.h"
#include "opt_algor_p5064.h"
@ -78,7 +78,7 @@ CFATTACH_DECL(mainbus, sizeof(struct device),
int mainbus_print(void *, const char *);
int mainbus_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
/* There can be only one. */
int mainbus_found;
@ -255,7 +255,7 @@ mainbus_print(void *aux, const char *pnp)
int
mainbus_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct mainbus_attach_args *ma = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: epsoc.c,v 1.3 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: epsoc.c,v 1.4 2005/08/26 13:19:34 drochner Exp $ */
/*
* Copyright (c) 2004 Jesse Off
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: epsoc.c,v 1.3 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: epsoc.c,v 1.4 2005/08/26 13:19:34 drochner Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -57,7 +57,7 @@ __KERNEL_RCSID(0, "$NetBSD: epsoc.c,v 1.3 2005/06/30 17:03:52 drochner Exp $");
static int epsoc_match(struct device *, struct cfdata *, void *);
static void epsoc_attach(struct device *, struct device *, void *);
static int epsoc_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int epsoc_print(void *, const char *);
CFATTACH_DECL(epsoc, sizeof(struct epsoc_softc),
@ -173,7 +173,7 @@ int
epsoc_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct epsoc_softc *sc = (struct epsoc_softc *)parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: vidc20.c,v 1.11 2005/07/03 23:09:03 he Exp $ */
/* $NetBSD: vidc20.c,v 1.12 2005/08/26 13:19:34 drochner Exp $ */
/*
* Copyright (c) 1997 Mark Brinicombe
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vidc20.c,v 1.11 2005/07/03 23:09:03 he Exp $");
__KERNEL_RCSID(0, "$NetBSD: vidc20.c,v 1.12 2005/08/26 13:19:34 drochner Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -66,7 +66,7 @@ struct vidc20_softc {
static int vidcmatch(struct device *, struct cfdata *, void *);
static void vidcattach(struct device *, struct device *, void *);
static int vidcsearch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
/*
* vidc_base gives the base of the VIDC chip in memory; this is for
@ -108,7 +108,7 @@ vidcmatch(struct device *parent, struct cfdata *cf, void *aux)
static int
vidcsearch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
if (config_match(parent, cf, NULL) > 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ixpsip.c,v 1.8 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: ixpsip.c,v 1.9 2005/08/26 13:19:34 drochner Exp $ */
/*
* Copyright (c) 2002
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ixpsip.c,v 1.8 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: ixpsip.c,v 1.9 2005/08/26 13:19:34 drochner Exp $");
/*
* Slow peripheral bus of ixp12x0 Processor
@ -55,7 +55,7 @@ __KERNEL_RCSID(0, "$NetBSD: ixpsip.c,v 1.8 2005/06/30 17:03:52 drochner Exp $");
static int ixpsip_match(struct device *, struct cfdata *, void *);
static void ixpsip_attach(struct device *, struct device *, void *);
static int ixpsip_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int ixpsip_print(void *, const char *);
CFATTACH_DECL(ixpsip, sizeof(struct ixpsip_softc),
@ -85,7 +85,7 @@ int
ixpsip_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct ixpsip_softc *sc = (struct ixpsip_softc *)parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.11 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.12 2005/08/26 13:19:34 drochner Exp $ */
/*
* Copyright (c) 1994,1995 Mark Brinicombe.
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.12 2005/08/26 13:19:34 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -72,7 +72,7 @@ static int mainbusmatch __P((struct device *, struct cfdata *, void *));
static void mainbusattach __P((struct device *, struct device *, void *));
static int mainbusprint __P((void *aux, const char *mainbus));
static int mainbussearch __P((struct device *, struct cfdata *,
const locdesc_t *, void *));
const int *, void *));
/* attach and device structures for the device */
@ -130,7 +130,7 @@ static int
mainbussearch(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct mainbus_attach_args mb;

View File

@ -1,4 +1,4 @@
/* $NetBSD: s3c2410.c,v 1.8 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: s3c2410.c,v 1.9 2005/08/26 13:19:34 drochner Exp $ */
/*
* Copyright (c) 2003, 2005 Genetec corporation. All rights reserved.
@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: s3c2410.c,v 1.8 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: s3c2410.c,v 1.9 2005/08/26 13:19:34 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -53,7 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: s3c2410.c,v 1.8 2005/06/30 17:03:52 drochner Exp $")
static int s3c2410_match(struct device *, struct cfdata *, void *);
static void s3c2410_attach(struct device *, struct device *, void *);
static int s3c2410_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
/* attach structures */
CFATTACH_DECL(ssio, sizeof(struct s3c24x0_softc), s3c2410_match, s3c2410_attach,
@ -177,7 +177,7 @@ abort:
int
s3c2410_search(struct device * parent, struct cfdata * cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct s3c24x0_softc *sc = (struct s3c24x0_softc *) parent;
struct s3c2xx0_attach_args aa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: s3c2410_extint.c,v 1.3 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: s3c2410_extint.c,v 1.4 2005/08/26 13:19:34 drochner Exp $ */
/*
* Copyright (c) 2003 Genetec corporation. All rights reserved.
@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: s3c2410_extint.c,v 1.3 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: s3c2410_extint.c,v 1.4 2005/08/26 13:19:34 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -95,7 +95,7 @@ static struct ssextio_softc *ssextio_softc = NULL;
static int ssextio_match(struct device *, struct cfdata *, void *);
static void ssextio_attach(struct device *, struct device *, void *);
static int ssextio_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int ssextio_print(void *, const char *);
static int ssextio_cascaded_intr(void *);
@ -169,7 +169,7 @@ ssextio_attach(struct device *parent, struct device *self, void *aux)
static int
ssextio_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct ssextio_softc *sc = (struct ssextio_softc *)parent;
struct s3c24x0_softc *cpuc =(struct s3c24x0_softc *)sc->sc_dev.dv_parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: s3c2410_spi.c,v 1.2 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: s3c2410_spi.c,v 1.3 2005/08/26 13:19:34 drochner Exp $ */
/*
* Copyright (c) 2004 Genetec Corporation. All rights reserved.
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: s3c2410_spi.c,v 1.2 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: s3c2410_spi.c,v 1.3 2005/08/26 13:19:34 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -65,7 +65,7 @@ struct ssspi_softc {
static int ssspi_match(struct device *, struct cfdata *, void *);
static void ssspi_attach(struct device *, struct device *, void *);
static int ssspi_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int ssspi_print(void *, const char *);
/* attach structures */
@ -138,7 +138,7 @@ int
ssspi_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct ssspi_softc *sc = (struct ssspi_softc *)parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: s3c2800.c,v 1.9 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: s3c2800.c,v 1.10 2005/08/26 13:19:34 drochner Exp $ */
/*
* Copyright (c) 2002, 2003 Fujitsu Component Limited
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: s3c2800.c,v 1.9 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: s3c2800.c,v 1.10 2005/08/26 13:19:34 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -56,7 +56,7 @@ __KERNEL_RCSID(0, "$NetBSD: s3c2800.c,v 1.9 2005/06/30 17:03:52 drochner Exp $")
static int s3c2800_match(struct device *, struct cfdata *, void *);
static void s3c2800_attach(struct device *, struct device *, void *);
static int s3c2800_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
/* attach structures */
CFATTACH_DECL(ssio, sizeof(struct s3c2800_softc), s3c2800_match, s3c2800_attach,
@ -167,7 +167,7 @@ abort:
int
s3c2800_search(struct device * parent, struct cfdata * cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct s3c2800_softc *sc = (struct s3c2800_softc *) parent;
struct s3c2xx0_attach_args aa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sa1111.c,v 1.12 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: sa1111.c,v 1.13 2005/08/26 13:19:35 drochner Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sa1111.c,v 1.12 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: sa1111.c,v 1.13 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -111,7 +111,7 @@ int
sa1111_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct sa1111_attach_args aa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sa1111_var.h,v 1.6 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: sa1111_var.h,v 1.7 2005/08/26 13:19:35 drochner Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -80,6 +80,6 @@ void *sacc_intr_establish(sacc_chipset_tag_t *, int, int, int,
void sacc_intr_disestablish(sacc_chipset_tag_t *, void *);
int sacc_probe(struct device *, struct cfdata *, void *);
int sa1111_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
#endif /* _SA1111_VAR_H */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sa11x0.c,v 1.15 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: sa11x0.c,v 1.16 2005/08/26 13:19:35 drochner Exp $ */
/*-
* Copyright (c) 2001, The NetBSD Foundation, Inc. All rights reserved.
@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sa11x0.c,v 1.15 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: sa11x0.c,v 1.16 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -89,7 +89,7 @@ __KERNEL_RCSID(0, "$NetBSD: sa11x0.c,v 1.15 2005/06/30 17:03:52 drochner Exp $")
static int sa11x0_match(struct device *, struct cfdata *, void *);
static void sa11x0_attach(struct device *, struct device *, void *);
static int sa11x0_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int sa11x0_print(void *, const char *);
/* attach structures */
@ -208,7 +208,7 @@ int
sa11x0_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct sa11x0_softc *sc = (struct sa11x0_softc *)parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: becc.c,v 1.9 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: becc.c,v 1.10 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright (c) 2002, 2003 Wasabi Systems, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: becc.c,v 1.9 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: becc.c,v 1.10 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -78,7 +78,7 @@ const char *becc_revisions[] = {
struct becc_softc *becc_softc;
static int becc_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int becc_print(void *, const char *);
static void becc_pci_dma_init(struct becc_softc *);
@ -220,7 +220,7 @@ becc_attach(struct becc_softc *sc)
*/
static int
becc_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct becc_softc *sc = (void *) parent;
struct becc_attach_args ba;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ixp425_sip.c,v 1.7 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: ixp425_sip.c,v 1.8 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright (c) 2003
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ixp425_sip.c,v 1.7 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: ixp425_sip.c,v 1.8 2005/08/26 13:19:35 drochner Exp $");
/*
* Slow peripheral bus of IXP425 Processor
@ -55,7 +55,7 @@ __KERNEL_RCSID(0, "$NetBSD: ixp425_sip.c,v 1.7 2005/06/30 17:03:52 drochner Exp
static int ixpsip_match(struct device *, struct cfdata *, void *);
static void ixpsip_attach(struct device *, struct device *, void *);
static int ixpsip_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int ixpsip_print(void *, const char *);
CFATTACH_DECL(ixpsip, sizeof(struct ixpsip_softc),
@ -94,7 +94,7 @@ ixpsip_attach(struct device *parent, struct device *self, void *aux)
int
ixpsip_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct ixpsip_softc *sc = (struct ixpsip_softc *)parent;
struct ixpsip_attach_args sa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pxa2x0.c,v 1.8 2005/07/04 00:42:37 bsh Exp $ */
/* $NetBSD: pxa2x0.c,v 1.9 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright (c) 2002, 2005 Genetec Corporation. All rights reserved.
@ -94,7 +94,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pxa2x0.c,v 1.8 2005/07/04 00:42:37 bsh Exp $");
__KERNEL_RCSID(0, "$NetBSD: pxa2x0.c,v 1.9 2005/08/26 13:19:35 drochner Exp $");
#include "pxaintc.h"
#include "pxagpio.h"
@ -131,7 +131,7 @@ struct pxaip_softc {
static int pxaip_match(struct device *, struct cfdata *, void *);
static void pxaip_attach(struct device *, struct device *, void *);
static int pxaip_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static void pxaip_attach_critical(struct pxaip_softc *);
static int pxaip_print(void *, const char *);
@ -219,7 +219,7 @@ pxaip_attach(struct device *parent, struct device *self, void *aux)
static int
pxaip_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct pxaip_softc *sc = aux;
struct pxaip_attach_args aa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: vme.c,v 1.10 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: vme.c,v 1.11 2005/08/26 13:19:35 drochner Exp $ */
/*-
* Copyright (c) 1997 The NetBSD Foundation, Inc.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vme.c,v 1.10 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: vme.c,v 1.11 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -55,7 +55,7 @@ CFATTACH_DECL(vme, sizeof(struct vme_softc),
vmematch, vmeattach, NULL, NULL);
int vmesearch __P((struct device *, struct cfdata *,
const locdesc_t *, void *));
const int *, void *));
int
vmematch(parent, cf, aux)
@ -112,7 +112,7 @@ int
vmesearch(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct vme_softc *sc = (struct vme_softc *)parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.13 2005/06/09 11:23:36 he Exp $ */
/* $NetBSD: autoconf.c,v 1.14 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright (c) 1997, 1999
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.13 2005/06/09 11:23:36 he Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.14 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -61,7 +61,7 @@ struct evcnt evcnt_fpsp_unimp, evcnt_fpsp_unsupp;
int mainbusmatch __P((struct device *, struct cfdata *, void *));
void mainbusattach __P((struct device *, struct device *, void *));
int mainbussearch __P((struct device *, struct cfdata *,
const locdesc_t *, void *));
const int *, void *));
CFATTACH_DECL(mainbus, sizeof(struct device),
mainbusmatch, mainbusattach, NULL, NULL);
@ -103,7 +103,7 @@ int
mainbussearch(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.11 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.12 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang. All rights reserved.
@ -26,7 +26,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.12 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -41,7 +41,7 @@ __KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.11 2005/06/30 17:03:52 drochner Exp $"
static int mainbus_match(struct device *, struct cfdata *, void *);
static void mainbus_attach(struct device *, struct device *, void *);
static int mainbus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
int mainbus_print(void *, const char *);
CFATTACH_DECL(mainbus, sizeof(struct device),
@ -77,7 +77,7 @@ static int
mainbus_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct mainbus_attach_args *ma = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: g2bus.c,v 1.10 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: g2bus.c,v 1.11 2005/08/26 13:19:35 drochner Exp $ */
/*-
* Copyright (c) 2001 Marcus Comstedt
@ -34,7 +34,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: g2bus.c,v 1.10 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: g2bus.c,v 1.11 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -54,7 +54,7 @@ CFATTACH_DECL(g2bus, sizeof(struct g2bus_softc),
g2busmatch, g2busattach, NULL, NULL);
int g2bussearch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
int
g2busmatch(struct device *parent, struct cfdata *cf, void *aux)
@ -89,7 +89,7 @@ g2busprint(void *aux, const char *pnp)
int
g2bussearch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
if (config_match(parent, cf, aux) > 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: maple.c,v 1.29 2005/07/03 23:06:51 he Exp $ */
/* $NetBSD: maple.c,v 1.30 2005/08/26 13:19:35 drochner Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -69,7 +69,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: maple.c,v 1.29 2005/07/03 23:06:51 he Exp $");
__KERNEL_RCSID(0, "$NetBSD: maple.c,v 1.30 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -132,7 +132,7 @@ static void maple_check_unit_change(struct maple_softc *,
struct maple_unit *);
static void maple_print_unit(void *, const char *);
static int maplesubmatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int mapleprint(void *, const char *);
static void maple_attach_unit(struct maple_softc *, struct maple_unit *);
static void maple_detach_unit_nofix(struct maple_softc *,
@ -639,7 +639,7 @@ maple_print_unit(void *aux, const char *pnp)
static int
maplesubmatch(struct device *parent, struct cfdata *match,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct maple_attach_args *ma = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.7 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: obio.c,v 1.8 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.7 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.8 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -66,7 +66,7 @@ CFATTACH_DECL(obio, sizeof(struct device),
int obio_print(void *, const char *);
int obio_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
/* there can be only one */
int obio_found;
@ -126,7 +126,7 @@ obio_print(void *aux, const char *pnp)
int
obio_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct obio_attach_args oba;

View File

@ -1,4 +1,4 @@
/* $NetBSD: gb225.c,v 1.2 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: gb225.c,v 1.3 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright (c) 2002, 2003 Genetec corp. All rights reserved.
@ -63,7 +63,7 @@
static int opio_match(struct device *, struct cfdata *, void *);
static void opio_attach(struct device *, struct device *, void *);
static int opio_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int opio_print(void *, const char *);
#ifdef OPIO_INTR
static int opio_intr( void *arg );
@ -179,7 +179,7 @@ opio_attach(struct device *parent, struct device *self, void *aux)
int
opio_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct opio_softc *sc = (struct opio_softc *)parent;
struct obio_attach_args oba;

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.2 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: obio.c,v 1.3 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright (c) 2002, 2003, 2005 Genetec corp. All rights reserved.
@ -55,7 +55,7 @@
static int obio_match(struct device *, struct cfdata *, void *);
static void obio_attach(struct device *, struct device *, void *);
static int obio_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int obio_print(void *, const char *);
/* attach structures */
@ -268,7 +268,7 @@ obio_attach(struct device *parent, struct device *self, void *aux)
int
obio_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct obio_softc *sc = (struct obio_softc *)parent;
struct obio_attach_args oba;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ifpga.c,v 1.19 2004/08/30 15:05:17 drochner Exp $ */
/* $NetBSD: ifpga.c,v 1.20 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright (c) 2001 ARM Ltd
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ifpga.c,v 1.19 2004/08/30 15:05:17 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: ifpga.c,v 1.20 2005/08/26 13:19:35 drochner Exp $");
#include <sys/types.h>
#include <sys/device.h>
@ -111,7 +111,7 @@ ifpga_print(void *aux, const char *pnp)
static int
ifpga_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct ifpga_softc *sc = (struct ifpga_softc *)parent;
struct ifpga_attach_args ifa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.16 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: obio.c,v 1.17 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -44,7 +44,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.16 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.17 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -67,7 +67,7 @@ CFATTACH_DECL(obio, sizeof(struct device),
int obio_print(void *, const char *);
int obio_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
/* there can be only one */
int obio_found;
@ -146,7 +146,7 @@ obio_print(void *aux, const char *pnp)
int
obio_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct obio_attach_args oba;

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.12 2005/06/30 17:03:52 drochner Exp $ */
/* $NetBSD: obio.c,v 1.13 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.12 2005/06/30 17:03:52 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.13 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -65,7 +65,7 @@ CFATTACH_DECL(obio, sizeof(struct device),
int obio_print(void *, const char *);
int obio_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
/* there can be only one */
int obio_found;
@ -125,7 +125,7 @@ obio_print(void *aux, const char *pnp)
int
obio_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct obio_attach_args oba;

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.4 2005/07/03 18:10:53 bsh Exp $ */
/* $NetBSD: obio.c,v 1.5 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright (c) 2002, 2003 Genetec Corporation. All rights reserved.
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.4 2005/07/03 18:10:53 bsh Exp $");
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.5 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -62,7 +62,7 @@ __KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.4 2005/07/03 18:10:53 bsh Exp $");
static int obio_match(struct device *, struct cfdata *, void *);
static void obio_attach(struct device *, struct device *, void *);
static int obio_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int obio_print(void *, const char *);
/* attach structures */
@ -287,7 +287,7 @@ obio_attach(struct device *parent, struct device *self, void *aux)
}
int
obio_search(struct device *parent, struct cfdata *cf, const locdesc_t *ldesc,
obio_search(struct device *parent, struct cfdata *cf, const int *ldesc,
void *aux)
{
struct obio_softc *sc = (struct obio_softc *)parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: tspld.c,v 1.9 2005/08/14 03:03:48 joff Exp $ */
/* $NetBSD: tspld.c,v 1.10 2005/08/26 13:19:35 drochner Exp $ */
/*-
* Copyright (c) 2004 Jesse Off
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tspld.c,v 1.9 2005/08/14 03:03:48 joff Exp $");
__KERNEL_RCSID(0, "$NetBSD: tspld.c,v 1.10 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/callout.h>
@ -66,7 +66,7 @@ int tspldmatch (struct device *, struct cfdata *, void *);
void tspldattach (struct device *, struct device *, void *);
static int tspld_wdog_setmode (struct sysmon_wdog *);
static int tspld_wdog_tickle (struct sysmon_wdog *);
int tspld_search (struct device *, struct cfdata *, const locdesc_t *, void *);
int tspld_search (struct device *, struct cfdata *, const int *, void *);
int tspld_print (void *, const char *);
void boardtemp_poll (void *);
@ -459,7 +459,7 @@ int
tspld_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct tspld_softc *sc = (struct tspld_softc *)parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pb1000_obio.c,v 1.7 2005/06/28 18:29:59 drochner Exp $ */
/* $NetBSD: pb1000_obio.c,v 1.8 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pb1000_obio.c,v 1.7 2005/06/28 18:29:59 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: pb1000_obio.c,v 1.8 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -55,7 +55,7 @@ __KERNEL_RCSID(0, "$NetBSD: pb1000_obio.c,v 1.7 2005/06/28 18:29:59 drochner Exp
static int obio_match(struct device *, struct cfdata *, void *);
static void obio_attach(struct device *, struct device *, void *);
static int obio_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int obio_print(void *, const char *);
CFATTACH_DECL(obio, sizeof(struct device),
@ -107,7 +107,7 @@ obio_attach(struct device *parent, struct device *self, void *aux)
static int
obio_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct obio_attach_args *oa = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.8 2005/06/28 18:29:59 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.9 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.8 2005/06/28 18:29:59 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.9 2005/08/26 13:19:35 drochner Exp $");
#include "opt_pci.h"
@ -70,7 +70,7 @@ __KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.8 2005/06/28 18:29:59 drochner Exp $")
static int mainbus_match(struct device *, struct cfdata *, void *);
static void mainbus_attach(struct device *, struct device *, void *);
static int mainbus_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int mainbus_print(void *, const char *);
CFATTACH_DECL(mainbus, sizeof(struct device),
@ -169,7 +169,7 @@ mainbus_attach(parent, self, aux)
static int
mainbus_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct mainbus_attach_args *ma = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: pbus.c,v 1.7 2005/06/28 18:29:59 drochner Exp $ */
/* $NetBSD: pbus.c,v 1.8 2005/08/26 13:19:35 drochner Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pbus.c,v 1.7 2005/06/28 18:29:59 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: pbus.c,v 1.8 2005/08/26 13:19:35 drochner Exp $");
#include "locators.h"
#include "pckbc.h"
@ -99,7 +99,7 @@ const struct pbus_dev {
static int pbus_match(struct device *, struct cfdata *, void *);
static void pbus_attach(struct device *, struct device *, void *);
static int pbus_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int pbus_print(void *, const char *);
CFATTACH_DECL(pbus, sizeof(struct device),
@ -129,7 +129,7 @@ pbus_match(struct device *parent, struct cfdata *cf, void *aux)
static int
pbus_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct pbus_attach_args *pba = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: dio.c,v 1.29 2005/06/28 18:29:59 drochner Exp $ */
/* $NetBSD: dio.c,v 1.30 2005/08/26 13:19:35 drochner Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: dio.c,v 1.29 2005/06/28 18:29:59 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: dio.c,v 1.30 2005/08/26 13:19:35 drochner Exp $");
#define _HP300_INTR_H_PRIVATE
@ -80,7 +80,7 @@ static const char *dio_devinfo(struct dio_attach_args *, char *, size_t);
static int diomatch(struct device *, struct cfdata *, void *);
static void dioattach(struct device *, struct device *, void *);
static int dioprint(void *, const char *);
static int diosubmatch(struct device *, struct cfdata *, const locdesc_t *, void *);
static int diosubmatch(struct device *, struct cfdata *, const int *, void *);
CFATTACH_DECL(dio, sizeof(struct dio_softc),
diomatch, dioattach, NULL, NULL);
@ -167,7 +167,7 @@ dioattach(struct device *parent, struct device *self, void *aux)
static int
diosubmatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct dio_attach_args *da = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: frodo.c,v 1.20 2005/06/28 18:29:59 drochner Exp $ */
/* $NetBSD: frodo.c,v 1.21 2005/08/26 13:19:35 drochner Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: frodo.c,v 1.20 2005/06/28 18:29:59 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: frodo.c,v 1.21 2005/08/26 13:19:35 drochner Exp $");
#define _HP300_INTR_H_PRIVATE
@ -110,7 +110,7 @@ static int frodomatch(struct device *, struct cfdata *, void *);
static void frodoattach(struct device *, struct device *, void *);
static int frodoprint(void *, const char *);
static int frodosubmatch(struct device *, struct cfdata *, const locdesc_t *, void *);
static int frodosubmatch(struct device *, struct cfdata *, const int *, void *);
static int frodointr(void *);
@ -214,7 +214,7 @@ frodoattach(struct device *parent, struct device *self, void *aux)
static int
frodosubmatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct frodo_attach_args *fa = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: hpib.c,v 1.29 2005/07/04 15:18:17 drochner Exp $ */
/* $NetBSD: hpib.c,v 1.30 2005/08/26 13:19:35 drochner Exp $ */
/*-
* Copyright (c) 1996, 1997 The NetBSD Foundation, Inc.
@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hpib.c,v 1.29 2005/07/04 15:18:17 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: hpib.c,v 1.30 2005/08/26 13:19:35 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -97,7 +97,7 @@ CFATTACH_DECL(hpibbus, sizeof(struct hpibbus_softc),
static void hpibbus_attach_children(struct hpibbus_softc *);
static int hpibbussearch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int hpibbusprint(void *, const char *);
static int hpibbus_alloc(struct hpibbus_softc *, int, int);
@ -211,7 +211,7 @@ hpibbus_attach_children(struct hpibbus_softc *sc)
static int
hpibbussearch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct hpibbus_softc *sc = (struct hpibbus_softc *)parent;
struct hpibbus_attach_args *ha = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.72 2005/07/04 15:18:17 drochner Exp $ */
/* $NetBSD: autoconf.c,v 1.73 2005/08/26 13:19:35 drochner Exp $ */
/*-
* Copyright (c) 1996, 1997, 2002 The NetBSD Foundation, Inc.
@ -143,7 +143,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.72 2005/07/04 15:18:17 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.73 2005/08/26 13:19:35 drochner Exp $");
#include "hil.h"
#include "dvbox.h"
@ -289,7 +289,7 @@ static void dev_data_insert(struct dev_data *, ddlist_t *);
static int mainbusmatch(struct device *, struct cfdata *, void *);
static void mainbusattach(struct device *, struct device *, void *);
static int mainbussearch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
CFATTACH_DECL(mainbus, sizeof(struct device),
mainbusmatch, mainbusattach, NULL, NULL);
@ -319,7 +319,7 @@ mainbusattach(struct device *parent, struct device *self, void *aux)
static int
mainbussearch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
if (config_match(parent, cf, NULL) > 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.28 2005/07/04 15:18:17 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.29 2005/08/26 13:19:35 drochner Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@ -70,7 +70,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.28 2005/07/04 15:18:17 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.29 2005/08/26 13:19:35 drochner Exp $");
#include "locators.h"
#include "opt_power_switch.h"
@ -1704,7 +1704,7 @@ mbprint(void *aux, const char *pnp)
int
mbsubmatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct confargs *ca = aux;
int ret;

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.h,v 1.5 2005/06/28 18:30:00 drochner Exp $ */
/* $NetBSD: autoconf.h,v 1.6 2005/08/26 13:19:36 drochner Exp $ */
/* $OpenBSD: autoconf.h,v 1.10 2001/05/05 22:33:42 art Exp $ */
@ -79,7 +79,7 @@ void (*pdc_scanbus) __P((struct device *, struct confargs *,
void (*)(struct device *, struct confargs *)));
int mbprint __P((void *, const char *));
int mbsubmatch __P((struct device *, struct cfdata *,
const locdesc_t *, void *));
const int *, void *));
int clock_intr __P((void *));
void dumpconf __P((void));

View File

@ -1,4 +1,4 @@
/* $NetBSD: ipaq_atmelgpio.c,v 1.7 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: ipaq_atmelgpio.c,v 1.8 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc. All rights reserved.
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ipaq_atmelgpio.c,v 1.7 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: ipaq_atmelgpio.c,v 1.8 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -72,7 +72,7 @@ static int atmelgpio_match(struct device *, struct cfdata *, void *);
static void atmelgpio_attach(struct device *, struct device *, void *);
static int atmelgpio_print(void *, const char *);
static int atmelgpio_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static void atmelgpio_init(struct atmelgpio_softc *);
static void rxtx_data(struct atmelgpio_softc *, int, int,
@ -139,7 +139,7 @@ static int
atmelgpio_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
if (config_match(parent, cf, NULL) > 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ipaq_saip.c,v 1.15 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: ipaq_saip.c,v 1.16 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 2001, The NetBSD Foundation, Inc. All rights reserved.
@ -24,7 +24,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ipaq_saip.c,v 1.15 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: ipaq_saip.c,v 1.16 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -52,7 +52,7 @@ __KERNEL_RCSID(0, "$NetBSD: ipaq_saip.c,v 1.15 2005/06/30 17:03:53 drochner Exp
static int ipaq_match(struct device *, struct cfdata *, void *);
static void ipaq_attach(struct device *, struct device *, void *);
static int ipaq_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int ipaq_print(void *, const char *);
/* attach structures */
@ -117,7 +117,7 @@ int
ipaq_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
if (config_match(parent, cf, NULL) > 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: uda1341.c,v 1.6 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: uda1341.c,v 1.7 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc. All rights reserved.
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: uda1341.c,v 1.6 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: uda1341.c,v 1.7 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -67,7 +67,7 @@ static int uda1341_match(struct device *, struct cfdata *, void *);
static void uda1341_attach(struct device *, struct device *, void *);
static int uda1341_print(void *, const char *);
static int uda1341_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static void uda1341_output_high(struct uda1341_softc *);
static void uda1341_output_low(struct uda1341_softc *);
@ -160,7 +160,7 @@ static int
uda1341_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
if (config_match(parent, cf, NULL) > 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: plum.c,v 1.10 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: plum.c,v 1.11 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: plum.c,v 1.10 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: plum.c,v 1.11 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -55,7 +55,7 @@ __KERNEL_RCSID(0, "$NetBSD: plum.c,v 1.10 2005/06/30 17:03:53 drochner Exp $");
int plum_match(struct device *, struct cfdata *, void *);
void plum_attach(struct device *, struct device *, void *);
int plum_print(void *, const char *);
int plum_search(struct device *, struct cfdata *, const locdesc_t *, void *);
int plum_search(struct device *, struct cfdata *, const int *, void *);
struct plum_softc {
struct device sc_dev;
@ -158,7 +158,7 @@ plum_print(void *aux, const char *pnp)
int
plum_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct plum_softc *sc = (void*)parent;
struct plum_attach_args pa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: plumiobus.c,v 1.10 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: plumiobus.c,v 1.11 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: plumiobus.c,v 1.10 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: plumiobus.c,v 1.11 2005/08/26 13:19:36 drochner Exp $");
#define PLUMIOBUSDEBUG
@ -71,7 +71,7 @@ int plumiobus_match(struct device *, struct cfdata *, void *);
void plumiobus_attach(struct device *, struct device *, void *);
int plumiobus_print(void *, const char *);
int plumiobus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
struct plumisa_resource {
int pr_irq;
@ -194,7 +194,7 @@ __plumiobus_subregion(bus_space_tag_t t, bus_addr_t ofs, bus_size_t size)
int
plumiobus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct plumiobus_softc *sc = (void*)parent;
struct plumiobus_attach_args pba;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ucb1200.c,v 1.14 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: ucb1200.c,v 1.15 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ucb1200.c,v 1.14 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: ucb1200.c,v 1.15 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -84,7 +84,7 @@ int ucb1200_match(struct device *, struct cfdata *, void *);
void ucb1200_attach(struct device *, struct device *, void *);
int ucb1200_print(void *, const char *);
int ucb1200_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
int ucb1200_check_id(u_int16_t, int);
#ifdef UCB1200_DEBUG
@ -147,7 +147,7 @@ ucb1200_attach(struct device *parent, struct device *self, void *aux)
int
ucb1200_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct ucb1200_softc *sc = (void*)parent;
struct ucb1200_attach_args ucba;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.26 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.27 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 1999
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.26 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.27 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -56,7 +56,7 @@ __KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.26 2005/06/30 17:03:53 drochner Exp $"
STATIC int mainbus_match(struct device *, struct cfdata *, void *);
STATIC void mainbus_attach(struct device *, struct device *, void *);
STATIC int mainbus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
STATIC int mainbus_print(void *, const char *);
CFATTACH_DECL(mainbus, sizeof(struct device),
@ -103,7 +103,7 @@ mainbus_attach(struct device *parent, struct device *self, void *aux)
int
mainbus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct mainbus_attach_args *ma = (void *)aux;
int locator = cf->cf_loc[MAINBUSCF_PLATFORM];

View File

@ -1,4 +1,4 @@
/* $NetBSD: tx39sib.c,v 1.15 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: tx39sib.c,v 1.16 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tx39sib.c,v 1.15 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: tx39sib.c,v 1.16 2005/08/26 13:19:36 drochner Exp $");
#undef TX39SIBDEBUG
@ -70,7 +70,7 @@ int tx39sib_match(struct device *, struct cfdata *, void *);
void tx39sib_attach(struct device *, struct device *, void *);
int tx39sib_print(void *, const char *);
int tx39sib_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
#define TX39_CLK2X 18432000
const int sibsclk_divide_table[8] = {
@ -280,7 +280,7 @@ tx39sib_clock(struct device *dev)
int
tx39sib_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct tx39sib_softc *sc = (void*)parent;
struct txsib_attach_args sa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: tx39spi.c,v 1.2 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: tx39spi.c,v 1.3 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 2005 HAMAJIMA Katsuomi. All rights reserved.
@ -31,7 +31,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tx39spi.c,v 1.2 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: tx39spi.c,v 1.3 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -52,7 +52,7 @@ struct tx39spi_softc {
static int tx39spi_match(struct device *, struct cfdata *, void *);
static void tx39spi_attach(struct device *, struct device *, void *);
static int tx39spi_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int tx39spi_print(void *, const char *);
#ifndef USE_POLL
static int tx39spi_intr(void *);
@ -94,7 +94,7 @@ tx39spi_attach(struct device *parent, struct device *self, void *aux)
int
tx39spi_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct tx39spi_softc *sc = (void*)parent;
struct txspi_attach_args sa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: tx39uart.c,v 1.11 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: tx39uart.c,v 1.12 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: tx39uart.c,v 1.11 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: tx39uart.c,v 1.12 2005/08/26 13:19:36 drochner Exp $");
#include "opt_tx39uart_debug.h"
@ -57,7 +57,7 @@ int tx39uart_match(struct device *, struct cfdata *, void *);
void tx39uart_attach(struct device *, struct device *, void *);
int tx39uart_print(void *, const char *);
int tx39uart_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
struct tx39uart_softc {
struct device sc_dev;
@ -89,7 +89,7 @@ tx39uart_attach(struct device *parent, struct device *self, void *aux)
int
tx39uart_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct tx39uart_softc *sc = (void *)parent;
struct tx39uart_attach_args ua;

View File

@ -1,4 +1,4 @@
/* $NetBSD: txcsbus.c,v 1.18 2005/07/30 22:40:34 nakayama Exp $ */
/* $NetBSD: txcsbus.c,v 1.19 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: txcsbus.c,v 1.18 2005/07/30 22:40:34 nakayama Exp $");
__KERNEL_RCSID(0, "$NetBSD: txcsbus.c,v 1.19 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -103,7 +103,7 @@ int txcsbus_match(struct device *, struct cfdata *, void *);
void txcsbus_attach(struct device *, struct device *, void *);
int txcsbus_print(void *, const char *);
int txcsbus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
struct txcsbus_softc {
struct device sc_dev;
@ -205,7 +205,7 @@ txcsbus_print(void *aux, const char *pnp)
int
txcsbus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct txcsbus_softc *sc = (void*)parent;
struct cs_attach_args ca;

View File

@ -1,4 +1,4 @@
/* $NetBSD: txsim.c,v 1.13 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: txsim.c,v 1.14 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: txsim.c,v 1.13 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: txsim.c,v 1.14 2005/08/26 13:19:36 drochner Exp $");
#include "opt_vr41xx.h"
#include "opt_tx39xx.h"
@ -61,7 +61,7 @@ int txsim_match(struct device *, struct cfdata *, void *);
void txsim_attach(struct device *, struct device *, void *);
int txsim_print(void *, const char*);
int txsim_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
struct txsim_softc {
struct device sc_dev;
@ -121,7 +121,7 @@ txsim_print(void *aux, const char *pnp)
int
txsim_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct txsim_softc *sc = (void*)parent;
struct txsim_attach_args ta;

View File

@ -1,4 +1,4 @@
/* $NetBSD: vrc4173bcu.c,v 1.17 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: vrc4173bcu.c,v 1.18 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 2001,2002 Enami Tsugutomo.
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vrc4173bcu.c,v 1.17 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: vrc4173bcu.c,v 1.18 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -65,7 +65,7 @@ static void vrc4173bcu_attach(struct device *, struct device *, void *);
static int vrc4173bcu_intr(void *);
static int vrc4173bcu_print(void *, const char *);
static int vrc4173bcu_search(struct device *, struct cfdata *cf,
const locdesc_t *, void *);
const int *, void *);
static int vrc4173bcu_pci_intr(void *);
#ifdef VRC4173BCU_DEBUG
static void vrc4173bcu_dump_level2mask(vrip_chipset_tag_t,
@ -452,7 +452,7 @@ vrc4173bcu_print(void *aux, const char *hoge)
int
vrc4173bcu_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct vrc4173bcu_softc *sc = (struct vrc4173bcu_softc *)parent;
struct vrip_attach_args va;

View File

@ -1,4 +1,4 @@
/* $NetBSD: vrip.c,v 1.30 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: vrip.c,v 1.31 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 1999, 2002
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vrip.c,v 1.30 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: vrip.c,v 1.31 2005/08/26 13:19:36 drochner Exp $");
#include "opt_vr41xx.h"
#include "opt_tx39xx.h"
@ -80,7 +80,7 @@ void vripattach(struct device *, struct device *, void *);
#endif
int vrip_print(void *, const char *);
int vrip_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
int vrip_intr(void *, u_int32_t, u_int32_t);
int __vrip_power(vrip_chipset_tag_t, int, int);
@ -276,7 +276,7 @@ vrip_print(void *aux, const char *hoge)
int
vrip_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct vrip_softc *sc = (struct vrip_softc *)parent;
struct vrip_attach_args va;

View File

@ -1,4 +1,4 @@
/* $NetBSD: hd64461pcmcia.c,v 1.30 2005/06/28 18:30:00 drochner Exp $ */
/* $NetBSD: hd64461pcmcia.c,v 1.31 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 2001, 2002, 2004 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hd64461pcmcia.c,v 1.30 2005/06/28 18:30:00 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: hd64461pcmcia.c,v 1.31 2005/08/26 13:19:36 drochner Exp $");
#include "debug_hpcsh.h"
@ -200,7 +200,7 @@ STATIC int hd64461pcmcia_match(struct device *, struct cfdata *, void *);
STATIC void hd64461pcmcia_attach(struct device *, struct device *, void *);
STATIC int hd64461pcmcia_print(void *, const char *);
STATIC int hd64461pcmcia_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
CFATTACH_DECL(hd64461pcmcia, sizeof(struct hd64461pcmcia_softc),
hd64461pcmcia_match, hd64461pcmcia_attach, NULL, NULL);
@ -337,7 +337,7 @@ hd64461pcmcia_print(void *arg, const char *pnp)
int
hd64461pcmcia_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct pcmciabus_attach_args *paa = aux;
struct hd64461pcmcia_channel *ch =

View File

@ -1,4 +1,4 @@
/* $NetBSD: hd64465pcmcia.c,v 1.18 2005/06/28 18:30:00 drochner Exp $ */
/* $NetBSD: hd64465pcmcia.c,v 1.19 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 2001, 2002 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hd64465pcmcia.c,v 1.18 2005/06/28 18:30:00 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: hd64465pcmcia.c,v 1.19 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -184,7 +184,7 @@ STATIC int hd64465pcmcia_match(struct device *, struct cfdata *, void *);
STATIC void hd64465pcmcia_attach(struct device *, struct device *, void *);
STATIC int hd64465pcmcia_print(void *, const char *);
STATIC int hd64465pcmcia_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
CFATTACH_DECL(hd64465pcmcia, sizeof(struct hd64465pcmcia_softc),
hd64465pcmcia_match, hd64465pcmcia_attach, NULL, NULL);
@ -308,7 +308,7 @@ hd64465pcmcia_print(void *arg, const char *pnp)
int
hd64465pcmcia_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct pcmciabus_attach_args *paa = aux;
struct hd64465pcmcia_channel *ch =

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.14 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.15 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 2001, 2004 The NetBSD Foundation, Inc.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.14 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.15 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -49,7 +49,7 @@ __KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.14 2005/06/30 17:03:53 drochner Exp $"
static int mainbus_match(struct device *, struct cfdata *, void *);
static void mainbus_attach(struct device *, struct device *, void *);
static int mainbus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int mainbus_print(void *, const char *);
CFATTACH_DECL(mainbus, sizeof(struct device),
@ -81,7 +81,7 @@ mainbus_attach(struct device *parent, struct device *self, void *aux)
static int
mainbus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct mainbus_attach_args maa;
int locator = cf->cf_loc[MAINBUSCF_ID];

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.2 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: obio.c,v 1.3 2005/08/26 13:19:36 drochner Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.2 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.3 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -64,7 +64,7 @@ CFATTACH_DECL(obio, sizeof(struct device),
int obio_print(void *, const char *);
int obio_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
/* there can be only one */
int obio_found;
@ -124,7 +124,7 @@ obio_print(void *aux, const char *pnp)
int
obio_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct obio_attach_args oba;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.17 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.18 2005/08/26 13:19:36 drochner Exp $ */
/*
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.17 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.18 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -49,7 +49,7 @@ __KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.17 2005/06/30 17:03:53 drochner Exp $"
static int mainbus_match(struct device *, struct cfdata *, void *);
static void mainbus_attach(struct device *, struct device *, void *);
static int mainbus_search(struct device *, struct cfdata *,
const locdesc_t *ldesc, void *);
const int *ldesc, void *);
CFATTACH_DECL(mainbus, sizeof(struct device),
mainbus_match, mainbus_attach, NULL, NULL);
@ -104,7 +104,7 @@ mainbus_attach(struct device *parent, struct device *self, void *aux)
static int
mainbus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
if (config_match(parent, cf, aux) > 0)
config_attach(parent, cf, aux, NULL);

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.21 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: obio.c,v 1.22 2005/08/26 13:19:36 drochner Exp $ */
/*
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.21 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.22 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -53,7 +53,7 @@ static int obio_match(struct device *, struct cfdata *, void *);
static void obio_attach(struct device *, struct device *, void *);
static int obio_print(void *, const char *);
static int obio_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
CFATTACH_DECL(obio, sizeof(struct device),
obio_match, obio_attach, NULL, NULL);
@ -93,7 +93,7 @@ obio_print(void *args, const char *name)
int
obio_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct mainbus_attach_args *mba = (struct mainbus_attach_args *) aux;
struct obio_attach_args oa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbgbus.c,v 1.8 2004/09/13 14:57:31 drochner Exp $ */
/* $NetBSD: sbgbus.c,v 1.9 2005/08/26 13:19:36 drochner Exp $ */
/*
* Copyright 2000, 2001
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sbgbus.c,v 1.8 2004/09/13 14:57:31 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: sbgbus.c,v 1.9 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -54,7 +54,7 @@ CFATTACH_DECL(sbgbus, sizeof(struct device),
sbgbus_match, sbgbus_attach, NULL, NULL);
static int sbgbussearch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int sbgbusprint(void *, const char *);
static int
@ -96,7 +96,7 @@ sbgbusprint(void *aux, const char *pnp)
static int
sbgbussearch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct sbgbus_attach_args sga;
int tryagain;

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.10 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: obio.c,v 1.11 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.10 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.11 2005/08/26 13:19:36 drochner Exp $");
#include "locators.h"
@ -53,7 +53,7 @@ __KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.10 2005/06/30 17:03:53 drochner Exp $");
static int obio_match __P((struct device *, struct cfdata *, void *));
static void obio_attach __P((struct device *, struct device *, void *));
static int obio_search __P((struct device *, struct cfdata *,
const locdesc_t *, void *));
const int *, void *));
static int obio_print __P((void *, const char *));
static void obio_intr_establish __P((bus_space_tag_t, int, int, int,
int (*)(void *), void *));
@ -107,7 +107,7 @@ static int
obio_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct confargs *ca = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: hb.c,v 1.15 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: hb.c,v 1.16 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (C) 1999 Izumi Tsutsui. All rights reserved.
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hb.c,v 1.15 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: hb.c,v 1.16 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -45,7 +45,7 @@ __KERNEL_RCSID(0, "$NetBSD: hb.c,v 1.15 2005/06/30 17:03:53 drochner Exp $");
static int hb_match(struct device *, struct cfdata *, void *);
static void hb_attach(struct device *, struct device *, void *);
static int hb_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int hb_print(void *, const char *);
CFATTACH_DECL(hb, sizeof(struct device),
@ -78,7 +78,7 @@ hb_attach(struct device *parent, struct device *self, void *aux)
static int
hb_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct hb_attach_args *ha = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.12 2005/07/03 22:23:56 he Exp $ */
/* $NetBSD: mainbus.c,v 1.13 2005/08/26 13:19:36 drochner Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.12 2005/07/03 22:23:56 he Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.13 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -48,7 +48,7 @@ struct mainbus_softc {
static int mainbus_match(struct device *, struct cfdata *, void *);
static void mainbus_attach(struct device *, struct device *, void *);
static int mainbus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int mainbus_print(void *, const char *);
CFATTACH_DECL(mainbus, sizeof(struct mainbus_softc),
@ -79,7 +79,7 @@ mainbus_attach(struct device *parent, struct device *self, void *aux)
static int
mainbus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct mainbus_attach_args *ma = aux;

View File

@ -1,7 +1,7 @@
/* $NetBSD: hb.c,v 1.15 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: hb.c,v 1.16 2005/08/26 13:19:36 drochner Exp $ */
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hb.c,v 1.15 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: hb.c,v 1.16 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -16,7 +16,7 @@ __KERNEL_RCSID(0, "$NetBSD: hb.c,v 1.15 2005/06/30 17:03:53 drochner Exp $");
static int hb_match(struct device *, struct cfdata *, void *);
static void hb_attach(struct device *, struct device *, void *);
static int hb_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int hb_print(void *, const char *);
CFATTACH_DECL(hb, sizeof(struct device),
@ -58,7 +58,7 @@ hb_attach(struct device *parent, struct device *self, void *aux)
static int
hb_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct hb_attach_args *ha = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: intio.c,v 1.10 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: intio.c,v 1.11 2005/08/26 13:19:36 drochner Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: intio.c,v 1.10 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: intio.c,v 1.11 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -56,7 +56,7 @@ int intiomatch(struct device *, struct cfdata *, void *);
void intioattach(struct device *, struct device *, void *);
int intioprint(void *, const char *);
int intiosearch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
CFATTACH_DECL(intio, sizeof(struct device),
intiomatch, intioattach, NULL, NULL);
@ -104,7 +104,7 @@ intioprint(void *aux, const char *pnp)
int
intiosearch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct mainbus_attach_args *mba = (struct mainbus_attach_args *) aux;
struct intio_attach_args ia;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.7 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.8 2005/08/26 13:19:36 drochner Exp $ */
/*
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.7 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.8 2005/08/26 13:19:36 drochner Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -49,7 +49,7 @@ __KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.7 2005/06/30 17:03:53 drochner Exp $")
static int mainbus_match(struct device *, struct cfdata *, void *);
static void mainbus_attach(struct device *, struct device *, void *);
static int mainbus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
CFATTACH_DECL(mainbus, sizeof(struct device),
mainbus_match, mainbus_attach, NULL, NULL);
@ -104,7 +104,7 @@ mainbus_attach(struct device *parent, struct device *self, void *aux)
static int
mainbus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
if (config_match(parent, cf, aux) > 0)
config_attach(parent, cf, aux, NULL);

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.16 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.17 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright (c) 1997 Matthias Pfaller.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.16 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.17 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -44,7 +44,7 @@ __KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.16 2005/06/30 17:03:53 drochner Exp $"
static int mbprobe __P((struct device *, struct cfdata *, void *));
static void mbattach __P((struct device *, struct device *, void *));
static int mbsearch __P((struct device *, struct cfdata *,
const locdesc_t *, void *));
const int *, void *));
static int mbprint __P((void *, const char *));
CFATTACH_DECL(mainbus, sizeof(struct device),
@ -123,7 +123,7 @@ static int
mbsearch(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct confargs ca;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ebus.c,v 1.3 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: ebus.c,v 1.4 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright (c) 2003 Anders Magnusson (ragge@ludd.luth.se).
* All rights reserved.
@ -55,7 +55,7 @@ ebus_match(struct device *parent, struct cfdata *cf, void *aux)
static int
ebus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct ebus_attach_args ea;
int rv;

View File

@ -1,4 +1,4 @@
/* $NetBSD: sbus.c,v 1.7 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: sbus.c,v 1.8 2005/08/26 13:19:37 drochner Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: sbus.c,v 1.7 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: sbus.c,v 1.8 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -88,7 +88,7 @@ STATIC int sbus_intr(void *);
STATIC int sbus_match(struct device *, struct cfdata *, void *);
STATIC void sbus_attach(struct device *, struct device *, void *);
STATIC int sbus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
STATIC int sbus_print(void *, const char *);
CFATTACH_DECL(sbus, sizeof (struct device),
@ -123,7 +123,7 @@ sbus_attach(struct device *parent, struct device *self, void *aux)
int
sbus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct sbus_attach_args sa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.7 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.8 2005/08/26 13:19:37 drochner Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.7 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.8 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -44,7 +44,7 @@ __KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.7 2005/06/30 17:03:53 drochner Exp $")
static int mainbus_match(struct device *, struct cfdata *, void *);
static void mainbus_attach(struct device *, struct device *, void *);
static int mainbus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int mainbus_print(void *, const char *);
CFATTACH_DECL(mainbus, sizeof(struct device),
@ -72,7 +72,7 @@ mainbus_attach(struct device *parent, struct device *self, void *aux)
static int
mainbus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct mainbus_attach_args ma;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.9 2005/06/28 18:30:00 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.10 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.9 2005/06/28 18:30:00 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.10 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/device.h>
@ -76,7 +76,7 @@ mainbus_match(struct device *parent, struct cfdata *match, void *aux)
static int
mainbus_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct mainbus_attach_args *maa = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: gpio_opb.c,v 1.1 2005/01/23 19:22:22 shige Exp $ */
/* $NetBSD: gpio_opb.c,v 1.2 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright (c) 2004 Shigeyuki Fukushima.
@ -51,7 +51,7 @@ struct gpio_softc {
static int gpio_print(void *, const char *);
static int gpio_search(struct device *, struct cfdata *,
const locdesc_t *ldesc, void *aux);
const int *ldesc, void *aux);
static int gpio_match(struct device *, struct cfdata *, void *);
static void gpio_attach(struct device *, struct device *, void *);
@ -83,7 +83,7 @@ gpio_print(void *aux, const char *pnp)
static int
gpio_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct gpio_softc *sc = (void *)parent;
struct gpio_attach_args gaa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: opb.c,v 1.19 2005/07/03 22:25:02 he Exp $ */
/* $NetBSD: opb.c,v 1.20 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright 2001,2002 Wasabi Systems, Inc.
@ -66,7 +66,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: opb.c,v 1.19 2005/07/03 22:25:02 he Exp $");
__KERNEL_RCSID(0, "$NetBSD: opb.c,v 1.20 2005/08/26 13:19:37 drochner Exp $");
#include "locators.h"
@ -120,7 +120,7 @@ const struct opb_limit {
static int opb_match(struct device *, struct cfdata *, void *);
static void opb_attach(struct device *, struct device *, void *);
static int opb_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int opb_print(void *, const char *);
CFATTACH_DECL(opb, sizeof(struct device),
@ -151,7 +151,7 @@ opb_match(struct device *parent, struct cfdata *cf, void *aux)
static int
opb_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct opb_attach_args *oaa = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.9 2005/06/30 17:03:53 drochner Exp $ */
/* $NetBSD: obio.c,v 1.10 2005/08/26 13:19:37 drochner Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.9 2005/06/30 17:03:53 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.10 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -61,7 +61,7 @@ static int obio_match(struct device *, struct cfdata *, void *);
static void obio_attach(struct device *, struct device *, void *);
static int obio_print(void *, const char *);
static int obio_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
CFATTACH_DECL(obio, sizeof(struct device),
obio_match, obio_attach, NULL, NULL);
@ -90,7 +90,7 @@ obio_attach(struct device *parent, struct device *self, void *aux)
static int
obio_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct obio_attach_args oa;
const char **p;

View File

@ -1,4 +1,4 @@
/* $NetBSD: zbbus.c,v 1.9 2005/06/28 18:30:00 drochner Exp $ */
/* $NetBSD: zbbus.c,v 1.10 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright 2000, 2001
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: zbbus.c,v 1.9 2005/06/28 18:30:00 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: zbbus.c,v 1.10 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -51,7 +51,7 @@ CFATTACH_DECL(zbbus, sizeof(struct device),
static int zbbus_print(void *, const char *);
static int zbbus_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static const char *zbbus_entity_type_name(enum zbbus_entity_type type);
static int zbbus_attached;
@ -110,7 +110,7 @@ zbbus_print(void *aux, const char *pnp)
static int
zbbus_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct zbbus_attach_args *zap = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: gio.c,v 1.19 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: gio.c,v 1.20 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gio.c,v 1.19 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: gio.c,v 1.20 2005/08/26 13:19:37 drochner Exp $");
#include "opt_ddb.h"
@ -67,9 +67,9 @@ static int gio_match(struct device *, struct cfdata *, void *);
static void gio_attach(struct device *, struct device *, void *);
static int gio_print(void *, const char *);
static int gio_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int gio_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
CFATTACH_DECL(gio, sizeof(struct gio_softc),
gio_match, gio_attach, NULL, NULL);
@ -161,7 +161,7 @@ gio_print(void *aux, const char *pnp)
static int
gio_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct gio_attach_args *ga = aux;
@ -184,7 +184,7 @@ gio_search(struct device *parent, struct cfdata *cf,
static int
gio_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct gio_attach_args *ga = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: hpc.c,v 1.32 2005/06/28 18:30:00 drochner Exp $ */
/* $NetBSD: hpc.c,v 1.33 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: hpc.c,v 1.32 2005/06/28 18:30:00 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: hpc.c,v 1.33 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -333,7 +333,7 @@ int hpc_print(void *, const char *);
int hpc_revision(struct hpc_softc *, struct gio_attach_args *);
int hpc_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
int hpc_power_intr(void *);
@ -507,7 +507,7 @@ hpc_revision(struct hpc_softc *sc, struct gio_attach_args *ga)
int
hpc_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct hpc_attach_args *ha = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: ioc.c,v 1.2 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: ioc.c,v 1.3 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright (c) 2003 Christopher Sekiya
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ioc.c,v 1.2 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: ioc.c,v 1.3 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -75,7 +75,7 @@ static void ioc_attach(struct device *, struct device *, void *);
#if defined(notyet)
static int ioc_print(void *, const char *);
static int ioc_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
#endif
CFATTACH_DECL(ioc, sizeof(struct ioc_softc),
@ -175,7 +175,7 @@ ioc_print(void *aux, const char *pnp)
static int
ioc_search(struct device * parent, struct cfdata * cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct ioc_softc *sc = (struct ioc_softc *) parent;
struct ioc_attach_args iaa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mace.c,v 1.6 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: mace.c,v 1.7 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright (c) 2003 Christopher Sekiya
@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mace.c,v 1.6 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mace.c,v 1.7 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -103,7 +103,7 @@ static int mace_match(struct device *, struct cfdata *, void *);
static void mace_attach(struct device *, struct device *, void *);
static int mace_print(void *, const char *);
static int mace_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
CFATTACH_DECL(mace, sizeof(struct mace_softc),
mace_match, mace_attach, NULL, NULL);
@ -238,7 +238,7 @@ mace_print(void *aux, const char *pnp)
static int
mace_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct mace_softc *sc = (struct mace_softc *)parent;
struct mace_attach_args maa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.16 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: mainbus.c,v 1.17 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright (c) 2000 Soren S. Jorvang
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.16 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.17 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -52,7 +52,7 @@ __KERNEL_RCSID(0, "$NetBSD: mainbus.c,v 1.16 2005/06/30 17:03:54 drochner Exp $"
static int mainbus_match(struct device *, struct cfdata *, void *);
static void mainbus_attach(struct device *, struct device *, void *);
static int mainbus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
int mainbus_print(void *, const char *);
CFATTACH_DECL(mainbus, sizeof(struct device),
@ -80,7 +80,7 @@ mainbus_attach(struct device *parent, struct device *self, void *aux)
static int
mainbus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct mainbus_attach_args *ma = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: adc.c,v 1.4 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: adc.c,v 1.5 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright (c) 2003 Valeriy E. Ushakov
@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: adc.c,v 1.4 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: adc.c,v 1.5 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -56,7 +56,7 @@ CFATTACH_DECL(adc, sizeof(struct adc_softc),
adc_match, adc_attach, NULL, NULL);
static int adc_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int adc_print(void *, const char *);
@ -91,7 +91,7 @@ adc_attach(struct device *parent, struct device *self, void *aux)
static int
adc_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
if (config_match(parent, cf, NULL) > 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: shb.c,v 1.8 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: shb.c,v 1.9 2005/08/26 13:19:37 drochner Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: shb.c,v 1.8 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: shb.c,v 1.9 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -45,7 +45,7 @@ __KERNEL_RCSID(0, "$NetBSD: shb.c,v 1.8 2005/06/30 17:03:54 drochner Exp $");
int shb_match(struct device *, struct cfdata *, void *);
void shb_attach(struct device *, struct device *, void *);
int shb_print(void *, const char *);
int shb_search(struct device *, struct cfdata *, const locdesc_t *, void *);
int shb_search(struct device *, struct cfdata *, const int *, void *);
CFATTACH_DECL(shb, sizeof(struct device),
shb_match, shb_attach, NULL, NULL);
@ -73,7 +73,7 @@ shb_attach(struct device *parent, struct device *self, void *aux)
int
shb_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
if (config_match(parent, cf, NULL) > 0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: femi.c,v 1.10 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: femi.c,v 1.11 2005/08/26 13:19:37 drochner Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: femi.c,v 1.10 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: femi.c,v 1.11 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/kernel.h>
@ -59,7 +59,7 @@ static int femimatch(struct device *, struct cfdata *, void *);
static void femiattach(struct device *, struct device *, void *);
static int femiprint(void *, const char *);
static int femisubmatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
struct femi_softc {
struct device sc_dev;
@ -144,7 +144,7 @@ femiprint(void *arg, const char *cp)
static int
femisubmatch(struct device *dev, struct cfdata *cf,
const locdesc_t *ldesc, void *arg)
const int *ldesc, void *arg)
{
struct femi_softc *sc = (struct femi_softc *) dev;
struct femi_attach_args fa;

View File

@ -1,4 +1,4 @@
/* $NetBSD: bootbus.c,v 1.13 2005/06/28 18:30:00 drochner Exp $ */
/* $NetBSD: bootbus.c,v 1.14 2005/08/26 13:19:37 drochner Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: bootbus.c,v 1.13 2005/06/28 18:30:00 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: bootbus.c,v 1.14 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/malloc.h>
@ -71,7 +71,7 @@ CFATTACH_DECL(bootbus, sizeof(struct bootbus_softc),
bootbus_match, bootbus_attach, NULL, NULL);
static int bootbus_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static int bootbus_print(void *, const char *);
static int bootbus_setup_attach_args(struct bootbus_softc *, bus_space_tag_t,
@ -140,7 +140,7 @@ bootbus_attach(struct device *parent, struct device *self, void *aux)
static int
bootbus_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct bootbus_attach_args *baa = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.67 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: obio.c,v 1.68 2005/08/26 13:19:37 drochner Exp $ */
/*-
* Copyright (c) 1997,1998 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.67 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.68 2005/08/26 13:19:37 drochner Exp $");
#include "locators.h"
@ -97,7 +97,7 @@ struct obio4_busattachargs {
#if defined(SUN4)
static int obioprint __P((void *, const char *));
static int obiosearch __P((struct device *, struct cfdata *,
const locdesc_t *, void *));
const int *, void *));
static paddr_t obio_bus_mmap __P((bus_space_tag_t, bus_addr_t, off_t,
int, int));
static int _obio_bus_map __P((bus_space_tag_t, bus_addr_t,
@ -255,7 +255,7 @@ int
obiosearch(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct obio4_busattachargs *oap = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.h,v 1.20 2005/07/03 23:13:11 he Exp $ */
/* $NetBSD: autoconf.h,v 1.21 2005/08/26 13:19:37 drochner Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -71,7 +71,7 @@ struct confargs {
#define cf_intpri cf_loc[1]
#define cf_intvec cf_loc[2]
int bus_scan(struct device *, struct cfdata *, const locdesc_t *, void *);
int bus_scan(struct device *, struct cfdata *, const int *, void *);
int bus_print(void *, const char *);
int bus_peek(int, int, int);
void * bus_mapin(int, int, int);

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.64 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: autoconf.c,v 1.65 2005/08/26 13:19:37 drochner Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.64 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.65 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -106,7 +106,7 @@ cpu_configure(void)
*/
int
bus_scan(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct confargs *ca = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.47 2005/06/28 18:30:01 drochner Exp $ */
/* $NetBSD: obio.c,v 1.48 2005/08/26 13:19:37 drochner Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.47 2005/06/28 18:30:01 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.48 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -57,7 +57,7 @@ static int obio_match(struct device *, struct cfdata *, void *);
static void obio_attach(struct device *, struct device *, void *);
static int obio_print(void *, const char *);
static int obio_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
CFATTACH_DECL(obio, sizeof(struct device),
obio_match, obio_attach, NULL, NULL);
@ -119,7 +119,7 @@ obio_print(void *args, const char *name)
int
obio_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct confargs *ca = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: obio.c,v 1.24 2005/06/28 18:30:01 drochner Exp $ */
/* $NetBSD: obio.c,v 1.25 2005/08/26 13:19:37 drochner Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.24 2005/06/28 18:30:01 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: obio.c,v 1.25 2005/08/26 13:19:37 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -56,7 +56,7 @@ static int obio_match(struct device *, struct cfdata *, void *);
static void obio_attach(struct device *, struct device *, void *);
static int obio_print(void *, const char *);
static int obio_submatch(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
CFATTACH_DECL(obio, sizeof(struct device),
obio_match, obio_attach, NULL, NULL);
@ -164,7 +164,7 @@ obio_print(void *args, const char *name)
int
obio_submatch(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct confargs *ca = aux;

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.h,v 1.5 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: autoconf.h,v 1.6 2005/08/26 13:19:37 drochner Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -74,6 +74,5 @@ struct mainbus_attach_args {
#define LOCATOR_FORBIDDEN (2)
int sun68k_bus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
int sun68k_bus_print(void *, const char *);

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.16 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: autoconf.c,v 1.17 2005/08/26 13:19:38 drochner Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -45,7 +45,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.16 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.17 2005/08/26 13:19:38 drochner Exp $");
#include "opt_kgdb.h"
@ -187,7 +187,7 @@ extern struct sun68k_bus_space_tag mainbus_space_tag;
*/
int
sun68k_bus_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct mainbus_attach_args *map = aux;
struct mainbus_attach_args ma;

View File

@ -1,4 +1,4 @@
/* $NetBSD: vsbus.c,v 1.48 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: vsbus.c,v 1.49 2005/08/26 13:19:38 drochner Exp $ */
/*
* Copyright (c) 1996, 1999 Ludd, University of Lule}, Sweden.
* All rights reserved.
@ -33,7 +33,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: vsbus.c,v 1.48 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: vsbus.c,v 1.49 2005/08/26 13:19:38 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -74,7 +74,7 @@ int vsbus_match(struct device *, struct cfdata *, void *);
void vsbus_attach(struct device *, struct device *, void *);
int vsbus_print(void *, const char *);
int vsbus_search(struct device *, struct cfdata *,
const locdesc_t *, void *);
const int *, void *);
static struct vax_bus_dma_tag vsbus_bus_dma_tag = {
0,
@ -211,7 +211,7 @@ int
vsbus_search(parent, cf, ldesc, aux)
struct device *parent;
struct cfdata *cf;
const locdesc_t *ldesc;
const int *ldesc;
void *aux;
{
struct vsbus_softc *sc = (void *)parent;

View File

@ -1,4 +1,4 @@
/* $NetBSD: grf_machdep.c,v 1.23 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: grf_machdep.c,v 1.24 2005/08/26 13:19:38 drochner Exp $ */
/*
* Copyright (c) 1990, 1993
@ -82,7 +82,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: grf_machdep.c,v 1.23 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: grf_machdep.c,v 1.24 2005/08/26 13:19:38 drochner Exp $");
#include "locators.h"
@ -105,7 +105,7 @@ extern int x68k_config_found(struct cfdata *, struct device *,
int grfbusprint(void *auxp, const char *);
int grfbusmatch(struct device *, struct cfdata *, void *);
void grfbusattach(struct device *, struct device *, void *);
int grfbussearch(struct device *, struct cfdata *, const locdesc_t *, void *);
int grfbussearch(struct device *, struct cfdata *, const int *, void *);
/* grf itself */
void grfattach(struct device *, struct device *, void *);
@ -162,7 +162,7 @@ grfbusattach(struct device *pdp, struct device *dp, void *auxp)
int
grfbussearch(struct device *dp, struct cfdata *match,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
config_found(dp, &match->cf_loc[GRFBCF_ADDR], grfbusprint);

View File

@ -1,4 +1,4 @@
/* $NetBSD: intio.c,v 1.26 2005/06/30 17:03:54 drochner Exp $ */
/* $NetBSD: intio.c,v 1.27 2005/08/26 13:19:38 drochner Exp $ */
/*-
* Copyright (c) 1998 NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: intio.c,v 1.26 2005/06/30 17:03:54 drochner Exp $");
__KERNEL_RCSID(0, "$NetBSD: intio.c,v 1.27 2005/08/26 13:19:38 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -125,7 +125,7 @@ struct x68k_bus_dma intio_bus_dma = {
static int intio_match(struct device *, struct cfdata *, void *);
static void intio_attach(struct device *, struct device *, void *);
static int intio_search(struct device *, struct cfdata *cf,
const locdesc_t *, void *);
const int *, void *);
static int intio_print(void *, const char *);
static void intio_alloc_system_ports(struct intio_softc*);
@ -218,7 +218,7 @@ intio_attach(struct device *parent, struct device *self, void *aux)
static int
intio_search(struct device *parent, struct cfdata *cf,
const locdesc_t *ldesc, void *aux)
const int *ldesc, void *aux)
{
struct intio_attach_args *ia = aux;
struct intio_softc *sc = (struct intio_softc *)parent;

Some files were not shown because too many files have changed in this diff Show More