Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 167826
b: refs/heads/master
c: 94efb72
h: refs/heads/master
v: v3
  • Loading branch information
Komuro authored and Dominik Brodowski committed Oct 24, 2009
1 parent f758900 commit f091451
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5f784336dc02a1c5be3dffac3506bc07c1604cee
refs/heads/master: 94efb72328afa29ea5fd93e48ed17489afcdaa12
6 changes: 6 additions & 0 deletions trunk/drivers/pcmcia/pd6729.c
Original file line number Diff line number Diff line change
Expand Up @@ -641,6 +641,12 @@ static int __devinit pd6729_pci_probe(struct pci_dev *dev,
if ((ret = pci_enable_device(dev)))
goto err_out_free_mem;

if (!pci_resource_start(dev, 0)) {
printk(KERN_INFO "pd6729: refusing to load the driver "
"as the io_base is 0.\n");
goto err_out_free_mem;
}

printk(KERN_INFO "pd6729: Cirrus PD6729 PCI to PCMCIA Bridge "
"at 0x%llx on irq %d\n",
(unsigned long long)pci_resource_start(dev, 0), dev->irq);
Expand Down

0 comments on commit f091451

Please sign in to comment.