• Dely Sy's avatar
    [PATCH] Fixes for hot-plug drivers (updated) · 08dfd470
    Dely Sy authored
    Here is the updated patch (against 2.6.7-rc1) for the shpchp and pciehp
    drivers that fixes the following issues:
    - proper LED status when latch is open or card is not present while the
      user tries to power up the slot; (reported by D. Keck)
    - check if kmalloc() return NULL before proceeding in acpi_get__hpp();
      (provided by L. Capitulino)
    - add up(&ctrl->crit_sect) before return in error cases in several
      places;
    - proper handling of resources when there are other onboard devices
      behind the p2p bridge that has the hot-plug capabaility;
    - need to check negotiated link width in check_lnk_status();
    - cleanup board_added() in pciehp
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    08dfd470
pciehprm_nonacpi.c 11.5 KB