[vortex] Full duplex with 575 in Windows but not Linux

Andrew Morton akpm@zip.com.au
Wed Feb 13 17:54:01 2002


Simon Huggins wrote:
> 
>  MII PHY #0 transceiver registers:
>    3000 282d 0300 e54b 00a1 45e1 0001 0000

hrm.  The transceiver claims that it can't do full duplex.

What happens if you cheat, and, in vortex_probe1(), add:

        } else {
            vp->advertising = mdio_read(dev, vp->phys[0], 4);
+	    vp->advertising |= 0x0140;
            if (vp->full_duplex) {
                /* Only advertise the FD media types. */
                vp->advertising &= ~0x02A0;
                mdio_write(dev, vp->phys[0], 4, vp->advertising);
            }

-