Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2003 09:49:29 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        ali.uezguemuer@gmx.net
Cc:        freebsd-mobile@freebsd.org
Subject:    Re: Problem with PCMCIA Ethernet card: no card in database for '(null)'...
Message-ID:  <20030618.094929.62367057.imp@bsdimp.com>
In-Reply-To: <002301c335a4$bb10e0a0$a565e2c3@jupiter>
References:  <002301c335a4$bb10e0a0$a565e2c3@jupiter>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <002301c335a4$bb10e0a0$a565e2c3@jupiter>
            "Ali Uezguemuer" <ali.uezguemuer@gmx.net> writes:
: As suggested, I've tried to add the following lines to /boot/loader.conf:
:     hw.cbb.start_memory="0x20000000" (tried various values for this line,
: but I don't know what I'm doing there)
:     hw.pci.allow_unsupported_io_range = "1"
...
: Can anybody either help me or give me a hint where to find any more
: information on this? I really want FreeBSD and the card to work on that
: laptop and I'd really appreciate your help.

dmesg and look for other PCI devices on the same bus as the cbb
device.  You'll see something like:

pcm0: <ESS Technology Maestro3> port 0xec00-0xecff mem 0xf8ffe000-0xf8ffffff irq 5 at device 3.0 on pci2
cbb0: <TI4451 PCI-CardBus Bridge> at device 15.0 on pci2
fwohci0: <Texas Instruments PCI4451> mem 0xf8ff8000-0xf8ffbfff,0xf8ffd800-0xf8ffdfff irq 10 at device 15.2 on pci2

etc.

Next, look at the addresses used by the various devices on the bus.
This means that something like 0xf8ff0000-0xf8ff7fff is free on the
bus.  This would make a good range to allocate from maybe.  If you see
a lot of ranges 256 bytes in size, you might have some issues with
prefetchable vs non-prefetchable issues.  But I'll ignore those for
the moment.

Warner



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030618.094929.62367057.imp>