Hi Paul, [CC-to-list got lost]
Paul Regnier wrote: > Hi Jab, > > Thanks for this fast answer. > >> The ethtool interface is generally used for any low-level (but generic) >> NIC information and configuration under Linux. RTnet supports >> ETHTOOL_GLINK with one NIC so far (rt_8139too) to meet a special user >> scenario. > > I'am a newbie in networks drivers and my little knowledge > didn't allow me to find out if the rtl8139 ethtool permits to access > the state of the MAC. It seems to me that it is not the case. How deep do you want to look? I would evaluate carefully building new RT-Ethernet ideas on hardware details. NICs come and go, you cannot rely on specific features still being available in the next major revision, even by the same vendor. > >> There is the rt_3c59x.c, not sure if it serves your hardware as well. >> Moreover, it is kind of permanently experimental due to unsolved >> (unsolvable?) indeterminism in its hardware access. > > As this is the only NIC I'aware that gives access to the MAC state > through a carrierSence bit, this is quiet a bad news ! > Do you believe that this inderteminism could be fixed ? Not really. That hardware is deprecated, I don't expect anyone to spend much energy on 100 MBit devices anymore (except for embedded of course, but I haven't heard of embbedded/SoC 3Com NICs so far). > > Any other suggestion to be able to access the MAC state ? MII might be worth a look. There are quite a few NICs out there supporting this interface. Not sure if it contains what you need and if all NICs supports all features though. Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users