summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/mtdphy.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove some includes include-what-you-use claims don'tjsg2015-03-141-2/+1
| | | | | | | have any direct symbols used. Tested for indirect use by compiling amd64/i386/sparc64 kernels. ok tedu@ deraadt@
* Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.mpi2014-12-051-1/+2
| | | | ok mikeb@, krw@, bluhm@, tedu@
* mii drivers no longer need activate functions. Repair of the PHYderaadt2013-12-281-3/+2
| | | | | | | configuration setting is done at resume time because all networks drivers which were previously up, do an IFF_UP operation which hits PHY_RESET. This was in snapshots for about 2 weeks.
* use mii_phy_match()brad2005-02-191-4/+13
|
* Get flags passed down to PHY drivers correctly. This was done onbrad2005-01-281-2/+2
| | | | | | | | an adhoc basis in a couple of PHY drivers, this fixes it more generally. From NetBSD Fixes panics with aue(4) NICs.
* ANSI protos and some minor cleanupbrad2004-09-271-12/+4
| | | | ok henning@
* Restructure the PHY entry points to use a structure ofbrad2004-09-261-4/+7
| | | | | | | | | | entry points instead of descrete function pointers, and extend this to include a "reset" entry point. Make sure any PHY-specific reset routine is always used. From NetBSD ok mcbride@
* don't include sys/malloc.h, no memory management functions are usedbrad2004-09-201-2/+1
| | | | | | by any of the MII drivers. From NetBSD
* nuke clase 3 & 4jason2003-06-021-6/+1
|
* First round of __P removal in sysmillert2002-03-141-4/+4
|
* sync mii code with netbsdnate2000-08-261-36/+13
| | | | | | | adds detach functionality for phys some code cleanup Nobody really had time to test all of this out, but theo said commit anyway
* Merge with NetBSD:jason1999-12-071-35/+7
| | | | | | | | | | | | | o move common support functions for phy drivers from mii.c to mii_physubr.c, so that they are not includes if no PHY is configured o Clean up the code that adds media a little, and make media selection table-driven in preparation for some other changes to be made. o Don't add any loopback versions of media, for now. o Add mii_down(), which is used by MAC drivers to inform PHYs that the interface is now down. PHYs use this to cancel pending asynchronous operations. o Add OUI for Enable Semiconductor. o New Driver for TDK TSC78Q2120 PHY
* do not print media information to dmesg; ifconfig shows itderaadt1999-07-231-6/+2
|
* Sync with NetBSD:jason1999-07-161-3/+4
| | | | | | | o Implement asynchronous autonegotiation when driven by the MII tick (one-second clock). Prevents .5s delays every 5 seconds when the interface is up but there is no link. o Correct the sense of the PCR_FLINK100 bit in nsphy.c.
* Myson MTD972 driver.jason1998-12-281-0/+222