Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 31646
b: refs/heads/master
c: 51f82bc
h: refs/heads/master
v: v3
  • Loading branch information
Pierre Ossman authored and Russell King committed Jul 2, 2006
1 parent 59d5ebb commit 500337e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8ef1a14379e105c1419d21e96ffac53202bc0501
refs/heads/master: 51f82bc07a9673d790c2a17de8e3fa8046543f04
9 changes: 7 additions & 2 deletions trunk/drivers/mmc/sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1151,13 +1151,18 @@ static int __devinit sdhci_probe(struct pci_dev *pdev,
const struct pci_device_id *ent)
{
int ret, i;
u8 slots;
u8 slots, rev;
struct sdhci_chip *chip;

BUG_ON(pdev == NULL);
BUG_ON(ent == NULL);

DBG("found at %s\n", pci_name(pdev));
pci_read_config_byte(pdev, PCI_CLASS_REVISION, &rev);

printk(KERN_INFO DRIVER_NAME
": SDHCI controller found at %s [%04x:%04x] (rev %x)\n",
pci_name(pdev), (int)pdev->vendor, (int)pdev->device,
(int)rev);

ret = pci_read_config_byte(pdev, PCI_SLOT_INFO, &slots);
if (ret)
Expand Down

0 comments on commit 500337e

Please sign in to comment.