Date: Mon, 30 Mar 2009 16:15:06 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/ed ax88x90reg.h if_ed.c if_ed_pccard.c if_edreg.h Message-ID: <200903301615.n2UGFKo3011602@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2009-03-30 16:15:06 UTC FreeBSD src repository Modified files: sys/dev/ed ax88x90reg.h if_ed.c if_ed_pccard.c if_edreg.h Log: SVN rev 190559 on 2009-03-30 16:15:06Z by imp This is a major reworking of the AX88x90 support. o Introduce new chip_type AX88790. There's a few places we need to know the exact chip for workaronds. o Explain the AX88190 workaround for the ISR bits being stuck, and don't apply them to the AX88790. The datasheet says the bits are fixed, and experience confirms. o Fix mii bit-bang read code to read and discard the 'floating' bit. o Remove empty ed_pccard_ax88x90_mii_reset routine o Report error from mii_phy_probe o Don't use ed_probe_Novel_generic for ax88x90 chips. It puts them into an odd state sometimes. Instead, use a more stream-lined version that avoids the trouble spots. This was copied and tweaked from the original. o Move chip reset into its own routine. o Minor code optimiation on getting MAC address o Add code for coping with AX88790 cards that are in power down state and need to be kicked before the PHY registers for the internal phy read right. o Remove ugly cap of PHYs at 17. o For AX88790, we need to set a special bit for accessig phy 16 (the internal phy) and clear it for all others according to a chip erratum. o streamline the bit-bang code for AX88x90: the delays aren't needed according to the datasheet timing diagrams and also the Linux driver o Fix minor bit definition for direction bit. o Generally: Some comments reformatted o Only try the toshiba probe on cards labelled as toshiba # From another Akihabara card (this one from a few years ago from a # friend in Japan). Fix the Corega FEther II PCC-TXD. This one is # still on sale new, as of a few weeks ago. should fix all other AX88x90 # based cards, but I have some testing left to finish on my collection... Revision Changes Path 1.2 +1 -1 src/sys/dev/ed/ax88x90reg.h 1.276 +20 -10 src/sys/dev/ed/if_ed.c 1.120 +207 -113 src/sys/dev/ed/if_ed_pccard.c 1.41 +2 -1 src/sys/dev/ed/if_edreg.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903301615.n2UGFKo3011602>