Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2001 17:12:41 -0700
From:      Nick Sayer <nsayer@quack.kfu.com>
To:        SXren Schmidt <sos@freebsd.dk>
Cc:        Richard Johnson <raj@cisco.com>, Robert Sexton <robert@kudra.com>, freebsd-mobile@FreeBSD.ORG
Subject:   Re: ATA idle spindown patch.
Message-ID:  <3B6354F9.2070801@quack.kfu.com>
References:  <200107280841.f6S8fvR80063@freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

SXren Schmidt wrote:

> It seems Richard Johnson wrote:
> 
>>
>>I've had basically this same thing hardcoded into ata-disk.c on my
>>laptop for quite a few months and, yes, it seems to work fine...
>>until you sleep the system and bring it back.  After coming back from
>>sleep my laptop seems to have forgotten about the spindown time.
>>
>>It appears as though it also needs to be somewhere after resetting the 
>>device when the machine comes back from sleep.  Any ideas?
>>
> 
> It needs to be proberly integrated into the detach/attach/suspend/resume
> system for this to work proberly. I have most of it done here but 
> currently too little time to get it really usefull...


I tried to put it in ad_reinit(), but that seems to be causing panics at 
resume. The theory was that ad_reinit() seems to be called at resume time.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-mobile" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B6354F9.2070801>