diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/pci/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index cb1dd5f4988c..ed9eb68fd940 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -2587,7 +2587,7 @@ int pcix_get_max_mmrbc(struct pci_dev *dev) | |||
2587 | if (err) | 2587 | if (err) |
2588 | return -EINVAL; | 2588 | return -EINVAL; |
2589 | 2589 | ||
2590 | return (stat & PCI_X_STATUS_MAX_READ) >> 12; | 2590 | return 512 << ((stat & PCI_X_STATUS_MAX_READ) >> 21); |
2591 | } | 2591 | } |
2592 | EXPORT_SYMBOL(pcix_get_max_mmrbc); | 2592 | EXPORT_SYMBOL(pcix_get_max_mmrbc); |
2593 | 2593 | ||