Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96866
b: refs/heads/master
c: 3ce92a2
h: refs/heads/master
v: v3
  • Loading branch information
Geert Uytterhoeven authored and Linus Torvalds committed May 18, 2008
1 parent cefc157 commit e965b8f
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 3f365e8ee90bf835553ea964ba5accf5b8ba4070
refs/heads/master: 3ce92a2a7b03dae6b7778e2a5ff52f2042512887
3 changes: 3 additions & 0 deletions trunk/drivers/ide/legacy/macide.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ static int __init macide_init(void)
int irq;
hw_regs_t hw;

if (!MACH_IS_MAC)
return -ENODEV;

switch (macintosh_config->ide_type) {
case MAC_IDE_QUADRA:
base = IDE_BASE;
Expand Down

0 comments on commit e965b8f

Please sign in to comment.