• Roland Dreier's avatar
    IB/ipath: Properly terminate PCI ID table · 6f4bb3d8
    Roland Dreier authored
    The ipath driver's table of PCI IDs needs a { 0, } entry at the end.
    This makes all of the device aliases visible to userspace so hotplug
    loads the module for all supported devices.  Without the patch,
    modinfo ipath_core only shows:
    
        alias:          pci:v00001FC1d0000000Dsv*sd*bc*sc*i*
    
    instead of the correct:
    
        alias:          pci:v00001FC1d00000010sv*sd*bc*sc*i*
        alias:          pci:v00001FC1d0000000Dsv*sd*bc*sc*i*
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    Signed-off-by: default avatarBryan O'Sullivan <bos@pathscale.com>
    6f4bb3d8
ipath_driver.c 54.4 KB