replace \xa0 with space from Andy Shevchenko
This commit is contained in:
parent
2e63684c48
commit
9d61fcf10f
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: cpi_nubus.c,v 1.3 2008/06/11 23:54:45 cegger Exp $ */
|
/* $NetBSD: cpi_nubus.c,v 1.4 2008/09/10 19:20:06 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2008 Hauke Fath
|
* Copyright (c) 2008 Hauke Fath
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: cpi_nubus.c,v 1.3 2008/06/11 23:54:45 cegger Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: cpi_nubus.c,v 1.4 2008/09/10 19:20:06 christos Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/systm.h>
|
#include <sys/systm.h>
|
||||||
|
@ -84,7 +84,7 @@ __KERNEL_RCSID(0, "$NetBSD: cpi_nubus.c,v 1.3 2008/06/11 23:54:45 cegger Exp $")
|
||||||
#define TRACE_ALL (cpi_debug_mask & M_TRACE_ALL)
|
#define TRACE_ALL (cpi_debug_mask & M_TRACE_ALL)
|
||||||
#define TRACE_NONE (cpi_debug_mask & M_TRACE_NONE)
|
#define TRACE_NONE (cpi_debug_mask & M_TRACE_NONE)
|
||||||
|
|
||||||
uint32_t cpi_debug_mask = M_TRACE_NONE /* | M_TRACE_WRITE */ ;
|
uint32_t cpi_debug_mask = M_TRACE_NONE /* | M_TRACE_WRITE */ ;
|
||||||
|
|
||||||
#else
|
#else
|
||||||
#define TRACE_CONFIG 0
|
#define TRACE_CONFIG 0
|
||||||
|
@ -675,7 +675,7 @@ cpi_initclock(struct cpi_softc *sc)
|
||||||
/* Disable counters A and B */
|
/* Disable counters A and B */
|
||||||
reg = z8536_reg_get(sc->sc_bst, sc->sc_bsh, Z8536_MCCR);
|
reg = z8536_reg_get(sc->sc_bst, sc->sc_bsh, Z8536_MCCR);
|
||||||
z8536_reg_set(sc->sc_bst, sc->sc_bsh, Z8536_MCCR,
|
z8536_reg_set(sc->sc_bst, sc->sc_bsh, Z8536_MCCR,
|
||||||
reg & ~(MCCR_CT1E | MCCR_CT2E));
|
reg & ~(MCCR_CT1E | MCCR_CT2E));
|
||||||
|
|
||||||
/* Make sure interrupt enable bits are cleared */
|
/* Make sure interrupt enable bits are cleared */
|
||||||
z8536_reg_set(sc->sc_bst, sc->sc_bsh, Z8536_CTCSR1,
|
z8536_reg_set(sc->sc_bst, sc->sc_bsh, Z8536_CTCSR1,
|
||||||
|
@ -695,7 +695,7 @@ cpi_initclock(struct cpi_softc *sc)
|
||||||
/* Re-enable counters A and B */
|
/* Re-enable counters A and B */
|
||||||
reg = z8536_reg_get(sc->sc_bst, sc->sc_bsh, Z8536_MCCR);
|
reg = z8536_reg_get(sc->sc_bst, sc->sc_bsh, Z8536_MCCR);
|
||||||
z8536_reg_set(sc->sc_bst, sc->sc_bsh, Z8536_MCCR,
|
z8536_reg_set(sc->sc_bst, sc->sc_bsh, Z8536_MCCR,
|
||||||
reg | MCCR_CT1E | MCCR_CT2E | MCCR_CT1CT2);
|
reg | MCCR_CT1E | MCCR_CT2E | MCCR_CT1CT2);
|
||||||
|
|
||||||
/* Start counters A and B */
|
/* Start counters A and B */
|
||||||
reg = z8536_reg_get(sc->sc_bst, sc->sc_bsh, Z8536_CTCSR1);
|
reg = z8536_reg_get(sc->sc_bst, sc->sc_bsh, Z8536_CTCSR1);
|
||||||
|
@ -703,7 +703,7 @@ cpi_initclock(struct cpi_softc *sc)
|
||||||
reg | CTCS_TCB);
|
reg | CTCS_TCB);
|
||||||
reg = z8536_reg_get(sc->sc_bst, sc->sc_bsh, Z8536_CTCSR2);
|
reg = z8536_reg_get(sc->sc_bst, sc->sc_bsh, Z8536_CTCSR2);
|
||||||
z8536_reg_set(sc->sc_bst, sc->sc_bsh, Z8536_CTCSR2,
|
z8536_reg_set(sc->sc_bst, sc->sc_bsh, Z8536_CTCSR2,
|
||||||
reg | CTCS_TCB);
|
reg | CTCS_TCB);
|
||||||
|
|
||||||
tc_init(&cpi_timecounter);
|
tc_init(&cpi_timecounter);
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* Target: AT76C503 with Intersil 3861 radio
|
* Target: AT76C503 with Intersil 3861 radio
|
||||||
* Version: 0.90.0 #44
|
* Version: 0.90.0 #44
|
||||||
*
|
*
|
||||||
* Copyright 2004 Atmel Corporation. All Rights Reserved. Redistribution and use
|
* Copyright 2004 Atmel Corporation. All Rights Reserved. Redistribution and use
|
||||||
* of the microcode software ("Firmware") is permitted provided that the following
|
* of the microcode software ("Firmware") is permitted provided that the following
|
||||||
* conditions are met:
|
* conditions are met:
|
||||||
* 1. Firmware is redistributed in object code only.
|
* 1. Firmware is redistributed in object code only.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
* Firmware to be used with rfmd2958 radio's on SMC's 2662W v.4 board
|
* Firmware to be used with rfmd2958 radio's on SMC's 2662W v.4 board
|
||||||
* Version: 1.102.0 build #113
|
* Version: 1.102.0 build #113
|
||||||
*
|
*
|
||||||
* Copyright 2004 Atmel Corporation. All Rights Reserved. Redistribution and use
|
* Copyright 2004 Atmel Corporation. All Rights Reserved. Redistribution and use
|
||||||
* of the microcode software ("Firmware") is permitted provided that the following
|
* of the microcode software ("Firmware") is permitted provided that the following
|
||||||
* conditions are met:
|
* conditions are met:
|
||||||
* 1. Firmware is redistributed in object code only.
|
* 1. Firmware is redistributed in object code only.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
* Target: AT76c503a with RFMD radio
|
* Target: AT76c503a with RFMD radio
|
||||||
* Version: 1.101.0-84
|
* Version: 1.101.0-84
|
||||||
*
|
*
|
||||||
* Copyright 2004 Atmel Corporation. All Rights Reserved. Redistribution and use
|
* Copyright 2004 Atmel Corporation. All Rights Reserved. Redistribution and use
|
||||||
* of the microcode software ("Firmware") is permitted provided that the following
|
* of the microcode software ("Firmware") is permitted provided that the following
|
||||||
* conditions are met:
|
* conditions are met:
|
||||||
* 1. Firmware is redistributed in object code only.
|
* 1. Firmware is redistributed in object code only.
|
||||||
|
|
Loading…
Reference in New Issue