Re: hwif->rw_disk() method

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

 



On 1/10/07, Sergei Shtylyov <sshtylyov@xxxxxxxxxxxxx> wrote:
Hello.

Hi,

Alan wrote:

>>    Alan/Bart/anybody, could you enlighten me why hwif->rw_disk() method came
>>into being at all?

> When you needed to wrap entire disk operations. The ->dma_ methods only
> wrap DMA commands.

Exactly.  IIRC ->rw_disk method was used for PIO by (removed) pdc4030 driver.

    Yeah, good point. But it's not likely that the HighPoint driver actually
needs this wrapper for PIO or even MW DMA commands...

> For the current support hardware it can probably go, no idea if anyone
> embedded uses it any more and can't be bothered to check 8)

    Nobody does, as far I can see, except this wretched driver... :-)

Yes, so if HPT hardware doesn't need clock switch for PIO ->rw_disk can go.

Bart
-
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