[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>
This commit is contained in:
Adrian Chadd 2020-05-08 22:22:12 +00:00
parent 4b88ccbc79
commit c864575148

View File

@ -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;