/* PHY operations */ struct cphy_ops { void (*destroy)(struct cphy *); int (*reset)(struct cphy *, int wait);
int (*interrupt_enable)(struct cphy *); int (*interrupt_disable)(struct cphy *); int (*interrupt_clear)(struct cphy *); int (*interrupt_handler)(struct cphy *);
int (*autoneg_enable)(struct cphy *); int (*autoneg_disable)(struct cphy *); int (*autoneg_restart)(struct cphy *);
int (*advertise)(struct cphy *phy, unsignedint advertise_map); int (*set_loopback)(struct cphy *, int on); int (*set_speed_duplex)(struct cphy *phy, int speed, int duplex); int (*get_link_status)(struct cphy *phy, int *link_ok, int *speed, int *duplex, int *fc);
u32 mmds;
};
/* A PHY instance */ struct cphy { int state; /* Link status state machine */
adapter_t *adapter; /* associated adapter */
/* Operations of the PHY-instance factory */ struct gphy { /* Construct a PHY instance with the given PHY address */ struct cphy *(*create)(struct net_device *dev, int phy_addr, conststruct mdio_ops *mdio_ops);
/* * Reset the PHY chip. This resets the whole PHY chip, not individual * ports.
*/ int (*reset)(adapter_t *adapter);
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.