Re: [rfc] "laptop mode"

Martin Dalecki (dalecki@evision-ventures.com)
Wed, 05 Jun 2002 11:44:23 +0200


Andrew Morton wrote:

>
> laptop_mode

Great idea!.

>
> This implementation doesn't try to be very smart - there's a direct
> ca
> --- 2.5.20/drivers/ide/ide.c~laptop-mode Tue Jun 4 15:27:54 2002
> +++ 2.5.20-akpm/drivers/ide/ide.c Tue Jun 4 15:27:54 2002
> @@ -1043,6 +1043,7 @@ static void do_request(struct ata_channe
>
> void do_ide_request(request_queue_t *q)
> {
> + disk_spun_up();
> do_request(q->queuedata);
> }

Hugh? Perhaps moving this down to do_request would be
an idea worth consideration?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/