Date: Fri, 8 May 2020 22:22:13 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r360827 - head/sys/dev/etherswitch Message-ID: <202005082222.048MMDgq093927@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Fri May 8 22:22:12 2020 New Revision: 360827 URL: https://svnweb.freebsd.org/changeset/base/360827 Log: [etherswitch] bump register width to 32 bits. Some ethernet switches have very large register windows; for example the AR8316 switch MIB starts at 0x20000. Submitted by: Mori Hiroki <yamori813@yahoo.co.jp> Modified: head/sys/dev/etherswitch/etherswitch.h Modified: head/sys/dev/etherswitch/etherswitch.h ============================================================================== --- head/sys/dev/etherswitch/etherswitch.h Fri May 8 22:21:56 2020 (r360826) +++ head/sys/dev/etherswitch/etherswitch.h Fri May 8 22:22:12 2020 (r360827) @@ -14,7 +14,7 @@ extern driver_t etherswitch_driver; #endif /* _KERNEL */ struct etherswitch_reg { - uint16_t reg; + uint32_t reg; uint32_t val; }; typedef struct etherswitch_reg etherswitch_reg_t;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005082222.048MMDgq093927>