IB/ipath: Properly terminate PCI ID table
authorRoland Dreier <rolandd@cisco.com>
Fri, 12 May 2006 21:57:52 +0000 (14:57 -0700)
committerRoland Dreier <rolandd@cisco.com>
Fri, 12 May 2006 21:57:52 +0000 (14:57 -0700)
commit6f4bb3d8205d943acafa2f536f37131777524b67
treec91bbf0190eef4e36be82fed70a6cbd4f01694a3
parentbe1fd94fd698e9dfa2676f688d4e9b034e0d4b9e
IB/ipath: Properly terminate PCI ID table

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: Roland Dreier <rolandd@cisco.com>
Signed-off-by: Bryan O'Sullivan <bos@pathscale.com>
drivers/infiniband/hw/ipath/ipath_driver.c