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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
Posts: 3,660
Rep:
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.