Skip to content
Snippets Groups Projects
  • Mike Frysinger's avatar
    c4b8762f
    bcm570x: get mac address from environment · c4b8762f
    Mike Frysinger authored
    
    The environment is the canonical storage location of the mac address, so
    we're killing off the global data location and moving everything to
    querying the env directly.
    
    Since the address is in the PLM_DEVICE_BLOCK structure already, there is
    no need to pass the NodeAddress as a second parameter.  So drop the second
    argument to the LM_SetMacAddress() function (and update the tigon3 driver
    accordingly).
    
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
    CC: Ben Warren <biggerbadderben@gmail.com>
    c4b8762f
    History
    bcm570x: get mac address from environment
    Mike Frysinger authored
    
    The environment is the canonical storage location of the mac address, so
    we're killing off the global data location and moving everything to
    querying the env directly.
    
    Since the address is in the PLM_DEVICE_BLOCK structure already, there is
    no need to pass the NodeAddress as a second parameter.  So drop the second
    argument to the LM_SetMacAddress() function (and update the tigon3 driver
    accordingly).
    
    Signed-off-by: default avatarMike Frysinger <vapier@gentoo.org>
    CC: Ben Warren <biggerbadderben@gmail.com>