* DMA on ht6560b? @ 2008-02-18 14:13 Jan Evert van Grootheest 2008-02-18 14:30 ` Alan Cox 0 siblings, 1 reply; 4+ messages in thread From: Jan Evert van Grootheest @ 2008-02-18 14:13 UTC (permalink / raw) To: linux-ide, bzolnier Hi, With digging into the code... I think the ht6560b controller supports DMA. At least it did so in 2.2 (where hdparm could still turn it on). DMA in 2.2 would improve the HD from about 1M/s to 4M/s. So that's quite interesting. Also the datasheet claims that there is full ANSI ATA-4a support. According to the ATA table on wikipedia that should include up to mwdma 2 and udma33. What's the magic that will turn it on for the ht6560b controller? I would guess at the [sm]wdma_mask fields in hwif_t? Plus something for set_dma_mode? Some help would be appreciated. Thanks, Jan Evert ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DMA on ht6560b? 2008-02-18 14:13 DMA on ht6560b? Jan Evert van Grootheest @ 2008-02-18 14:30 ` Alan Cox 2008-02-18 15:17 ` Jan Evert van Grootheest 0 siblings, 1 reply; 4+ messages in thread From: Alan Cox @ 2008-02-18 14:30 UTC (permalink / raw) To: Jan Evert van Grootheest; +Cc: linux-ide, bzolnier > I think the ht6560b controller supports DMA. The data sheet doesn't. It's a PIO controller capable of PIO4 with 32bit host to cpu transfers are best. ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DMA on ht6560b? 2008-02-18 14:30 ` Alan Cox @ 2008-02-18 15:17 ` Jan Evert van Grootheest 2008-02-18 15:43 ` Alan Cox 0 siblings, 1 reply; 4+ messages in thread From: Jan Evert van Grootheest @ 2008-02-18 15:17 UTC (permalink / raw) To: Alan Cox; +Cc: linux-ide, bzolnier Alan Cox wrote: >> I think the ht6560b controller supports DMA. >> > > The data sheet doesn't. It's a PIO controller capable of PIO4 with 32bit > host to cpu transfers are best. > Hmm. But what do you then think that 2.2 did? I mean it now does 1.15M/s and in 2.2 it would do ~4M/s with DMA on. Were those perhaps ISA style DMA transfers (as opposed to BM-DMA)? I really should compile a 2.2 with ht6560b support... Thanks for answering, though, I don't know that much about ATA. Jan Evert ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DMA on ht6560b? 2008-02-18 15:17 ` Jan Evert van Grootheest @ 2008-02-18 15:43 ` Alan Cox 0 siblings, 0 replies; 4+ messages in thread From: Alan Cox @ 2008-02-18 15:43 UTC (permalink / raw) To: Jan Evert van Grootheest; +Cc: linux-ide, bzolnier > Hmm. But what do you then think that 2.2 did? PIO4 > I mean it now does 1.15M/s and in 2.2 it would do ~4M/s with DMA on. It's never done DMA. ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2008-02-18 15:52 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-02-18 14:13 DMA on ht6560b? Jan Evert van Grootheest 2008-02-18 14:30 ` Alan Cox 2008-02-18 15:17 ` Jan Evert van Grootheest 2008-02-18 15:43 ` Alan Cox
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).