On Mon, 13 Oct 2008 16:17:02 +0900
Tejun Heo <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> Wang Jian wrote:
> > +static void pata_platform_postreset(struct ata_link *link, unsigned int 
> > *classes)
> > +{
> > +   struct ata_port *ap = link->ap;
> > +   struct ata_device *dev;
> > +   u8 select = ATA_DEVICE_OBS;
> > +
> > +   /* Call default callback first */
> > +   ata_sff_postreset(link, classes);
> > +
> > +   if (!(ap->flags & ATA_FLAG_8BIT_DATA))
> > +           return;
> > +
> > +   /* Set 8-bit mode. We know we can do that */

Not really - the 8bit transfer command is CFA specific not ATA or ATAPI,
in addition it is not needed with most hardware that is running in 8bit
modes. 
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to