/* Show and set the MII monitor interval. There are two tricky bits here. First, if MII monitoring is activated, then we must disable ARP monitoring. Second, if the timer isn't running, we must start it.  */
static ssize_t bonding_show_miimon(struct device *d, struct device_attribute *attr, char *buf)
/* Show and set the MII monitor interval. There are two tricky bits here. First, if MII monitoring is activated, then we must disable ARP monitoring. Second, if the timer isn't running, we must start it.  */
static ssize_t bonding_show_miimon(struct device *d, struct device_attribute *attr, char *buf)
{
	struct bonding *bond = to_bond(d);
	return sprintf(buf, "%d\n", bond->params.miimon);
}