]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ide: it821x in pass-through mode segfaults in 2.6.26-stable
authorDimitri Gorokhovik <dimitri.gorokhovik@free.fr>
Wed, 16 Jul 2008 18:33:34 +0000 (20:33 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 20 Aug 2008 18:05:09 +0000 (11:05 -0700)
commit62a7eae37a749faf08e20cf540320e0e0228f403
tree7834f5df0bdc9ac68cfed4fb14f7d2178a4bd3c6
parentbee879f48e0df80fd44db4dbd0da0dbbc9340193
ide: it821x in pass-through mode segfaults in 2.6.26-stable

commit 84e0f3f6c1e26588fdcb9f1b0f99d0275229bc99 upstream

The driver of ITE8212 in pass-through mode (it8212.noraid=1 on cmndline)
attempts to use the field `.dma_host_set' of the struct ide_dma_ops in
`ide_config_drive_speed' which is set to NULL by default.

So give a value to all fields of the struct ide_dma_ops.

Signed-off-by: Dimitri Gorokhovik <dimitri.gorokhovik@free.fr>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/ide/pci/it821x.c