Re: [rfc] "laptop mode"

From: Martin Dalecki (dalecki@evision-ventures.com)
Date: Wed Jun 05 2002 - 04:44:23 EST


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/



This archive was generated by hypermail 2b29 : Fri Jun 07 2002 - 22:00:24 EST