Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33759
b: refs/heads/master
c: ef16b51
h: refs/heads/master
i:
  33757: caecec3
  33755: 2b63c35
  33751: 2d9abd9
  33743: 8d69430
  33727: 651b23d
v: v3
  • Loading branch information
Olaf Hering authored and Linus Torvalds committed Sep 1, 2006
1 parent b948b5f commit f7c0280
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 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: a9aa141cfc2e08470bba3b9a8328bc50ac457488
refs/heads/master: ef16b5194f3233a11851180cd82eafb76542047d
12 changes: 5 additions & 7 deletions trunk/drivers/block/floppy.c
Original file line number Diff line number Diff line change
Expand Up @@ -4177,6 +4177,11 @@ static int __init floppy_init(void)
int i, unit, drive;
int err, dr;

#if defined(CONFIG_PPC_MERGE)
if (check_legacy_ioport(FDC1))
return -ENODEV;
#endif

raw_cmd = NULL;

for (dr = 0; dr < N_DRIVE; dr++) {
Expand Down Expand Up @@ -4234,13 +4239,6 @@ static int __init floppy_init(void)
}

use_virtual_dma = can_use_virtual_dma & 1;
#if defined(CONFIG_PPC_MERGE)
if (check_legacy_ioport(FDC1)) {
del_timer(&fd_timeout);
err = -ENODEV;
goto out_unreg_region;
}
#endif
fdc_state[0].address = FDC1;
if (fdc_state[0].address == -1) {
del_timer(&fd_timeout);
Expand Down

0 comments on commit f7c0280

Please sign in to comment.