RE: fixed a bug of adma in rhel4u5 with HDS7250SASUN500G.

From: Kuan Luo
Date: Mon Jan 28 2008 - 23:59:35 EST


Robert wrote:
> Kuan Luo wrote:
> > Robert worte.
> >> Kuan, does this patch (using the notifiers to see if the
> command is
> >> really done) still work if one port on the controller has
> >> ADMA disabled
> >> because it's in ATAPI mode? I seem to recall Allen Martin
> mentioning
> >> that notifiers wouldn't work in this case.
> >>
> >
> > I just tried the 2.6.24-rc7 sata_nv driver with one hd and
> one cdrom in
> > the same controller.
> > I mkfs hd and mounted the cdrom and no error happened.
> >
> > Allen, is there anything about notifier that we should pay
> attention
> > to?
>
> Assuming not, then this patch should be applied..
>
>

The patch should be applied.
We use the notifier register and there is nothing to do with our
notifier register in atapi mode.

Allen wrote:
I think that's one of the cases where memory notifiers don't work (one
of the drives is not in ADMA mode either because it's ATAPI or it's in
legacy mode). There's no issue with the notifier registers though.
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information. Any unauthorized review, use, disclosure or distribution
is prohibited. If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/