Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 105731
b: refs/heads/master
c: dbdec83
h: refs/heads/master
i:
  105729: 7b1d25a
  105727: bd744c0
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed Jul 24, 2008
1 parent 41f79de commit 7cf09c9
Show file tree
Hide file tree
Showing 3 changed files with 5 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: ac32f3238c1d95a6ebea2c312160dbdbd61bf91c
refs/heads/master: dbdec839c4c2bfc8f2da8e50c06b9947e5ad0394
4 changes: 4 additions & 0 deletions trunk/drivers/ide/ide-generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,10 @@ static int __init ide_generic_init(void)
unsigned long io_addr;
int i, rc;

#ifdef CONFIG_MIPS
if (!ide_probe_legacy())
return -ENODEV;
#endif
printk(KERN_INFO DRV_NAME ": please use \"probe_mask=0x3f\" module "
"parameter for probing all legacy ISA IDE ports\n");

Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-mips/mach-generic/ide.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ static __inline__ int ide_default_irq(unsigned long base)

static __inline__ unsigned long ide_default_io_base(int index)
{
if (!ide_probe_legacy())
return 0;
/*
* If PCI is present then it is not safe to poke around
* the other legacy IDE ports. Only 0x1f0 and 0x170 are
Expand Down

0 comments on commit 7cf09c9

Please sign in to comment.