Problem with PCMCIA Ethernet card: no card in database for '(null)'...

M. Warner Losh imp at bsdimp.com
Wed Jun 18 08:50:30 PDT 2003


In message: <002301c335a4$bb10e0a0$a565e2c3 at jupiter>
            "Ali Uezguemuer" <ali.uezguemuer at 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


More information about the freebsd-mobile mailing list