• Benjamin Herrenschmidt's avatar
    Fix non-terminated PCI match table in PowerMac IDE · 71e4eda8
    Benjamin Herrenschmidt authored
    The PCI device table in the powermac IDE driver isn't properly
    terminated.  Depending on how your kernel is linked and other random
    factors, you can end up with this driver matched against any other PCI
    device in your system, possibly crashing at boot.
    
    Thanks to Heikki for tracking this down with me, the bug have been there
    for some time, though it rarely hurts due to luck.  In this case, the
    switch from .22 to .23-rc9 is causing it to show up due to differences
    in the resulting layout of .data I suppose.
    Signed-off-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
    Cc: Paul Mackerras <pmac@au1.ibm.com>
    Cc: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
    Cc: Heikki Lindholm <holindho@cs.helsinki.fi>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    71e4eda8
pmac.c 54.5 KB