summaryrefslogtreecommitdiffstats
path: root/sys/netinet/udp_usrreq.c
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2007-04-30 22:35:33 +0000
committermarius <marius@FreeBSD.org>2007-04-30 22:35:33 +0000
commit7af8abc0c5540217c84e7fef30f265f5ebdee5c6 (patch)
tree593bf6c0f2ac23be5b71eefa4af673f946cecf6a /sys/netinet/udp_usrreq.c
parentf18c6c03395fa5c067d494cb5cef42d8855707e0 (diff)
downloadFreeBSD-src-7af8abc0c5540217c84e7fef30f265f5ebdee5c6.zip
FreeBSD-src-7af8abc0c5540217c84e7fef30f265f5ebdee5c6.tar.gz
- Take advantage of mii_phy_add_media() for adding media and setting
sc->mii_anegticks according to whether the respective BGE chip supports Fast Ethernet only or also Gigabit Ethernet. - At least the BGE chips I've tested with wedge when isolating them so document this as the reason for setting MIIF_NOISOLATE and remove the unused (and partially even #ifdef'ed out) isolation related code. Add code that panics if we encounter a non-zero MII instance as generally there's no way a PHY requiring MIIF_NOISOLATE can be handled gracefully in a multi-PHY configuration (it's ok for the internal PHY of single-PHY-only-NIC to not support isolation though). - Additionally set MIIF_NOLOOP as loopback doesn't seem to work either and remove the #ifdef'ed out code for adding respective media. The MIIF_NOLOOP flag currently triggers nothing but hopefully will be respected by mii_phy_setmedia() later on. Reviewed by: jkim, yongari MFC after: 1 month
Diffstat (limited to 'sys/netinet/udp_usrreq.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud