e1000: fix unaligned register access
This resolves a guru meditation in recent VirtualBox versions. Change-Id: I5034d8af1fe885adda3c027cb23563bffaccf97e
This commit is contained in:
parent
4bf270019a
commit
92293fafd3
1 changed files with 1 additions and 1 deletions
|
@ -400,7 +400,7 @@ e1000_t *e;
|
||||||
/* Clear Multicast Table Array (MTA). */
|
/* Clear Multicast Table Array (MTA). */
|
||||||
for (i = 0; i < 128; i++)
|
for (i = 0; i < 128; i++)
|
||||||
{
|
{
|
||||||
e1000_reg_write(e, E1000_REG_MTA + i, 0);
|
e1000_reg_write(e, E1000_REG_MTA + i * 4, 0);
|
||||||
}
|
}
|
||||||
/* Initialize statistics registers. */
|
/* Initialize statistics registers. */
|
||||||
for (i = 0; i < 64; i++)
|
for (i = 0; i < 64; i++)
|
||||||
|
|
Loading…
Reference in a new issue