24 #include <linux/netdevice.h>
27 #include <linux/device.h>
31 #define D_SUBMODULE sysfs
51 if (
sscanf(buf,
"%u\n", &val) != 1)
52 goto error_no_unsigned;
53 if (val != 0 && (val < 100 || val > 300000 || val % 100 != 0)) {
54 dev_err(dev,
"idle_timeout: %u: invalid msecs specification; "
55 "valid values are 0, 100-300000 in 100 increments\n",
69 NULL, i2400m_idle_timeout_store);
73 &dev_attr_i2400m_idle_timeout.attr,
79 .attrs = i2400m_dev_attrs,