Writing the device driver depends upon the OS.
Do you want to write it for Windows or Linux or some other OS?
Is the Ethernet module built-in i.e. directory accessible from CPU or accessed through some bus e.g. PCI?
You'll need the datasheet for the Ethernet module as well.