Module Name: src Committed By: dyoung Date: Tue Jul 26 22:21:03 UTC 2011
Modified Files: src/sys/dev/ic: i82365.c tcic2.c Log Message: Don't set the iobase and iosize members of pcmciabus_attach_args because they're not used in any meaningful way. To generate a diff of this commit: cvs rdiff -u -r1.113 -r1.114 src/sys/dev/ic/i82365.c cvs rdiff -u -r1.35 -r1.36 src/sys/dev/ic/tcic2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/dev/ic/i82365.c diff -u src/sys/dev/ic/i82365.c:1.113 src/sys/dev/ic/i82365.c:1.114 --- src/sys/dev/ic/i82365.c:1.113 Mon Apr 19 18:24:26 2010 +++ src/sys/dev/ic/i82365.c Tue Jul 26 22:21:02 2011 @@ -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; Index: src/sys/dev/ic/tcic2.c diff -u src/sys/dev/ic/tcic2.c:1.35 src/sys/dev/ic/tcic2.c:1.36 --- src/sys/dev/ic/tcic2.c:1.35 Mon Apr 19 18:24:26 2010 +++ src/sys/dev/ic/tcic2.c Tue Jul 26 22:21:02 2011 @@ -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;