diff options
author | Loren M. Lang <lorenl@alzatex.com> | 2006-02-03 12:04:59 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-02-03 17:32:12 +0100 |
commit | 9ea244b4b545ecb323d042a0df5c080edefcd1fc (patch) | |
tree | 65e219ea529ac8089fa5415d8b350cf0fd3c62e5 /drivers/block/swim_iop.c | |
parent | [PATCH] ide: set latency when resetting it821x out of firmware mode (diff) | |
download | linux-9ea244b4b545ecb323d042a0df5c080edefcd1fc.tar.xz linux-9ea244b4b545ecb323d042a0df5c080edefcd1fc.zip |
[PATCH] RocketPoint 1520 [hpt366] fails clock stabilization
I just purchased a HighPoint Rocket 1520 SATA controller. There seems to
be no libata driver (yet), but there is an ide driver, hpt366. When the
driver gets loaded, it causes a kernel NULL pointer dereference in
pci_bus_clock_list. It seems to be because the driver is waiting for clock
stabilization in init_hpt37x() which never comes. The driver just
continues on with the pci drvdata set to NULL, instead of a valid clock
entry. The following patch prevents the NULL dereference from happening,
but instead exit with an error.
Acked-by: Bartlomiej Zolnierkiewicz <B.Zolnierkiewicz@elka.pw.edu.pl>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/block/swim_iop.c')
0 files changed, 0 insertions, 0 deletions