This patch adds support for Realtek's RTL8111B/8169B Gigabit ethernet controller.
It's integrated on the Gigabyte's GA-945GM-S2 motherboard.
I've only used it against an nbi image served over TFTP.
While booting my machine the driver will print "No IP Address" two times before actually loading the image, but the rest seems to work just fine.
I do not have access to any other r8169 hardware, so I haven't been able to test it, but I tried to make the change as small as possible to avoid breaking anything by mistake.
The changes I made were ported from the r1000 driver released by realtek, which can be found here:
patch