Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Jul 2016 16:53:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 211462] AR8327 Etherswitch led control patch
Message-ID:  <bug-211462-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211462

            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: freebsd-bugs@FreeBSD.org
          Reporter: dnelson_1901@yahoo.com

Created attachment 173123
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D173123&action=
=3Dedit
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:=20

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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211462-8>