you need to call _eth_phy_state(eth_phy_access_t *f) The argument being a pointer to the structure handling the PHY read and write of your device.
On Tue, Dec 16, 2008 at 6:53 PM, Grant Edwards <[email protected]> wrote: > What is the official method used to get the link status of an > interface (up/down, 10/100/1000, full/half duplex)? > > I don't see any hooks in the Ethernet driver API. Are drivers > supposed to export that info as global variables somehow? Are > they supposed to provide a global function to call? > > -- > Grant Edwards grante Yow! My BIOLOGICAL ALARM > at CLOCK just went off ... It > visi.com has noiseless DOZE FUNCTION > and full kitchen!! > > > -- > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss > > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
