Trailing whitespace.
This commit is contained in:
parent
5ea443a011
commit
c5a673c118
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: obio_space.c,v 1.9 2018/03/16 17:56:32 ryo Exp $ */
|
||||
/* $NetBSD: obio_space.c,v 1.10 2023/04/21 14:58:34 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.9 2018/03/16 17:56:32 ryo Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.10 2023/04/21 14:58:34 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -153,7 +153,7 @@ obio_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int flag,
|
|||
endpa = round_page(bpa + size);
|
||||
offset = bpa & PAGE_MASK;
|
||||
startpa = trunc_page(bpa);
|
||||
|
||||
|
||||
va = uvm_km_alloc(kernel_map, endpa - startpa, 0,
|
||||
UVM_KMF_VAONLY | UVM_KMF_NOWAIT);
|
||||
if (va == 0)
|
||||
|
@ -201,7 +201,7 @@ obio_bs_unmap(void *t, bus_space_handle_t bsh, bus_size_t size)
|
|||
uvm_km_free(kernel_map, va, endva - va, UVM_KMF_VAONLY);
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
obio_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
|
||||
{
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: obio_space.c,v 1.5 2018/03/16 17:56:33 ryo Exp $ */
|
||||
/* $NetBSD: obio_space.c,v 1.6 2023/04/21 14:58:34 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.5 2018/03/16 17:56:33 ryo Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.6 2023/04/21 14:58:34 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -153,7 +153,7 @@ obio_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int flag,
|
|||
endpa = round_page(bpa + size);
|
||||
offset = bpa & PAGE_MASK;
|
||||
startpa = trunc_page(bpa);
|
||||
|
||||
|
||||
va = uvm_km_alloc(kernel_map, endpa - startpa, 0,
|
||||
UVM_KMF_VAONLY | UVM_KMF_NOWAIT);
|
||||
if (va == 0)
|
||||
|
@ -201,7 +201,7 @@ obio_bs_unmap(void *t, bus_space_handle_t bsh, bus_size_t size)
|
|||
uvm_km_free(kernel_map, va, endva - va, UVM_KMF_VAONLY);
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
obio_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
|
||||
{
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ifpga_io.c,v 1.14 2022/05/23 19:52:34 andvar Exp $ */
|
||||
/* $NetBSD: ifpga_io.c,v 1.15 2023/04/21 14:58:34 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Causality Limited
|
||||
|
@ -32,7 +32,7 @@
|
|||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
*
|
||||
* From arm/footbridge/footbridge_io.c
|
||||
*/
|
||||
|
||||
|
@ -41,7 +41,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: ifpga_io.c,v 1.14 2022/05/23 19:52:34 andvar Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: ifpga_io.c,v 1.15 2023/04/21 14:58:34 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -274,7 +274,7 @@ ifpga_mem_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int cacheable, bus_sp
|
|||
/* Now map the pages */
|
||||
/* The cookie is the physical base address for the I/O area */
|
||||
while (startpa < endpa) {
|
||||
/* XXX pmap_kenter_pa maps pages cacheable -- not what
|
||||
/* XXX pmap_kenter_pa maps pages cacheable -- not what
|
||||
we want. */
|
||||
pmap_enter(pmap_kernel(), va, (bus_addr_t)t + startpa,
|
||||
VM_PROT_READ | VM_PROT_WRITE, 0);
|
||||
|
@ -319,7 +319,7 @@ ifpga_mem_bs_unmap(void *t, bus_space_handle_t bsh, bus_size_t size)
|
|||
uvm_km_free(kernel_map, startva, endva - startva, UVM_KMF_VAONLY);
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
ifpga_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
|
||||
{
|
||||
|
||||
|
@ -346,4 +346,4 @@ ifpga_bs_vaddr(void *t, bus_space_handle_t bsh)
|
|||
void
|
||||
ifpga_bs_barrier(void *t, bus_space_handle_t bsh, bus_size_t offset, bus_size_t len, int flags)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $Id: imx23_olinuxino_machdep.c,v 1.14 2023/04/20 08:28:04 skrll Exp $ */
|
||||
/* $Id: imx23_olinuxino_machdep.c,v 1.15 2023/04/21 14:58:35 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2012 The NetBSD Foundation, Inc.
|
||||
|
@ -92,7 +92,7 @@ do { \
|
|||
* Static device map for i.MX23 peripheral address space.
|
||||
*/
|
||||
static const struct pmap_devmap devmap[] = {
|
||||
DEVMAP_ENTRY(
|
||||
DEVMAP_ENTRY(
|
||||
APBH_BASE, /* Virtual address. */
|
||||
APBH_BASE, /* Physical address. */
|
||||
APBH_SIZE + APBX_SIZE /* APBX located after APBH. */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: obio_space.c,v 1.16 2018/03/16 17:56:33 ryo Exp $ */
|
||||
/* $NetBSD: obio_space.c,v 1.17 2023/04/21 14:58:34 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.16 2018/03/16 17:56:33 ryo Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.17 2023/04/21 14:58:34 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -199,7 +199,7 @@ obio_bs_unmap(void *t, bus_space_handle_t bsh, bus_size_t size)
|
|||
uvm_km_free(kernel_map, va, endva - va, UVM_KMF_VAONLY);
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
obio_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
|
||||
{
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: obio_space.c,v 1.13 2018/03/16 17:56:33 ryo Exp $ */
|
||||
/* $NetBSD: obio_space.c,v 1.14 2023/04/21 14:58:34 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.13 2018/03/16 17:56:33 ryo Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.14 2023/04/21 14:58:34 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -153,7 +153,7 @@ obio_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int flag,
|
|||
endpa = round_page(bpa + size);
|
||||
offset = bpa & PAGE_MASK;
|
||||
startpa = trunc_page(bpa);
|
||||
|
||||
|
||||
va = uvm_km_alloc(kernel_map, endpa - startpa, 0,
|
||||
UVM_KMF_VAONLY | UVM_KMF_NOWAIT);
|
||||
if (va == 0)
|
||||
|
@ -201,7 +201,7 @@ obio_bs_unmap(void *t, bus_space_handle_t bsh, bus_size_t size)
|
|||
uvm_km_free(kernel_map, va, endva - va, UVM_KMF_VAONLY);
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
obio_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
|
||||
{
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: obio_space.c,v 1.1 2019/02/14 21:47:52 macallan Exp $ */
|
||||
/* $NetBSD: obio_space.c,v 1.2 2023/04/21 14:58:34 skrll Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
|
||||
|
@ -40,7 +40,7 @@
|
|||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.1 2019/02/14 21:47:52 macallan Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.2 2023/04/21 14:58:34 skrll Exp $");
|
||||
|
||||
#include <sys/param.h>
|
||||
#include <sys/systm.h>
|
||||
|
@ -153,7 +153,7 @@ obio_bs_map(void *t, bus_addr_t bpa, bus_size_t size, int flag,
|
|||
endpa = round_page(bpa + size);
|
||||
offset = bpa & PAGE_MASK;
|
||||
startpa = trunc_page(bpa);
|
||||
|
||||
|
||||
va = uvm_km_alloc(kernel_map, endpa - startpa, 0,
|
||||
UVM_KMF_VAONLY | UVM_KMF_NOWAIT);
|
||||
if (va == 0)
|
||||
|
@ -201,7 +201,7 @@ obio_bs_unmap(void *t, bus_space_handle_t bsh, bus_size_t size)
|
|||
uvm_km_free(kernel_map, va, endva - va, UVM_KMF_VAONLY);
|
||||
}
|
||||
|
||||
void
|
||||
void
|
||||
obio_bs_free(void *t, bus_space_handle_t bsh, bus_size_t size)
|
||||
{
|
||||
|
||||
|
|
Loading…
Reference in New Issue