Date: Sun, 14 Sep 2003 14:20:17 -0400 (EDT) From: "Matthew N. Dodd" <mdodd@FreeBSD.ORG> To: Bill Paul <wpaul@FreeBSD.ORG> Cc: cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/sys/pci if_xl.c if_xlreg.h Message-ID: <20030914140855.Y27896@sasami.jurai.net> In-Reply-To: <20030914180712.97EA216A4C0@hub.freebsd.org> References: <20030914180712.97EA216A4C0@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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 |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030914140855.Y27896>