Page 1 of 1

Minix3 network drivers

Posted: Mon Nov 23, 2009 5:35 am
by iggo
I'm faceing the world of oses with minix3.
Lots of questions arises expecially with hardware interfaces.
I'm interested in network card driver development. It seems that I should be able to write a driver reading the datasheet of its chipset... but it tells me which registers to write, not tha mechanics of the operations to do to (for example) initialize the nic or sending a packet.
From here other questions...
It seems that in the case of motherboard's chipsets, there is no need to program the chipset, but rather to know the protocol used by the bus... is this true?
Do you know if there is a book (which speaks about recent technologies and not too much theoric) which could answer to my questions?

One last question is out there some new hardware platform which is simpler than ia32? Maybe arm?

Best regards.

Re: VERY NEWBYE question

Posted: Mon Nov 23, 2009 8:21 am
by thepowersgang
Ok, depending on the card/chip you are using the specs will vary, but they will nearly always tell you exactly what writing to a register does.
I suggest reading the specs several times and looking at existing implementations (the bochs iodev/ne2k.cc file was a godsend for me) to see how things should be done.

I assume from your first line that you are attempting to create a network card driver for Minix 3 so another place to look would be existing drivers for Minix 3.