cvs commit: src/sys/pci if_xl.c if_xlreg.h

Matthew N. Dodd mdodd at FreeBSD.ORG
Sun Sep 14 11:20:20 PDT 2003

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

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 at |       2 x '84 Volvo 245DL        | ix86,sparc,pmax |
| |  For Great Justice!  | ISO8802.5 4ever |

More information about the cvs-src mailing list