• R
    [PATCH] S2io: Hardware and miscellaneous fixes · 776bd20f
    ravinandan.arakali@neterion.com 提交于
    Hi,
    This patch contains the following hardware related fixes and other
    miscellaneous bug fixes.
    
    1. Updated the definition of single and double-bit ECC errors
    2. Earlier we were allocating Transmit descriptors equal to
       MAX_SKB_FRAGS. This was causing a boundary condition failure.
       Need to allocate MAX_SKB_FRAGS+1 descriptors.
    3. On some platforms(like PPC), pci_alloc_consistent() can return
       a zero DMA address. Since the NIC cannot handle zero-addresses,
       a workaround has been provided. Basically, we don't use such
       that page. We reallocate.
    4. If list_info allocation failed during driver load, check for
       it during driver exit and return instead of trying to dereference
       NULL pointer.
    5. Increase the debug level of few non-critical debug messages.
    6. Reset the card on critical ECC double errors only in case of
       XframeI since XframeII can recover from such errors.
    7. Print copyright message on driver load.
    8. Bumped up the driver version no. to 2.0.8.1
    Signed-off-by: NRavinandan Arakali <ravinandan.arakali@neterion.com>
    Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
    776bd20f
s2io-regs.h 26.8 KB