Re: [PATCH 2.6.13] ide: ide-dma.c should always check hwif->cds before hwif->cds->foo

2005-09-08 Thread Tom Rini
On Thu, Sep 08, 2005 at 05:47:38PM +0200, Bartlomiej Zolnierkiewicz wrote: > On 9/8/05, Tom Rini <[EMAIL PROTECTED]> wrote: > > In some cases (such as the mips Toshiba TX4939 w/ onboard IDE, not PCI > > IDE), hwif->cds can be NULL, so test that prior to testing > > hwif->cds->foo > > Both ide_iom

Re: [PATCH 2.6.13] ide: ide-dma.c should always check hwif->cds before hwif->cds->foo

2005-09-08 Thread Bartlomiej Zolnierkiewicz
Hi, On 9/8/05, Tom Rini <[EMAIL PROTECTED]> wrote: > In some cases (such as the mips Toshiba TX4939 w/ onboard IDE, not PCI > IDE), hwif->cds can be NULL, so test that prior to testing > hwif->cds->foo Both ide_iomio_dma() and ide_mapped_mmio_dma() are only called from ide_dma_iobase(). ide_setu

[PATCH 2.6.13] ide: ide-dma.c should always check hwif->cds before hwif->cds->foo

2005-09-08 Thread Tom Rini
In some cases (such as the mips Toshiba TX4939 w/ onboard IDE, not PCI IDE), hwif->cds can be NULL, so test that prior to testing hwif->cds->foo Signed-off-by: Hiroshi DOYU <[EMAIL PROTECTED]> Signed-off-by: Tom Rini <[EMAIL PROTECTED]> Index: linux-2.6/drivers/ide/ide-dma.c =