diff options
author | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-21 14:05:45 -0500 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-03-21 14:05:45 -0500 |
commit | d04cdb64212eb5ae6a98026a97dda626e40e8e9a (patch) | |
tree | b6a7dbb21ccfceb915844e9a330b3d3dfcaf3c5b /drivers/ide | |
parent | 2f8600dff2b140096a7df781884e918a16aa90e0 (diff) | |
parent | ec1248e70edc5cf7b485efcc7b41e44e10f422e5 (diff) |
Merge ../linux-2.6
Diffstat (limited to 'drivers/ide')
-rw-r--r-- | drivers/ide/mips/au1xxx-ide.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ide/mips/au1xxx-ide.c b/drivers/ide/mips/au1xxx-ide.c index 32431dcf5d8e..71f27e955d87 100644 --- a/drivers/ide/mips/au1xxx-ide.c +++ b/drivers/ide/mips/au1xxx-ide.c | |||
@@ -674,6 +674,11 @@ static int au_ide_probe(struct device *dev) | |||
674 | ret = -ENODEV; | 674 | ret = -ENODEV; |
675 | goto out; | 675 | goto out; |
676 | } | 676 | } |
677 | if (ahwif->irq < 0) { | ||
678 | pr_debug("%s %d: no IRQ\n", DRV_NAME, pdev->id); | ||
679 | ret = -ENODEV; | ||
680 | goto out; | ||
681 | } | ||
677 | 682 | ||
678 | if (!request_mem_region (res->start, res->end-res->start, pdev->name)) { | 683 | if (!request_mem_region (res->start, res->end-res->start, pdev->name)) { |
679 | pr_debug("%s: request_mem_region failed\n", DRV_NAME); | 684 | pr_debug("%s: request_mem_region failed\n", DRV_NAME); |