Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43697
b: refs/heads/master
c: 78028da
h: refs/heads/master
i:
  43695: 06549aa
v: v3
  • Loading branch information
Jiri Slaby authored and Linus Torvalds committed Dec 8, 2006
1 parent d468dc4 commit 80cc4d2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 938a7023bbbc626b0ab7ece13fe8cb26cfcc486b
refs/heads/master: 78028da91e05146c9ce0c9db2fea53e0cded1e81
7 changes: 4 additions & 3 deletions trunk/drivers/char/isicom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1789,7 +1789,8 @@ static int __devinit isicom_probe(struct pci_dev *pdev,

pci_set_drvdata(pdev, board);

if (!request_region(board->base, 16, ISICOM_NAME)) {
retval = pci_request_region(pdev, 3, ISICOM_NAME);
if (retval) {
dev_err(&pdev->dev, "I/O Region 0x%lx-0x%lx is busy. Card%d "
"will be disabled.\n", board->base, board->base + 15,
index + 1);
Expand Down Expand Up @@ -1822,7 +1823,7 @@ static int __devinit isicom_probe(struct pci_dev *pdev,
errunri:
free_irq(board->irq, board);
errunrr:
release_region(board->base, 16);
pci_release_region(pdev, 3);
err:
board->base = 0;
return retval;
Expand All @@ -1837,7 +1838,7 @@ static void __devexit isicom_remove(struct pci_dev *pdev)
tty_unregister_device(isicom_normal, board->index * 16 + i);

free_irq(board->irq, board);
release_region(board->base, 16);
pci_release_region(pdev, 3);
}

static int __init isicom_init(void)
Expand Down

0 comments on commit 80cc4d2

Please sign in to comment.