rtl8139 + rtl8169 driver?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

rtl8139 + rtl8169 driver?

Post by Candy »

Hi all,

I'm working on the network drivers again. I have a working RTL8139 and E1000 driver and I'm trying to port it to RTL8169 (as I have a physical RTL8168). Looking through the driver logic & specs, it looks like RTL8139C+ is nearly identical in driver logic to RTL8169. Is it possible to make a single driver of both of them, or to use a single register-based and a single descriptor-based driver for both?

Thanks.
User avatar
KemyLand
Member
Member
Posts: 213
Joined: Mon Jun 16, 2014 5:33 pm
Location: Costa Rica

Re: rtl8139 + rtl8169 driver?

Post by KemyLand »

I would make a single driver, but when loaded, fork() it. :wink:
Happy New Code!
Hello World in Brainfuck :D:

Code: Select all

++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
[/size]
Post Reply