xn_pre_reset(struct ata_port *ap)
> > +{
> > + struct pci_dev *pdev = to_pci_dev(ap->host->dev);
> > /* Reset the state machine */
> > pci_write_config_byte(pdev, 0x50, 0x37);
> > pci_write_config_byte(pdev, 0x54, 0x37);
> > udelay(100);
> > -
> > return ata_std_prereset(ap);
> > }
> >
>
> Hmmm... is it really safe to reset both channels here, when only one port
> gets reset?
It works but you have a good point, that ought to be changed.
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html