diff options
| author | eeh <eeh@NetBSD.org> | 2002-03-20 20:39:15 +0000 |
|---|---|---|
| committer | eeh <eeh@NetBSD.org> | 2002-03-20 20:39:15 +0000 |
| commit | 686c857e166454c1f511cb372622bd525ba44b0b (patch) | |
| tree | 0c6becc9e957c1ab8e4bc4db7d116724977160d7 /sys/dev | |
| parent | bf49f00fe695223ce9981a47aa8f60ee630072de (diff) | |
Get rid of unnecessary BUS_SPACE_MAP_LINEAR.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/sbus/be.c | 10 | ||||
| -rw-r--r-- | sys/dev/sbus/bpp.c | 6 | ||||
| -rw-r--r-- | sys/dev/sbus/if_en.c | 6 | ||||
| -rw-r--r-- | sys/dev/sbus/if_hme_sbus.c | 14 | ||||
| -rw-r--r-- | sys/dev/sbus/if_le.c | 6 | ||||
| -rw-r--r-- | sys/dev/sbus/if_le_lebuffer.c | 6 | ||||
| -rw-r--r-- | sys/dev/sbus/if_le_ledma.c | 6 | ||||
| -rw-r--r-- | sys/dev/sbus/sio16.c | 12 | ||||
| -rw-r--r-- | sys/dev/sbus/stp4020.c | 6 |
9 files changed, 36 insertions, 36 deletions
diff --git a/sys/dev/sbus/be.c b/sys/dev/sbus/be.c index 809e7104c5e..4e6685e5d73 100644 --- a/sys/dev/sbus/be.c +++ b/sys/dev/sbus/be.c @@ -1,4 +1,4 @@ -/* $NetBSD: be.c,v 1.30 2002/03/11 16:00:55 pk Exp $ */ +/* $NetBSD: be.c,v 1.31 2002/03/20 20:39:15 eeh Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -64,7 +64,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: be.c,v 1.30 2002/03/11 16:00:55 pk Exp $"); +__KERNEL_RCSID(0, "$NetBSD: be.c,v 1.31 2002/03/20 20:39:15 eeh Exp $"); #include "opt_ddb.h" #include "opt_inet.h" @@ -262,7 +262,7 @@ beattach(parent, self, aux) sa->sa_reg[0].sbr_slot, sa->sa_reg[0].sbr_offset), (bus_size_t)sa->sa_reg[0].sbr_size, - BUS_SPACE_MAP_LINEAR, &sc->sc_cr) != 0) { + 0, &sc->sc_cr) != 0) { printf("beattach: cannot map registers\n"); return; } @@ -272,7 +272,7 @@ beattach(parent, self, aux) sa->sa_reg[1].sbr_slot, sa->sa_reg[1].sbr_offset), (bus_size_t)sa->sa_reg[1].sbr_size, - BUS_SPACE_MAP_LINEAR, &sc->sc_br) != 0) { + 0, &sc->sc_br) != 0) { printf("beattach: cannot map registers\n"); return; } @@ -282,7 +282,7 @@ beattach(parent, self, aux) sa->sa_reg[2].sbr_slot, sa->sa_reg[2].sbr_offset), (bus_size_t)sa->sa_reg[2].sbr_size, - BUS_SPACE_MAP_LINEAR, &sc->sc_tr) != 0) { + 0, &sc->sc_tr) != 0) { printf("beattach: cannot map registers\n"); return; } diff --git a/sys/dev/sbus/bpp.c b/sys/dev/sbus/bpp.c index 8d3bb785f0b..3495b5a31fa 100644 --- a/sys/dev/sbus/bpp.c +++ b/sys/dev/sbus/bpp.c @@ -1,4 +1,4 @@ -/* $NetBSD: bpp.c,v 1.11 2002/03/11 16:00:55 pk Exp $ */ +/* $NetBSD: bpp.c,v 1.12 2002/03/20 20:39:15 eeh Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -37,7 +37,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: bpp.c,v 1.11 2002/03/11 16:00:55 pk Exp $"); +__KERNEL_RCSID(0, "$NetBSD: bpp.c,v 1.12 2002/03/20 20:39:15 eeh Exp $"); #include <sys/param.h> #include <sys/ioctl.h> @@ -157,7 +157,7 @@ bppattach(parent, self, aux) /* Map device registers */ if (sbus_bus_map(sa->sa_bustag, sa->sa_slot, sa->sa_offset, sa->sa_size, - BUS_SPACE_MAP_LINEAR, &sc->sc_regs) != 0) { + 0, &sc->sc_regs) != 0) { printf("%s: cannot map registers\n", self->dv_xname); return; } diff --git a/sys/dev/sbus/if_en.c b/sys/dev/sbus/if_en.c index 6380d190b29..ec22dd26bea 100644 --- a/sys/dev/sbus/if_en.c +++ b/sys/dev/sbus/if_en.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_en.c,v 1.13 2002/03/11 16:00:56 pk Exp $ */ +/* $NetBSD: if_en.c,v 1.14 2002/03/20 20:39:15 eeh Exp $ */ /* * @@ -43,7 +43,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_en.c,v 1.13 2002/03/11 16:00:56 pk Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_en.c,v 1.14 2002/03/20 20:39:15 eeh Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -136,7 +136,7 @@ en_sbus_attach(parent, self, aux) sa->sa_slot, sa->sa_offset, 4*1024*1024, - BUS_SPACE_MAP_LINEAR, &sc->en_base) != 0) { + 0, &sc->en_base) != 0) { printf("%s: cannot map registers\n", self->dv_xname); return; } diff --git a/sys/dev/sbus/if_hme_sbus.c b/sys/dev/sbus/if_hme_sbus.c index d47eb18dd80..1d72611b4c3 100644 --- a/sys/dev/sbus/if_hme_sbus.c +++ b/sys/dev/sbus/if_hme_sbus.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_hme_sbus.c,v 1.10 2002/03/11 16:00:56 pk Exp $ */ +/* $NetBSD: if_hme_sbus.c,v 1.11 2002/03/20 20:39:15 eeh Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_hme_sbus.c,v 1.10 2002/03/11 16:00:56 pk Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_hme_sbus.c,v 1.11 2002/03/20 20:39:15 eeh Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -134,7 +134,7 @@ hmeattach_sbus(parent, self, aux) sa->sa_reg[0].sbr_slot, sa->sa_reg[0].sbr_offset, (bus_size_t)sa->sa_reg[0].sbr_size, - BUS_SPACE_MAP_LINEAR, &sc->sc_seb) != 0) { + 0, &sc->sc_seb) != 0) { printf("%s: cannot map SEB registers\n", self->dv_xname); return; } @@ -142,7 +142,7 @@ hmeattach_sbus(parent, self, aux) sa->sa_reg[1].sbr_slot, sa->sa_reg[1].sbr_offset, (bus_size_t)sa->sa_reg[1].sbr_size, - BUS_SPACE_MAP_LINEAR, &sc->sc_etx) != 0) { + 0, &sc->sc_etx) != 0) { printf("%s: cannot map ETX registers\n", self->dv_xname); return; } @@ -150,7 +150,7 @@ hmeattach_sbus(parent, self, aux) sa->sa_reg[2].sbr_slot, sa->sa_reg[2].sbr_offset, (bus_size_t)sa->sa_reg[2].sbr_size, - BUS_SPACE_MAP_LINEAR, &sc->sc_erx) != 0) { + 0, &sc->sc_erx) != 0) { printf("%s: cannot map ERX registers\n", self->dv_xname); return; } @@ -158,7 +158,7 @@ hmeattach_sbus(parent, self, aux) sa->sa_reg[3].sbr_slot, sa->sa_reg[3].sbr_offset, (bus_size_t)sa->sa_reg[3].sbr_size, - BUS_SPACE_MAP_LINEAR, &sc->sc_mac) != 0) { + 0, &sc->sc_mac) != 0) { printf("%s: cannot map MAC registers\n", self->dv_xname); return; } @@ -166,7 +166,7 @@ hmeattach_sbus(parent, self, aux) sa->sa_reg[4].sbr_slot, sa->sa_reg[4].sbr_offset, (bus_size_t)sa->sa_reg[4].sbr_size, - BUS_SPACE_MAP_LINEAR, &sc->sc_mif) != 0) { + 0, &sc->sc_mif) != 0) { printf("%s: cannot map MIF registers\n", self->dv_xname); return; } diff --git a/sys/dev/sbus/if_le.c b/sys/dev/sbus/if_le.c index fcd2b8aa561..8fa27191f09 100644 --- a/sys/dev/sbus/if_le.c +++ b/sys/dev/sbus/if_le.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_le.c,v 1.20 2002/03/11 16:00:56 pk Exp $ */ +/* $NetBSD: if_le.c,v 1.21 2002/03/20 20:39:15 eeh Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_le.c,v 1.20 2002/03/11 16:00:56 pk Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_le.c,v 1.21 2002/03/20 20:39:15 eeh Exp $"); #include "opt_inet.h" #include "bpfilter.h" @@ -184,7 +184,7 @@ leattach_sbus(parent, self, aux) sa->sa_slot, sa->sa_offset, sa->sa_size, - BUS_SPACE_MAP_LINEAR, &lesc->sc_reg) != 0) { + 0, &lesc->sc_reg) != 0) { printf("%s @ sbus: cannot map registers\n", self->dv_xname); return; } diff --git a/sys/dev/sbus/if_le_lebuffer.c b/sys/dev/sbus/if_le_lebuffer.c index 10ff43cad19..bb98e772ee0 100644 --- a/sys/dev/sbus/if_le_lebuffer.c +++ b/sys/dev/sbus/if_le_lebuffer.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_le_lebuffer.c,v 1.10 2002/03/11 16:00:56 pk Exp $ */ +/* $NetBSD: if_le_lebuffer.c,v 1.11 2002/03/20 20:39:15 eeh Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_le_lebuffer.c,v 1.10 2002/03/11 16:00:56 pk Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_le_lebuffer.c,v 1.11 2002/03/20 20:39:15 eeh Exp $"); #include "opt_inet.h" #include "bpfilter.h" @@ -185,7 +185,7 @@ leattach_lebuffer(parent, self, aux) sa->sa_slot, sa->sa_offset, sa->sa_size, - BUS_SPACE_MAP_LINEAR, &lesc->sc_reg)) { + 0, &lesc->sc_reg)) { printf("%s @ lebuffer: cannot map registers\n", self->dv_xname); return; } diff --git a/sys/dev/sbus/if_le_ledma.c b/sys/dev/sbus/if_le_ledma.c index 1f14d203fae..054264fab9e 100644 --- a/sys/dev/sbus/if_le_ledma.c +++ b/sys/dev/sbus/if_le_ledma.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_le_ledma.c,v 1.16 2002/03/11 16:00:56 pk Exp $ */ +/* $NetBSD: if_le_ledma.c,v 1.17 2002/03/20 20:39:15 eeh Exp $ */ /*- * Copyright (c) 1997, 1998 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if_le_ledma.c,v 1.16 2002/03/11 16:00:56 pk Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_le_ledma.c,v 1.17 2002/03/20 20:39:15 eeh Exp $"); #include "opt_inet.h" #include "bpfilter.h" @@ -368,7 +368,7 @@ leattach_ledma(parent, self, aux) sa->sa_slot, sa->sa_offset, sa->sa_size, - BUS_SPACE_MAP_LINEAR, &lesc->sc_reg) != 0) { + 0, &lesc->sc_reg) != 0) { printf("%s @ ledma: cannot map registers\n", self->dv_xname); return; } diff --git a/sys/dev/sbus/sio16.c b/sys/dev/sbus/sio16.c index 1e33b027f16..43169d9432d 100644 --- a/sys/dev/sbus/sio16.c +++ b/sys/dev/sbus/sio16.c @@ -1,4 +1,4 @@ -/* $NetBSD: sio16.c,v 1.3 2002/03/11 16:00:57 pk Exp $ */ +/* $NetBSD: sio16.c,v 1.4 2002/03/20 20:39:15 eeh Exp $ */ /* * Copyright (c) 1998, 2001 Matthew R. Green @@ -38,7 +38,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: sio16.c,v 1.3 2002/03/11 16:00:57 pk Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sio16.c,v 1.4 2002/03/20 20:39:15 eeh Exp $"); #include <sys/param.h> #include <sys/conf.h> @@ -156,7 +156,7 @@ sio16_attach(parent, self, aux) sa->sa_reg[0].sbr_slot, sa->sa_reg[0].sbr_offset, sa->sa_reg[0].sbr_size, - BUS_SPACE_MAP_LINEAR, &h) != 0) { + 0, &h) != 0) { printf("%s at sbus: can not map registers 0\n", self->dv_xname); return; @@ -166,7 +166,7 @@ sio16_attach(parent, self, aux) sa->sa_reg[1].sbr_slot, sa->sa_reg[1].sbr_offset, sa->sa_reg[1].sbr_size, - BUS_SPACE_MAP_LINEAR, &h) != 0) { + 0, &h) != 0) { printf("%s at sbus: can not map registers 1\n", self->dv_xname); return; @@ -176,7 +176,7 @@ sio16_attach(parent, self, aux) sa->sa_reg[2].sbr_slot, sa->sa_reg[2].sbr_offset, sa->sa_reg[2].sbr_size, - BUS_SPACE_MAP_LINEAR, &h) != 0) { + 0, &h) != 0) { printf("%s at sbus: can not map registers 2\n", self->dv_xname); return; @@ -186,7 +186,7 @@ sio16_attach(parent, self, aux) sa->sa_reg[3].sbr_slot, sa->sa_reg[3].sbr_offset, sa->sa_reg[3].sbr_size, - BUS_SPACE_MAP_LINEAR, &h) != 0) { + 0, &h) != 0) { printf("%s at sbus: can not map registers 3\n", self->dv_xname); return; diff --git a/sys/dev/sbus/stp4020.c b/sys/dev/sbus/stp4020.c index a9c38e7507d..ace5806c3f2 100644 --- a/sys/dev/sbus/stp4020.c +++ b/sys/dev/sbus/stp4020.c @@ -1,4 +1,4 @@ -/* $NetBSD: stp4020.c,v 1.20 2002/03/11 16:00:58 pk Exp $ */ +/* $NetBSD: stp4020.c,v 1.21 2002/03/20 20:39:16 eeh Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -41,7 +41,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: stp4020.c,v 1.20 2002/03/11 16:00:58 pk Exp $"); +__KERNEL_RCSID(0, "$NetBSD: stp4020.c,v 1.21 2002/03/20 20:39:16 eeh Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -327,7 +327,7 @@ stp4020attach(parent, self, aux) sa->sa_reg[i].sbr_slot, sa->sa_reg[i].sbr_offset, sa->sa_reg[i].sbr_size, - BUS_SPACE_MAP_LINEAR, &bh) != 0) { + 0, &bh) != 0) { printf("%s: attach: cannot map registers\n", self->dv_xname); return; |
