[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:
parent
4b88ccbc79
commit
c864575148
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user