Re: [PATCH 5/6] ide: add ata_dev_has_iordy() helper

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

 



Hi,

On Friday 29 June 2007, Sergei Shtylyov wrote:
> Hello.
> 
> Bartlomiej Zolnierkiewicz wrote:
> 
> [...]
> 
> > Damn, I should have re-check ATA specs before writing this. :)
> 
>     Yeah, never hurts... but takes time. ;-)
> 
> >>    I was thinking of checking if the drive really supports IORDY before 
> >>issuing a command to set PIO mode (and just skipping the command if there's no 
> >>IORDY -- well, maybe adding an extra check that the passed mode is acceptable 
> >>to the drive, i.e. <= its default one).  Should be quite simple to do.
> 
> > Sounds fine.
> 
>     I'll look into doing this some time... :-)

Cool.

> >>>This should be done together with fixing these host drivers that don't
> >>>handle IORDY properly.
> 
> >>    Erm, not necessarily...
> 
> > Hmm, yes.
> 
> > I'll just count on you with fixing all this IORDY stuff (as you have
> > much more expertise in this field) and concentrate on other things.
> 
>     I'm afraid this compliment is not well deserved. :-<
> 
> >>>>>Oh yes, I keep forgetting about it - some nice FIXME comment
> >>>>>in <linux/ata.h> would be of a great help. :-)
> 
> >>>>   Well, some drivers (like pdc202xx_*) don't do the IORDY thing right for 
> >>>>PIO modes < 3 as well...
> 
> >>>Added to the existing IDE TODO at
> 
> >>>	http://kernel.org/pub/linux/kernel/people/bart/pata-2.6/TODO
> 
>     I think this list already needs cleaning -- e.g. at least cmd64x.c and 
> hpt366.c have been deatl with.

Thanks, removed.

> >>>Patches adding/removing items are welcomed.
> 
> >>>Patches fixing actual issues are welcomed even more.
> 
> >>    Sigh, I'm trying to get some time (more like time slices :-) off to deal 
> >>with my own issues...
> 
>     By by "my own issues" I don't mean patches -- patches don't help me, it's 
> rather injections and pills... +:-)

Heh, sorry I didn't know about that.

I hope that it is nothing serious and wish you quick recovery...

So you could hack some more... :-)

> > Which reminds me about some HPT IDE patches... 8)
> 
>     Done now -- at last. However, I've had troubles with SMPT sending them. :-/

Looks good, applied all three patches.

Thanks,
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