https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211462
Bug ID: 211462
Summary: AR8327 Etherswitch led control patch
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Created attachment 173123
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=173123&action=edit
userland and kernel patch
The attached patch extends the etherswitch code to support controlling the LEDs
associated with switch ports. An etherswitchcfg "led" subcommand is added, and
led(4) device nodes are created for each led as well. There is backend code
for the AR8327 switch, and support other switches should be easy to add.
Example usage:
etherswitchcfg port1 led 1 on port2 led 1 on port3 led 1 blink port4 led 1 off
port5 led 1 default
echo 0 > /dev/led/arswitch0port1led1
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"