ntb: Split ntb_setup_msix() into separate BWD/SNB routines
authorAlexander Gordeev <agordeev@redhat.com>
Tue, 11 Mar 2014 16:00:22 +0000 (17:00 +0100)
committerJon Mason <jon.mason@intel.com>
Mon, 7 Apr 2014 17:59:19 +0000 (10:59 -0700)
commit53a788a765b5336bd5ac5935e6d962bcdd281802
tree5246550b04b662a0dddb2d411b8f09525feb88c3
parent77733513c481d741d997139a1cac5d0d10bf3639
ntb: Split ntb_setup_msix() into separate BWD/SNB routines

This is an cleanup effort to make ntb_setup_msix() more
readable - use ntb_setup_bwd_msix() to init MSI-Xs on
BWD hardware and ntb_setup_snb_msix() - on SNB hardware.

Function ntb_setup_snb_msix() also initializes MSI-Xs the
way it should has been done - looping pci_enable_msix()
until success or failure.

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Jon Mason <jon.mason@intel.com>
drivers/ntb/ntb_hw.c
This page took 0.024911 seconds and 5 git commands to generate.