Module Name: src Committed By: dyoung Date: Tue Jul 26 22:23:32 UTC 2011
Modified Files: src/sys/dev/pci: pccbb.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.201 -r1.202 src/sys/dev/pci/pccbb.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/pci/pccbb.c diff -u src/sys/dev/pci/pccbb.c:1.201 src/sys/dev/pci/pccbb.c:1.202 --- src/sys/dev/pci/pccbb.c:1.201 Tue Jan 4 10:40:17 2011 +++ src/sys/dev/pci/pccbb.c Tue Jul 26 22:23:32 2011 @@ -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;