Skip to content
  • Olof Johansson's avatar
    pasemi_mac: use buffer index pointer in clean_rx() · b5254eee
    Olof Johansson authored
    
    
    pasemi_mac: use buffer index pointer in clean_rx()
    
    Use the new features in B0 for buffer ring index on the receive side. This
    means we no longer have to search in the ring for where the buffer
    came from.
    
    Also cleanup the RX cleaning side a little, while I was at it.
    
    Note: Pre-B0 hardware is no longer supported, and needs a pile of other
    workarounds that are not being submitted for mainline inclusion. So the
    fact that this breaks old hardware is not a problem at this time.
    
    Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    b5254eee