TAB/space cleanup.

This commit is contained in:
tsutsui 2003-09-26 21:41:16 +00:00
parent 8298dd1da5
commit 81d5d9d0f3
2 changed files with 14 additions and 14 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fd.c,v 1.38 2003/08/07 16:29:55 agc Exp $ */
/* $NetBSD: fd.c,v 1.39 2003/09/26 21:41:16 tsutsui Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -73,7 +73,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.38 2003/08/07 16:29:55 agc Exp $");
__KERNEL_RCSID(0, "$NetBSD: fd.c,v 1.39 2003/09/26 21:41:16 tsutsui Exp $");
#include "opt_ddb.h"
@ -636,7 +636,7 @@ fdstrategy(bp)
struct fd_softc *fd;
int unit = FDUNIT(bp->b_dev);
int sz;
int s;
int s;
/* Valid unit, controller, and request? */
if (unit >= fd_cd.cd_ndevs ||
@ -671,7 +671,7 @@ fdstrategy(bp)
}
bp->b_rawblkno = bp->b_blkno;
bp->b_cylinder = bp->b_blkno / (FDC_BSIZE / DEV_BSIZE) / fd->sc_type->seccyl;
bp->b_cylinder = bp->b_blkno / (FDC_BSIZE / DEV_BSIZE) / fd->sc_type->seccyl;
#ifdef FD_DEBUG
if (fdc_debug > 1)
@ -863,7 +863,7 @@ fdopen(dev, flags, fmt, p)
int flags, fmt;
struct proc *p;
{
int unit, pmask;
int unit, pmask;
struct fd_softc *fd;
struct fd_type *type;
@ -937,22 +937,22 @@ fdclose(dev, flags, fmt, p)
int
fdread(dev, uio, flag)
dev_t dev;
struct uio *uio;
dev_t dev;
struct uio *uio;
int flag;
{
return (physio(fdstrategy, NULL, dev, B_READ, minphys, uio));
return (physio(fdstrategy, NULL, dev, B_READ, minphys, uio));
}
int
fdwrite(dev, uio, flag)
dev_t dev;
struct uio *uio;
dev_t dev;
struct uio *uio;
int flag;
{
return (physio(fdstrategy, NULL, dev, B_WRITE, minphys, uio));
return (physio(fdstrategy, NULL, dev, B_WRITE, minphys, uio));
}
void
@ -1182,7 +1182,7 @@ loop:
fd = fdc->sc_drives.tqh_first;
if (fd == NULL) {
fdc->sc_state = DEVIDLE;
return (0);
return (0);
}
/* Is there a transfer to this drive? If not, deactivate drive. */

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap_pvt.h,v 1.10 2003/06/23 11:01:49 martin Exp $ */
/* $NetBSD: pmap_pvt.h,v 1.11 2003/09/26 21:41:16 tsutsui Exp $ */
/*-
* Copyright (c) 1996 The NetBSD Foundation, Inc.
@ -60,7 +60,7 @@ struct a_tmgr_struct {
u_char at_wcnt; /* no. of wired entries in this table */
u_char at_ecnt; /* no. of valid entries in this table */
u_int16_t at_dum1; /* structure padding */
TAILQ_ENTRY(a_tmgr_struct) at_link; /* list linker */
TAILQ_ENTRY(a_tmgr_struct) at_link; /* list linker */
};
/* A level B table manager contains a pointer to an MMU table of