On 3/28/06, Sergei Shtylylov <sshtylyov@xxxxxxxxxxxxx> wrote: > Hello. > > Sergei Shtylylov wrote: > > >> Bartlomiej Zolnierkiewicz wrote: > > [skipped] > > >>>> - release the channel's secondary DMA I/O ports for real > > >>> NAK, looking and the code - secondary DMA base is only used > >>> by siimage.c and sgiioc4.c (both use ->mmio == 2, for siimage > >>> ->dma_base2 > >>> is unused, for sgiioc4 it is used for some weird DMA transfer ending > >>> stuff) > > Hm, concerning the other field of ide_hwif_t, dma_master: I currently see > no users to it but pdc202xx_old.c. The way it's computed makes it dependent on > what channels are enabled (though all channels are forced present in that > driver by the most recent patch) which makes it invalid if the primary channel > happens to be disabled. I'd like to replace it with extra_base fields which > would point to the extra DMA ports regardless of the channels present/enabled, > is this OK? Isn't it better to just use pci_resource_start(dev, 4) in pdc202xx_old.c? Bartlomiej - : send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html