Derek Ross(deleted)
|
General advice for Marvell 88E6176 switch driver development?
|
Derek Ross(deleted)
08/15/2014 10:10 AM
post111453
|
General advice for Marvell 88E6176 switch driver development?
Hello,
This is more of a "broad brushstroke" question, mainly due to my lack of QNX knowledge.
Our hardware has a 88E6176 switch attached on the MII bus. We would like to give the user the ability to set the various
registers over a local socket. It would be a low level interface, i.e. "set this register to this value."
So here are some basic questions:
- Can I simply call mmap_device_memory to write to the device? Probably not, because the existing ethernet driver will
be writing stuff to the MII bus.
- Which category would this driver belong in? It's not really an io-pkt driver.
- Is there already a device driver for something similar, with associated source code?
- Is there a PDF describing how to write device drivers? I found one called "QNX Momentics DDK - Network Devices" but
it's for Neutrino 6.3. Also the MII_ functions it describes don't seem to be supported in Neutrino 6.5 SP1. For example,
a help file search for MII_Register_Extended returns no results (Momentics version is 4.7).
Thanks!
|
|
|