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

"M. Warner Losh" <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
In message: <002301c335a4$bb10e0a0$a565e2c3@jupiter>
            "Ali Uezguemuer" <[email protected]> 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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.