diff options
| author | dyoung <dyoung@NetBSD.org> | 2011-07-26 22:21:02 +0000 |
|---|---|---|
| committer | dyoung <dyoung@NetBSD.org> | 2011-07-26 22:21:02 +0000 |
| commit | 44f2ff68c7fc5e14f166a07b344334c8a5c1400c (patch) | |
| tree | c3cdcd2415daec6dd5eaa05b0ba68908b8026963 /sys/dev | |
| parent | f81c8a24af1d2f1db5a11d677fd0cb5db041eb0b (diff) | |
Don't set the iobase and iosize members of pcmciabus_attach_args because
they're not used in any meaningful way.
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/ic/i82365.c | 6 | ||||
| -rw-r--r-- | sys/dev/ic/tcic2.c | 6 | ||||
| -rw-r--r-- | sys/dev/pci/pccbb.c | 8 | ||||
| -rw-r--r-- | sys/dev/sbus/stp4020.c | 6 |
4 files changed, 8 insertions, 18 deletions
diff --git a/sys/dev/ic/i82365.c b/sys/dev/ic/i82365.c index d13ea6433be..5264fdf37c1 100644 --- a/sys/dev/ic/i82365.c +++ b/sys/dev/ic/i82365.c @@ -1,4 +1,4 @@ -/* $NetBSD: i82365.c,v 1.113 2010/04/19 18:24:26 dyoung Exp $ */ +/* $NetBSD: i82365.c,v 1.114 2011/07/26 22:21:02 dyoung Exp $ */ /* * Copyright (c) 2004 Charles M. Hannum. All rights reserved. @@ -49,7 +49,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: i82365.c,v 1.113 2010/04/19 18:24:26 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: i82365.c,v 1.114 2011/07/26 22:21:02 dyoung Exp $"); #define PCICDEBUG @@ -407,8 +407,6 @@ pcic_attach_socket(struct pcic_handle *h) paa.paa_busname = "pcmcia"; paa.pct = (pcmcia_chipset_tag_t) sc->pct; paa.pch = (pcmcia_chipset_handle_t) h; - paa.iobase = sc->iobase; - paa.iosize = sc->iosize; locs[PCMCIABUSCF_CONTROLLER] = h->chip; locs[PCMCIABUSCF_SOCKET] = h->socket; diff --git a/sys/dev/ic/tcic2.c b/sys/dev/ic/tcic2.c index 8cdb3ee6548..a067ec53309 100644 --- a/sys/dev/ic/tcic2.c +++ b/sys/dev/ic/tcic2.c @@ -1,4 +1,4 @@ -/* $NetBSD: tcic2.c,v 1.35 2010/04/19 18:24:26 dyoung Exp $ */ +/* $NetBSD: tcic2.c,v 1.36 2011/07/26 22:21:02 dyoung Exp $ */ /* * Copyright (c) 1998, 1999 Christoph Badura. All rights reserved. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tcic2.c,v 1.35 2010/04/19 18:24:26 dyoung Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tcic2.c,v 1.36 2011/07/26 22:21:02 dyoung Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -412,8 +412,6 @@ tcic_attach_socket(struct tcic_handle *h) paa.paa_busname = "pcmcia"; paa.pct = (pcmcia_chipset_tag_t) h->sc->pct; paa.pch = (pcmcia_chipset_handle_t) h; - paa.iobase = h->sc->iobase; - paa.iosize = h->sc->iosize; locs[PCMCIABUSCF_CONTROLLER] = 0; locs[PCMCIABUSCF_SOCKET] = h->sock; diff --git a/sys/dev/pci/pccbb.c b/sys/dev/pci/pccbb.c index 35ebef43aed..73c8c173d68 100644 --- a/sys/dev/pci/pccbb.c +++ b/sys/dev/pci/pccbb.c @@ -1,4 +1,4 @@ -/* $NetBSD: pccbb.c,v 1.201 2011/01/04 10:40:17 jruoho Exp $ */ +/* $NetBSD: pccbb.c,v 1.202 2011/07/26 22:23:32 dyoung Exp $ */ /* * Copyright (c) 1998, 1999 and 2000 @@ -26,7 +26,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: pccbb.c,v 1.201 2011/01/04 10:40:17 jruoho Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pccbb.c,v 1.202 2011/07/26 22:23:32 dyoung Exp $"); /* #define CBB_DEBUG @@ -1000,12 +1000,8 @@ pccbb_pcmcia_attach_setup(struct pccbb_softc *sc, paa->paa_busname = "pcmcia"; paa->pct = &pccbb_pcmcia_funcs; paa->pch = sc; - paa->iobase = 0; /* I don't use them */ - paa->iosize = 0; #if rbus rb = sc->sc_rbus_iot; - paa->iobase = rb->rb_start + rb->rb_offset; - paa->iosize = rb->rb_end - rb->rb_start; #endif return; diff --git a/sys/dev/sbus/stp4020.c b/sys/dev/sbus/stp4020.c index 401ab97de98..c4ced6ba589 100644 --- a/sys/dev/sbus/stp4020.c +++ b/sys/dev/sbus/stp4020.c @@ -1,4 +1,4 @@ -/* $NetBSD: stp4020.c,v 1.65 2011/07/18 00:58:52 mrg Exp $ */ +/* $NetBSD: stp4020.c,v 1.66 2011/07/26 22:22:41 dyoung Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: stp4020.c,v 1.65 2011/07/18 00:58:52 mrg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: stp4020.c,v 1.66 2011/07/26 22:22:41 dyoung Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -512,8 +512,6 @@ stp4020_attach_socket(struct stp4020_socket *h, int speed) paa.paa_busname = "pcmcia"; paa.pct = (pcmcia_chipset_tag_t)h->sc->sc_pct; paa.pch = (pcmcia_chipset_handle_t)h; - paa.iobase = 0; - paa.iosize = STP4020_WINDOW_SIZE; h->pcmcia = config_found(h->sc->sc_dev, &paa, stp4020print); |
