aboutsummaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorOlaf Hering <[email protected]>2006-08-31 21:27:41 -0700
committerLinus Torvalds <[email protected]>2006-09-01 11:39:08 -0700
commitef16b5194f3233a11851180cd82eafb76542047d (patch)
tree2c9cf994951b5d539f5dce21aaf93f83c0ba17d3 /scripts/patch-kernel
parenta9aa141cfc2e08470bba3b9a8328bc50ac457488 (diff)
[PATCH] exit early in floppy_init when no floppy exists
modprobe -v floppy on a Apple G5 writes incorrect stuff to dmesg: Floppy drive(s): fd0 is 2.88M The reason is that the legacy io check happens very late, when part of the floppy stuff is already initialized. check_legacy_ioport() returns either -ENODEV right away, or it walks the device-tree looking for a floppy node. Signed-off-by: Olaf Hering <[email protected]> Acked-by: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions