Message ID | 20100310032640.6331.39506.send-patch@aqua (mailing list archive) |
---|---|
State | Accepted, archived |
Headers | show |
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index 5b548ae..1decd4f 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -2571,7 +2571,7 @@ int pcix_get_max_mmrbc(struct pci_dev *dev) if (err) return -EINVAL; - return (stat & PCI_X_STATUS_MAX_READ) >> 12; + return 512 << ((stat & PCI_X_STATUS_MAX_READ) >> 21); } EXPORT_SYMBOL(pcix_get_max_mmrbc);