Copyright (c) 2011 Marius Strobl <marius@FreeBSD.org> All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the docu...
NAMErgephy - RealTek RTL8168/8169/8110/8211 series 10/100/1000 Gigabit Ethernet PHY driver
SYNOPSISTo compile all available PHY drivers into the kernel, place the following line in your kernel configuration file:
Alternatively, to selectively compile this driver into the kernel, place the following lines in your kernel configuration file instead:
device mii device rgephy
DESCRIPTIONThe sysctl Cm net.inet.tcp.syncookies driver supports the RealTek RTL8168, RTL8169, RTL8110 and RTL8211 series integrated 10/100/1000 Gigabit Ethernet PHYs.
In order to get a list of media types and options supported by a specific instance of the sysctl Cm net.inet.tcp.syncookies driver, run ifconfig -m on the instance of its parent MAC driver.
Additionally, the sysctl Cm net.inet.tcp.syncookies driver supports the following special media option:
- When manually setting media type and options via ifconfig(8), the sysctl Cm net.inet.tcp.syncookies driver by default also triggers an autonegotiation advertising the selected media. This is done in order to work around hardware issues in certain scenarios. It is believed that this behavior does not cause harm in general but in fact can have an adverse effect in edge cases. In order to manually set the media type and options without also triggering an autonegotiation, the sysctl Cm net.inet.tcp.syncookies driver allows to turn this behavior off via the flag0 media option.
Note that this special media option will not show up in the output of ifconfig(8), even when set.
EXAMPLESManually set 100BASE-TX full-duplex without also triggering an autonegotiation:
"ifconfig re0 media 100baseTX mediaopt full-duplex,flag0"