diff options
author | Gabriel L. Somlo <gsomlo@gmail.com> | 2012-10-31 14:15:39 -0400 |
---|---|---|
committer | Stefan Hajnoczi <stefanha@redhat.com> | 2012-11-01 12:02:17 +0100 |
commit | 372254c6e5c078fb13b236bb648d2b9b2b0c70f1 (patch) | |
tree | 8fd0127e1c8435d3f7dfc0ce2fe45e821ee9d1e4 /cpu-common.h | |
parent | 645c9496f7083c105ecd32f32532496af6aadf62 (diff) |
e1000: pre-initialize RAH/RAL registers
Some guest operating systems' drivers (Mac OS X in particular) fail to
properly initialize the Receive Address registers (probably expecting
them to be pre-initialized by an earlier component, such as a specific
proprietary BIOS). This patch pre-initializes the RA registers, allowing
OS X networking to function properly. Other guest operating systems are
not affected, and free to (re)initialize these registers during boot.
[According to the datasheet the Address Valid bits in the RA registers
are cleared on PCI or software reset. This patch adds the NIC's MAC
address and sets Address Valid on reset. So we diverge from real
hardware behavior here. -- Stefan]
Signed-off-by: Gabriel Somlo <somlo@cmu.edu>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'cpu-common.h')
0 files changed, 0 insertions, 0 deletions