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)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 16 Jul 2008 18:33:34 +0000 (20:33 +0200)
commit84e0f3f6c1e26588fdcb9f1b0f99d0275229bc99
tree3b528f4af2a509a5bcd69e0a7a5007d95afe4126
parent45158894d4d6704afbb4cefe55e5f6ca279fe12a
ide: it821x in pass-through mode segfaults in 2.6.26-stable

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>
drivers/ide/pci/it821x.c