aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/sdhci.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c
index 0d9c327a84b0..405b6158cb6c 100644
--- a/drivers/mmc/sdhci.c
+++ b/drivers/mmc/sdhci.c
@@ -1151,13 +1151,18 @@ static int __devinit sdhci_probe(struct pci_dev *pdev,
1151 const struct pci_device_id *ent) 1151 const struct pci_device_id *ent)
1152{ 1152{
1153 int ret, i; 1153 int ret, i;
1154 u8 slots; 1154 u8 slots, rev;
1155 struct sdhci_chip *chip; 1155 struct sdhci_chip *chip;
1156 1156
1157 BUG_ON(pdev == NULL); 1157 BUG_ON(pdev == NULL);
1158 BUG_ON(ent == NULL); 1158 BUG_ON(ent == NULL);
1159 1159
1160 DBG("found at %s\n", pci_name(pdev)); 1160 pci_read_config_byte(pdev, PCI_CLASS_REVISION, &rev);
1161
1162 printk(KERN_INFO DRIVER_NAME
1163 ": SDHCI controller found at %s [%04x:%04x] (rev %x)\n",
1164 pci_name(pdev), (int)pdev->vendor, (int)pdev->device,
1165 (int)rev);
1161 1166
1162 ret = pci_read_config_byte(pdev, PCI_SLOT_INFO, &slots); 1167 ret = pci_read_config_byte(pdev, PCI_SLOT_INFO, &slots);
1163 if (ret) 1168 if (ret)