PCI: don't enable too many HT MSI mappings
authorYinghai Lu <yinghai@kernel.org>
Mon, 23 Feb 2009 19:51:59 +0000 (11:51 -0800)
committerJesse Barnes <jbarnes@hobbes.lan>
Tue, 24 Feb 2009 17:34:31 +0000 (09:34 -0800)
commit1dec6b054dd1fc780e18b815068bf5677409eb2d
treece73d3c8fb909c1ccc4bf3a9c75df2fc883b93e1
parentd22157b3d7a24d953ef5cce4515436be65b2e121
PCI: don't enable too many HT MSI mappings

Prakash reported that his c51-mcp51 ondie sound card doesn't work with
MSI.  But if he hacks out the HT-MSI quirk, MSI works fine.

So this patch reworks the nv_msi_ht_cap_quirk().  It will now only
enable ht_msi on own its root device, avoiding enabling it on devices
following that root dev.

Reported-by: Prakash Punnoor <prakash@punnoor.de>
Tested-by: Prakash Punnoor <prakash@punnoor.de>
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Jesse Barnes <jbarnes@hobbes.lan>
drivers/pci/quirks.c