sprinkle const.
This commit is contained in:
parent
d675f4acb4
commit
57fa3798ac
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: fd.c,v 1.57 2005/02/04 02:10:40 perry Exp $ */
|
||||
/* $NetBSD: fd.c,v 1.58 2005/05/29 22:12:37 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2003 The NetBSD Foundation, Inc.
|
||||
@ -88,7 +88,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.57 2005/02/04 02:10:40 perry Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.58 2005/05/29 22:12:37 christos Exp $");
|
||||
|
||||
#include "rnd.h"
|
||||
#include "opt_ddb.h"
|
||||
@ -247,7 +247,7 @@ void fd_motor_off(void *arg);
|
||||
void fd_motor_on(void *arg);
|
||||
int fdcresult(struct fdc_softc *fdc);
|
||||
void fdcstart(struct fdc_softc *fdc);
|
||||
void fdcstatus(struct device *dv, int n, char *s);
|
||||
void fdcstatus(struct device *dv, int n, const char *s);
|
||||
void fdctimeout(void *arg);
|
||||
void fdcpseudointr(void *arg);
|
||||
void fdcretry(struct fdc_softc *fdc);
|
||||
@ -877,7 +877,7 @@ void
|
||||
fdcstatus(dv, n, s)
|
||||
struct device *dv;
|
||||
int n;
|
||||
char *s;
|
||||
const char *s;
|
||||
{
|
||||
struct fdc_softc *fdc = (void *)dv->dv_parent;
|
||||
char bits[64];
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: isa.c,v 1.119 2004/09/14 17:38:30 drochner Exp $ */
|
||||
/* $NetBSD: isa.c,v 1.120 2005/05/29 22:12:37 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
|
||||
@ -37,7 +37,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: isa.c,v 1.119 2004/09/14 17:38:30 drochner Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: isa.c,v 1.120 2005/05/29 22:12:37 christos Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
@ -452,7 +452,7 @@ isasearch(struct device *parent, struct cfdata *cf,
|
||||
return (0);
|
||||
}
|
||||
|
||||
char *
|
||||
const char *
|
||||
isa_intr_typename(int type)
|
||||
{
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: isavar.h,v 1.46 2005/02/27 00:27:17 perry Exp $ */
|
||||
/* $NetBSD: isavar.h,v 1.47 2005/05/29 22:12:37 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1997, 2001 The NetBSD Foundation, Inc.
|
||||
@ -93,7 +93,7 @@ struct isabus_attach_args;
|
||||
* ISA bus attach arguments
|
||||
*/
|
||||
struct isabus_attach_args {
|
||||
char *_iba_busname; /* XXX placeholder */
|
||||
const char *_iba_busname; /* XXX placeholder */
|
||||
bus_space_tag_t iba_iot; /* isa i/o space tag */
|
||||
bus_space_tag_t iba_memt; /* isa mem space tag */
|
||||
bus_dma_tag_t iba_dmat; /* isa DMA tag */
|
||||
@ -264,7 +264,7 @@ int isabusprint(void *, const char *);
|
||||
*/
|
||||
|
||||
/* ISA interrupt sharing types */
|
||||
char *isa_intr_typename(int);
|
||||
const char *isa_intr_typename(int);
|
||||
|
||||
/*
|
||||
* Some ISA devices (e.g. on a VLB) can perform 32-bit DMA. This
|
||||
|
Loading…
Reference in New Issue
Block a user