-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all, i'm trying to start to write a LKM that should use MII/MDIO linux 
interface. A brief description:

kernel version: 2.6.34

i'va a board with a MPC8306 processor and a switch Marvell 88E6097 connected by 
MII/MDIO...i should write switch's registers but i have no idea about which 
data structures i have to use...i found mii_if_info but i don't know how define 
the functions mdio_read and mdio_write...i found also the structure 
mdio_if_info but again i don't understand how to use it. I think only sources 
are not enough to completely understand how linux manages mdio busses, how 
performs device discovery, probing etc...do you know about any document? 
Browsing online and kernel tree docs i only found the file phy.txt in 
Documentation/networking...:(

any advice or little example would be appreciated!

Thank you all!

Mirko
 
- --
Mirko Banchi

e-mail:    [email protected]
id-jabber: [email protected]

PGP key fingerprint:

308F BFB1 4E67 2522 C88E 
DC69 7631 52ED 32A5 6456



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)

iEYEARECAAYFAk3T2nIACgkQdjFS7TKlZFYmlQCfexeD9aJQvWoCzNJ/sgTRjwlN
5tkAnRE6Jp8/rehGiMEUvLkVmORTTZdF
=zH7I
-----END PGP SIGNATURE-----
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to