NetBSD Problem Report #17502

Received: (qmail 11467 invoked by uid 605); 7 Jul 2002 12:01:31 -0000
Message-Id: <200207071201.g67C1NA00525@siren.baea.com.au>
Date: Sun, 7 Jul 2002 21:31:23 +0930 (CST)
From: Brett Lymn (Master of the Siren) <blymn@baesystems.com.au>
Sender: gnats-bugs-owner@netbsd.org
Reply-To: blymn@baesystems.com.au
To: gnats-bugs@gnats.netbsd.org
Subject: carbus needs offset to pcmcia iomem base address
X-Send-Pr-Version: 3.95

>Number:         17502
>Category:       kern
>Synopsis:       cardbus needs offset to pcmcia iomem base address
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 07 12:02:00 +0000 2002
>Closed-Date:    
>Last-Modified:  Tue Apr 20 06:22:49 +0000 2004
>Originator:     Brett Lymn (Master of the Siren)
>Release:        NetBSD 1.6A
>Organization:
Brett Lymn
>Environment:
System: NetBSD siren 1.6A NetBSD 1.6A (SIREN) #21: Mon Jul 1 22:33:09 CST 2002 toor@siren:/usr/src/sys/arch/i386/compile/SIREN i386
Architecture: i386
Machine: i386
>Description:
	I recently bought a Ricoh 5C476 based PCI-Cardbus bridge and found
that when I tried to run my wavelan (wi) in the bridge it would not work.
The error was "could not connect to controller" and it failed to read the
ethernet address from the card.  This is a classic symptom of the wavelan
card clashing with some other hardware in the machine.  I could get my
wavelan to work by editing syssrc/dev/pci/pccbb.c and hard coding the 
start variable in pccbb_pcmcia_io_alloc to be 0x500.  This is not very
elegant and we really should have a way of modifying the io memory based
address that is something akin to the PCIC_ISA_ALLOC_IOBASE and 
PCIC_ISA_ALLOC_IOSIZE that are available for ISA to PCMCIA bridges.
>How-To-Repeat:
	This may or may not be difficult depending on your hardware setup
but for me simply trying to use a wavelan wireless network card in the
PCI-PCMCIA bridge on my desktop machine fails to work.
>Fix:
	As described above, hardcoding the start variable in 
pccbb_pcmcia_io_alloc will work around the problem.  I don't know enough
about the pcmcia probe/attach to suggest a better solution.

>Release-Note:
>Audit-Trail:
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.