ANSIfy, KNF
This commit is contained in:
parent
a7c19b0c1a
commit
194935a114
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: gt.c,v 1.14 2005/12/11 12:17:06 christos Exp $ */
|
/* $NetBSD: gt.c,v 1.15 2006/04/05 15:14:10 tsutsui Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (c) 2000 Soren S. Jorvang. All rights reserved.
|
* Copyright (c) 2000 Soren S. Jorvang. All rights reserved.
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.14 2005/12/11 12:17:06 christos Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: gt.c,v 1.15 2006/04/05 15:14:10 tsutsui Exp $");
|
||||||
|
|
||||||
#include "opt_pci.h"
|
#include "opt_pci.h"
|
||||||
#include "pci.h"
|
#include "pci.h"
|
||||||
|
@ -80,21 +80,16 @@ CFATTACH_DECL(gt, sizeof(struct gt_softc),
|
||||||
gt_match, gt_attach, NULL, NULL);
|
gt_match, gt_attach, NULL, NULL);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
gt_match(parent, match, aux)
|
gt_match(struct device *parent, struct cfdata *match, void *aux)
|
||||||
struct device *parent;
|
|
||||||
struct cfdata *match;
|
|
||||||
void *aux;
|
|
||||||
{
|
{
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define GT_REG_REGION 0x1000
|
#define GT_REG_REGION 0x1000
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gt_attach(parent, self, aux)
|
gt_attach(struct device *parent, struct device *self, void *aux)
|
||||||
struct device *parent;
|
|
||||||
struct device *self;
|
|
||||||
void *aux;
|
|
||||||
{
|
{
|
||||||
struct mainbus_attach_args *ma = aux;
|
struct mainbus_attach_args *ma = aux;
|
||||||
struct gt_softc *sc = (void *)self;
|
struct gt_softc *sc = (void *)self;
|
||||||
|
@ -143,10 +138,9 @@ gt_attach(parent, self, aux)
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
gt_print(aux, pnp)
|
gt_print(void *aux, const char *pnp)
|
||||||
void *aux;
|
|
||||||
const char *pnp;
|
|
||||||
{
|
{
|
||||||
|
|
||||||
/* XXX */
|
/* XXX */
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue