where are located the ethernet-card driver sources code in OpenBSD /usr/src/...?
*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
What version of FreeBSD are you running? I've used 3 or 4 realtek8139 cards, and they've all worked just fine. Matter of fact, my Gigabyte motherboard on my desktop system is running that chipset integrated on the motherboard, and it uses the rl driver just fine. I've successfully run it under FreeBSD 5.1, 5.2, 5.2.1, and 5-CURRENT, last updated June 2.
Even if you did find the driver for that card in OpenBSD, it probably wouldn't compile or work under FreeBSD. The codebases are just different enough between Free/Open/Net/BSD flavors that you can't intermingle kernel or system-level components.
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Have a look at /usr/src/sys/dev/pci/if_rl_pci.c, but like Alex said a) rl cards should work fine in FreeBSD, so perhaps you have a different problem and b) simply ripping the code from OpenBSD is highly unlikely to work without major modification. That card is popular enough that I simply refuse to believe that it's unsupported by FreeBSD.
Try turning off "Plug and Play OS" in your BIOS. Sometimes, this allows the card to be recognized.
What kind of motherboard/system do you have? Also, what other cards do you have in your system? All I know is that my rl card works just fine, so it's probably some kind of conflict with some other hardware. If all else fails, remove all other PCI cards, disable all of your integrated devices in the BIOS. Then, reboot, and see if it still says that it cannot map ports/memory.