Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev Don't set the iobase and iosize members of pcmciabus...
details: https://anonhg.NetBSD.org/src/rev/b729bf3f1fa1
branches: trunk
changeset: 767675:b729bf3f1fa1
user: dyoung <dyoung%NetBSD.org@localhost>
date: Tue Jul 26 22:21:02 2011 +0000
description:
Don't set the iobase and iosize members of pcmciabus_attach_args because
they're not used in any meaningful way.
diffstat:
sys/dev/ic/i82365.c | 6 ++----
sys/dev/ic/tcic2.c | 6 ++----
sys/dev/pci/pccbb.c | 8 ++------
sys/dev/sbus/stp4020.c | 6 ++----
4 files changed, 8 insertions(+), 18 deletions(-)
diffs (112 lines):
diff -r 7523d1c48dc9 -r b729bf3f1fa1 sys/dev/ic/i82365.c
--- a/sys/dev/ic/i82365.c Tue Jul 26 21:03:17 2011 +0000
+++ b/sys/dev/ic/i82365.c Tue Jul 26 22:21:02 2011 +0000
@@ -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 @@
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 -r 7523d1c48dc9 -r b729bf3f1fa1 sys/dev/ic/tcic2.c
--- a/sys/dev/ic/tcic2.c Tue Jul 26 21:03:17 2011 +0000
+++ b/sys/dev/ic/tcic2.c Tue Jul 26 22:21:02 2011 +0000
@@ -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 @@
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 -r 7523d1c48dc9 -r b729bf3f1fa1 sys/dev/pci/pccbb.c
--- a/sys/dev/pci/pccbb.c Tue Jul 26 21:03:17 2011 +0000
+++ b/sys/dev/pci/pccbb.c Tue Jul 26 22:21:02 2011 +0000
@@ -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 @@
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 -r 7523d1c48dc9 -r b729bf3f1fa1 sys/dev/sbus/stp4020.c
--- a/sys/dev/sbus/stp4020.c Tue Jul 26 21:03:17 2011 +0000
+++ b/sys/dev/sbus/stp4020.c Tue Jul 26 22:21:02 2011 +0000
@@ -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 @@
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);
Home |
Main Index |
Thread Index |
Old Index