Skip to content
  • Gabriel L. Somlo's avatar
    e1000: pre-initialize RAH/RAL registers · 372254c6
    Gabriel L. Somlo authored
    
    
    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: default avatarGabriel Somlo <somlo@cmu.edu>
    Signed-off-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
    372254c6