set marvell switch ATU ageing time to minimum instead of maximum - hopefully fixes...
[openwrt/openwrt.git] / target / linux / generic-2.6 / files-2.6.25 / drivers / net / phy / mvswitch.h
index 81516b708b6585f0976b1174c97c410b3d3e4baf..a172e372652e95e072b8af7bc1ebacbd07ff10fc 100644 (file)
@@ -114,6 +114,8 @@ enum {
 };
 
 enum {
+#define MV_ATUCTL_AGETIME_MIN  16
+#define MV_ATUCTL_AGETIME_MAX  4080
 #define MV_ATUCTL_AGETIME(_n)  ((((_n) / 16) & 0xff) << 4)
        MV_ATUCTL_ATU_256   = (0 << 12),
        MV_ATUCTL_ATU_512   = (1 << 12),