Thread (37 messages) 37 messages, 4 authors, 2021-11-10

Re: [RFC PATCH v3 6/8] leds: trigger: add hardware-phy-activity trigger

From: Andrew Lunn <andrew@lunn.ch>
Date: 2021-11-09 21:28:48
Also in: linux-doc, linux-leds, lkml, netdev

+/* The attrs will be placed dynamically based on the supported triggers */
+static struct attribute *phy_activity_attrs[PHY_ACTIVITY_MAX_TRIGGERS + 1];
This cannot be global. I have boards with a mixture of different PHYs
and switches. Each will have their own collection of supported
modes. And some PHYs have different modes per LED. 

       Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help