On Mon, Aug 02, 2021 at 09:45:14PM +0200, Andrew Lunn wrote:
quoted
quoted
+/* AGE_TIME_COEF is not documented. This is "works for me" value */
+#define AR9331_SW_AT_AGE_TIME_COEF 6900
Not documented, not used either, it seems.
"Works for you" based on what?
It is used in a later patch. Ideally it would of been introduced in
that patch to make this more obvious.
ack, i'll move it from this patch
quoted
quoted
#define AR9331_SW_REG_MDIO_CTRL 0x98
#define AR9331_SW_MDIO_CTRL_BUSY BIT(31)
#define AR9331_SW_MDIO_CTRL_MASTER_EN BIT(30)
@@ -101,6 +111,46 @@
AR9331_SW_PORT_STATUS_RX_FLOW_EN | AR9331_SW_PORT_STATUS_TX_FLOW_EN | \
AR9331_SW_PORT_STATUS_SPEED_M)
Is this patch material for "net"? If standalone ports is all that ar9331
supports, then it would better not do packet forwarding in lack of a
bridge device.
It does seem like this patch should be considered for stable, if by
default all ports can talk with all ports when not part of a bridge.
ack, i'll split this patch set
Regards,
Oleksij
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |