Re: aic79xx -> can't suspend

From: Pavel Machek
Date: Fri Jun 24 2005 - 23:02:25 EST


Hi!

> > > I have a machine with an Adaptec 2940U2W adapter running 2.6.11. When I
> > > try to go into standby like so:
> > >
> > > echo standby > /sys/power/state
> > >
> > > this is what happens:
> >
> > AFAIK no SCSI drivers have had power management functions implemented, a
> > quick grep for PM_ in drivers/scsi seems to confirm that only the PCMCIA
> > SCSI drivers even look for PM events.
>
> Hmm, actually, this is still pretty bad. Shouldn't the suspend fail
> with "power management not implemented for device aic9xxx?" rather than
> crashing and burning?

That check is simply not there. We don't know if device is "suspend
not yet implemented" or "suspend is not needed" class... Sorry.

Pavel
--
Boycott Kodak -- for their patent abuse against Java.
-
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/