From owner-cvs-all@FreeBSD.ORG Sun Sep 14 11:20:20 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A14816A4BF; Sun, 14 Sep 2003 11:20:20 -0700 (PDT) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E64C43FAF; Sun, 14 Sep 2003 11:20:19 -0700 (PDT) (envelope-from mdodd@FreeBSD.ORG) Received: from sasami.jurai.net (sasami.jurai.net [66.92.160.223]) by sasami.jurai.net (8.12.9/8.12.9) with ESMTP id h8EIKHkL020372; Sun, 14 Sep 2003 14:20:18 -0400 (EDT) (envelope-from mdodd@FreeBSD.ORG) Date: Sun, 14 Sep 2003 14:20:17 -0400 (EDT) From: "Matthew N. Dodd" X-X-Sender: winter@sasami.jurai.net To: Bill Paul In-Reply-To: <20030914180712.97EA216A4C0@hub.freebsd.org> Message-ID: <20030914140855.Y27896@sasami.jurai.net> References: <20030914180712.97EA216A4C0@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.ORG cc: src-committers@FreeBSD.ORG cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Sep 2003 18:20:20 -0000 On Sun, 14 Sep 2003, Bill Paul wrote: > Out of curiosity, what was it that prompted disallowing the use of > MMIO for cardbus cards? I had a problem with mine when I installed > 5.1-RELEASE, which I fixed by adding a delay after issuing the reset > command (trying to access registers too soon after the reset would > hang my laptop). I figured that was the extent of the problem, but > I wouldn't be surprised to find out I was wrong. In revision 1.132 of if_xl.c the default was changed to try MMIO first (previously only compiling without XL_USEIOSPACE defined would enable MMIO). Failure mode is that the card fails to attach (by way of xl_read_eeprom() in xl_attach()). This may only be a problem for some subset of 3c575 cards. Its likely that the Cardbus layer will use the CIS to deny resource allocations for these cards and obsolete this workaround. -- | Matthew N. Dodd | '78 Datsun 280Z | '75 Volvo 164E | FreeBSD/NetBSD | | winter@jurai.net | 2 x '84 Volvo 245DL | ix86,sparc,pmax | | http://www.jurai.net/~winter | For Great Justice! | ISO8802.5 4ever |