pdev->supported = ADVERTISED_100baseT_Full;
pdev->advertising = ADVERTISED_100baseT_Full;
dev->phy_ptr = priv;
- dev->irq = PHY_POLL;
+ pdev->irq = PHY_POLL;
#ifdef HEADER_MODE
dev->flags |= IFF_PROMISC;
#endif
{
pdev->speed = SPEED_100;
pdev->duplex = DUPLEX_FULL;
- pdev->state = PHY_UP;
+ pdev->link = 1;
/* XXX ugly workaround: we can't force the switch
* to gracefully handle hosts moving from one port to another,