Re: [PATCH #upstream-fixes] pata_cmd64x: revert commit d62f5576

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> The old problem is much less severe tho.  The introduced regression
> causes oops while the old bug probably doesn't show itself too often.

If ever

> Does it really need to merge the DMA timings too?  If the device can't
> do certain timing, it's PIO configuration should reflect that so
> merging PIO part only should be enough for PIO configuration, no?

The timing code knows about DMA/PIO constraints itself. The whole mucking
around passing both timings is just bogus.

Pass pair->dma_mode only and it'll work out the PIO for you. Not that it
matters - no real hardware has a DMA mode with a slower address setup
than its PIO mode.

and for UT just stick in some value (eg 33000) so it works in PCI clocks
--
To unsubscribe from this list: 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


[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux