Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pcmcia Don't copy iobase and iosize members from pcm...
details: https://anonhg.NetBSD.org/src/rev/2200591020b2
branches: trunk
changeset: 767676:2200591020b2
user: dyoung <dyoung%NetBSD.org@localhost>
date: Tue Jul 26 22:24:36 2011 +0000
description:
Don't copy iobase and iosize members from pcmciabus_attach_args to the
pcmcia_softc because they're not used in any meaningful way.
diffstat:
sys/dev/pcmcia/pcmcia.c | 6 ++----
sys/dev/pcmcia/pcmciachip.h | 4 +---
sys/dev/pcmcia/pcmciavar.h | 10 +---------
3 files changed, 4 insertions(+), 16 deletions(-)
diffs (69 lines):
diff -r b729bf3f1fa1 -r 2200591020b2 sys/dev/pcmcia/pcmcia.c
--- a/sys/dev/pcmcia/pcmcia.c Tue Jul 26 22:21:02 2011 +0000
+++ b/sys/dev/pcmcia/pcmcia.c Tue Jul 26 22:24:36 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcmcia.c,v 1.93 2009/05/12 14:42:19 cegger Exp $ */
+/* $NetBSD: pcmcia.c,v 1.94 2011/07/26 22:24:36 dyoung Exp $ */
/*
* Copyright (c) 2004 Charles M. Hannum. All rights reserved.
@@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pcmcia.c,v 1.93 2009/05/12 14:42:19 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pcmcia.c,v 1.94 2011/07/26 22:24:36 dyoung Exp $");
#include "opt_pcmciaverbose.h"
@@ -133,8 +133,6 @@
sc->dev = self;
sc->pct = paa->pct;
sc->pch = paa->pch;
- sc->iobase = paa->iobase;
- sc->iosize = paa->iosize;
sc->ih = NULL;
diff -r b729bf3f1fa1 -r 2200591020b2 sys/dev/pcmcia/pcmciachip.h
--- a/sys/dev/pcmcia/pcmciachip.h Tue Jul 26 22:21:02 2011 +0000
+++ b/sys/dev/pcmcia/pcmciachip.h Tue Jul 26 22:24:36 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcmciachip.h,v 1.16 2009/05/12 14:42:19 cegger Exp $ */
+/* $NetBSD: pcmciachip.h,v 1.17 2011/07/26 22:24:36 dyoung Exp $ */
/*
* Copyright (c) 1997 Marc Horowitz. All rights reserved.
@@ -143,8 +143,6 @@
const char *paa_busname; /* Bus name */
pcmcia_chipset_tag_t pct;
pcmcia_chipset_handle_t pch;
- bus_addr_t iobase; /* start i/o space allocation here */
- bus_size_t iosize; /* size of the i/o space range */
};
/* interfaces for the chipset to call pcmcia */
diff -r b729bf3f1fa1 -r 2200591020b2 sys/dev/pcmcia/pcmciavar.h
--- a/sys/dev/pcmcia/pcmciavar.h Tue Jul 26 22:21:02 2011 +0000
+++ b/sys/dev/pcmcia/pcmciavar.h Tue Jul 26 22:24:36 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pcmciavar.h,v 1.34 2009/05/12 14:42:19 cegger Exp $ */
+/* $NetBSD: pcmciavar.h,v 1.35 2011/07/26 22:24:36 dyoung Exp $ */
/*
* Copyright (c) 1997 Marc Horowitz. All rights reserved.
@@ -197,14 +197,6 @@
void *ih;
int sc_enabled_count; /* how many functions are
enabled */
-
- /*
- * These are passed down from the PCMCIA chip, and exist only
- * so that cards with Very Special address allocation needs
- * know what range they should be dealing with.
- */
- bus_addr_t iobase; /* start i/o space allocation here */
- bus_size_t iosize; /* size of the i/o space range */
};
struct pcmcia_cis_quirk {
Home |
Main Index |
Thread Index |
Old Index