summaryrefslogtreecommitdiffstats
path: root/sys/dev/mii/ukphy.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Initialize oui and model fields in the softc.kettenis2016-07-111-1/+3
| | | | ok deraadt@, mpi@
* 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.
* Manuel Bouyer rescinded clauses 3 and 4 of his license text.jsg2010-07-231-6/+1
|
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-261-8/+1
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* remove whitespace at the end of line.brad2006-03-051-2/+2
|
* Correct information in dmesg again. -moj ok jsgmaja2006-02-121-2/+2
|
* make ukphy dmesg attach print on one line.brad2005-10-161-5/+5
|
* 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.
* mii_phy_tick() already checks for autonegotiation.brad2004-09-281-7/+1
|
* 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
* First round of __P removal in sysmillert2002-03-141-4/+4
|
* Add some general support info for gigabit physnate2001-06-081-2/+5
| | | | | | Fix some comments Remove some dead code From NetBSD
* hushjason2000-08-281-4/+2
|
* sync mii code with netbsdnate2000-08-261-47/+24
| | | | | | | 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-34/+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
* add IFM_NONE instead of IFM_AUTO for isolationjason1999-09-171-2/+2
|
* do not print media information to dmesg; ifconfig shows itderaadt1999-07-231-6/+2
|
* Sync with NetBSD:jason1999-07-161-5/+7
| | | | | | | 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.
* Enable "auto" mode so we at least have a chance of working. Otherwise,millert1999-05-311-2/+2
| | | | we panic in ifmedia_set because ifmedia_match() fails.
* Merge with NetBSD:jason1998-11-111-0/+274
o additional phy drivers (seeq, ics, level1) o "unknown phy" driver for unsupported phys o collected common code into mii_physubr o exphy isn't the only phy that doesn't have valid id registers