svn commit: r360827 - head/sys/dev/etherswitch
Adrian Chadd
adrian at FreeBSD.org
Fri May 8 22:22:13 UTC 2020
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 at 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;
More information about the svn-src-all
mailing list