zap whitespace and tab
This commit is contained in:
parent
5b49f88fed
commit
4de47ea988
681 changed files with 35748 additions and 35743 deletions
|
@ -105,7 +105,7 @@ asc_tc_match(parent, cfdata, aux)
|
|||
void *cfdata, *aux;
|
||||
{
|
||||
struct tc_attach_args *d = aux;
|
||||
|
||||
|
||||
if (strncmp("PMAZ-AA ", d->ta_modname, TC_ROM_LLEN))
|
||||
return (0);
|
||||
|
||||
|
@ -118,7 +118,7 @@ asc_tc_attach(parent, self, aux)
|
|||
void *aux;
|
||||
{
|
||||
struct tc_attach_args *ta = aux;
|
||||
struct asc_tc_softc *asc = (struct asc_tc_softc *)self;
|
||||
struct asc_tc_softc *asc = (struct asc_tc_softc *)self;
|
||||
struct ncr53c9x_softc *sc = &asc->asc.sc_ncr53c9x;
|
||||
|
||||
/*
|
||||
|
@ -136,7 +136,7 @@ asc_tc_attach(parent, self, aux)
|
|||
|
||||
tc_intr_establish(parent, ta->ta_cookie, IPL_BIO, ncr53c9x_intr, sc,
|
||||
self->dv_xname);
|
||||
|
||||
|
||||
sc->sc_id = 7;
|
||||
sc->sc_freq = TC_SPEED_TO_KHZ(ta->ta_busspeed); /* in kHz so far */
|
||||
|
||||
|
|
|
@ -219,13 +219,13 @@ le_ioasic_copytobuf_gap2(struct lance_softc *sc, void *fromv,
|
|||
{
|
||||
volatile caddr_t buf = sc->sc_mem;
|
||||
caddr_t from = fromv;
|
||||
volatile u_int16_t *bptr;
|
||||
volatile u_int16_t *bptr;
|
||||
|
||||
if (boff & 0x1) {
|
||||
/* handle unaligned first byte */
|
||||
bptr = ((volatile u_int16_t *)buf) + (boff - 1);
|
||||
*bptr = (*from++ << 8) | (*bptr & 0xff);
|
||||
bptr += 2;
|
||||
bptr += 2;
|
||||
len--;
|
||||
} else
|
||||
bptr = ((volatile u_int16_t *)buf) + boff;
|
||||
|
@ -341,7 +341,7 @@ le_ioasic_copytobuf_gap16(struct lance_softc *sc, void *fromv,
|
|||
} while (len >= 16);
|
||||
break;
|
||||
|
||||
default:
|
||||
default:
|
||||
/* Does odd-aligned case ever happen? */
|
||||
do {
|
||||
bcopy(from, bptr, 16);
|
||||
|
|
|
@ -87,7 +87,7 @@ le_tc_attach(struct device *parent, struct device *self, void *aux)
|
|||
* baseboard implementation of a TC option card.
|
||||
*/
|
||||
lesc->sc_r1 = (struct lereg1 *)
|
||||
TC_DENSE_TO_SPARSE(TC_PHYS_TO_UNCACHED(d->ta_addr + LE_OFFSET_LANCE));
|
||||
TC_DENSE_TO_SPARSE(TC_PHYS_TO_UNCACHED(d->ta_addr + LE_OFFSET_LANCE));
|
||||
sc->sc_mem = (void *)(d->ta_addr + LE_OFFSET_RAM);
|
||||
|
||||
sc->sc_copytodesc = lance_copytobuf_contig;
|
||||
|
|
|
@ -6,17 +6,17 @@
|
|||
* All rights reserved.
|
||||
*
|
||||
* Author: Keith Bostic, Chris G. Demetriou
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify and distribute this software and
|
||||
* its documentation is hereby granted, provided that both the copyright
|
||||
* notice and this permission notice appear in all copies of the
|
||||
* software, derivative works or modified versions, and any portions
|
||||
* thereof, and that both notices appear in supporting documentation.
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Carnegie Mellon requests users of this software to return to
|
||||
*
|
||||
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
|
||||
|
|
|
@ -1,20 +1,20 @@
|
|||
/* $OpenBSD: ioasicreg.h,v 1.3 2017/10/13 08:58:42 mpi Exp $ */
|
||||
/* $NetBSD: ioasicreg.h,v 1.6 2000/07/17 02:18:17 thorpej Exp $ */
|
||||
|
||||
/*
|
||||
/*
|
||||
* Copyright (c) 1991,1990,1989,1994,1995 Carnegie Mellon University
|
||||
* All Rights Reserved.
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify and distribute this software and
|
||||
* its documentation is hereby granted, provided that both the copyright
|
||||
* notice and this permission notice appear in all copies of the
|
||||
* software, derivative works or modified versions, and any portions
|
||||
* thereof, and that both notices appear in supporting documentation.
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Carnegie Mellon requests users of this software to return to
|
||||
*
|
||||
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
|
||||
|
|
|
@ -36,17 +36,17 @@
|
|||
* All rights reserved.
|
||||
*
|
||||
* Author: Keith Bostic, Chris G. Demetriou
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify and distribute this software and
|
||||
* its documentation is hereby granted, provided that both the copyright
|
||||
* notice and this permission notice appear in all copies of the
|
||||
* software, derivative works or modified versions, and any portions
|
||||
* thereof, and that both notices appear in supporting documentation.
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Carnegie Mellon requests users of this software to return to
|
||||
*
|
||||
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
|
||||
|
@ -431,7 +431,7 @@ tcds_dma_enable(sc, on)
|
|||
cir = bus_space_read_4(sc->sc_bst, sc->sc_bsh, TCDS_CIR);
|
||||
|
||||
/* XXX Clear/set IOSLOT/PBS bits. */
|
||||
if (on)
|
||||
if (on)
|
||||
TCDS_CIR_SET(cir, sc->sc_dmabits);
|
||||
else
|
||||
TCDS_CIR_CLR(cir, sc->sc_dmabits);
|
||||
|
@ -496,7 +496,7 @@ tcds_intr(arg)
|
|||
#undef CHECKINTR
|
||||
|
||||
#ifdef DIAGNOSTIC
|
||||
/*
|
||||
/*
|
||||
* Interrupts not currently handled, but would like to know if they
|
||||
* occur.
|
||||
*
|
||||
|
|
|
@ -6,17 +6,17 @@
|
|||
* All rights reserved.
|
||||
*
|
||||
* Authors: Keith Bostic, Chris G. Demetriou
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify and distribute this software and
|
||||
* its documentation is hereby granted, provided that both the copyright
|
||||
* notice and this permission notice appear in all copies of the
|
||||
* software, derivative works or modified versions, and any portions
|
||||
* thereof, and that both notices appear in supporting documentation.
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Carnegie Mellon requests users of this software to return to
|
||||
*
|
||||
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
|
||||
|
@ -136,7 +136,7 @@ void tcds_scsi_reset(int);
|
|||
/*
|
||||
* XXX
|
||||
* Start of MACH #defines, minimal changes to port to NetBSD.
|
||||
*
|
||||
*
|
||||
* The following register is the SCSI control interrupt register. It
|
||||
* starts, stops and resets scsi DMA. It takes over the SCSI functions
|
||||
* that were handled by the ASIC on the 3min.
|
||||
|
|
|
@ -6,17 +6,17 @@
|
|||
* All rights reserved.
|
||||
*
|
||||
* Author: Chris G. Demetriou
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify and distribute this software and
|
||||
* its documentation is hereby granted, provided that both the copyright
|
||||
* notice and this permission notice appear in all copies of the
|
||||
* software, derivative works or modified versions, and any portions
|
||||
* thereof, and that both notices appear in supporting documentation.
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Carnegie Mellon requests users of this software to return to
|
||||
*
|
||||
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
|
||||
|
|
|
@ -6,17 +6,17 @@
|
|||
* All rights reserved.
|
||||
*
|
||||
* Author: Chris G. Demetriou
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify and distribute this software and
|
||||
* its documentation is hereby granted, provided that both the copyright
|
||||
* notice and this permission notice appear in all copies of the
|
||||
* software, derivative works or modified versions, and any portions
|
||||
* thereof, and that both notices appear in supporting documentation.
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Carnegie Mellon requests users of this software to return to
|
||||
*
|
||||
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
|
||||
|
|
|
@ -6,17 +6,17 @@
|
|||
* All rights reserved.
|
||||
*
|
||||
* Author: Chris G. Demetriou
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify and distribute this software and
|
||||
* its documentation is hereby granted, provided that both the copyright
|
||||
* notice and this permission notice appear in all copies of the
|
||||
* software, derivative works or modified versions, and any portions
|
||||
* thereof, and that both notices appear in supporting documentation.
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Carnegie Mellon requests users of this software to return to
|
||||
*
|
||||
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
|
||||
|
@ -69,7 +69,7 @@ struct tcbus_attach_args {
|
|||
struct tc_slotdesc *tba_slots;
|
||||
u_int tba_nbuiltins;
|
||||
const struct tc_builtin *tba_builtins;
|
||||
|
||||
|
||||
|
||||
/* TC bus resource management; XXX will move elsewhere eventually. */
|
||||
void (*tba_intr_establish)(struct device *, void *,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue