|
@@ -15967,7 +15967,7 @@ static int tg3_get_invariants(struct tg3 *tp, const struct pci_device_id *ent)
|
|
*/
|
|
*/
|
|
if (tg3_flag(tp, 5780_CLASS)) {
|
|
if (tg3_flag(tp, 5780_CLASS)) {
|
|
tg3_flag_set(tp, 40BIT_DMA_BUG);
|
|
tg3_flag_set(tp, 40BIT_DMA_BUG);
|
|
- tp->msi_cap = pci_find_capability(tp->pdev, PCI_CAP_ID_MSI);
|
|
|
|
|
|
+ tp->msi_cap = tp->pdev->msi_cap;
|
|
} else {
|
|
} else {
|
|
struct pci_dev *bridge = NULL;
|
|
struct pci_dev *bridge = NULL;
|
|
|
|
|