• Alan Cox's avatar
    [PATCH] PATCH: Fix HPT366 crash and support HPT372N · f03a6bbb
    Alan Cox authored
    On a board containing the HPT372N IDE controller the 2.6.x series kernels will
    misbehave. If the HPT372N is set up with the newer PCI identifier it is 
    ignored. If it is set up with the HPT372 identifier then the kernel crashes
    on boot.
    
    This patch is a forward port of my 2.4 driver fixes that have been in 2.4
    for a year but somehow escaped 2.6. Ronny Buchmann caught a couple
    of merge details I missed and those are fixed in this diff too.
    
    As well as adding 372N support this also fixes the unknown revision case
    to avoid crashes should any future 37x variants with weird class_rev's appear
    Signed-off-by: default avatarAlan Cox <alan@redhat.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    f03a6bbb
hpt366.c 38.9 KB