cvs commit: src/sys/dev/pccbb pccbb.c

Scott Long scottl at samsco.org
Thu May 25 08:19:55 PDT 2006


Gleb Smirnoff wrote:
> On Wed, May 24, 2006 at 05:26:16PM +0000, Warner Losh wrote:
> W> imp         2006-05-24 17:26:16 UTC
> W> 
> W>   FreeBSD src repository
> W> 
> W>   Modified files:
> W>     sys/dev/pccbb        pccbb.c 
> W>   Log:
> W>   Suspend the children before we turn off card events in hardware.  This
> W>   was done, I believe, to work around some cards having issues in the
> W>   suspend case.  I think that this helped my Sony VAIO TS505 work better
> W>   when it had certain wireless cards in it and I did a apm -z.  I've not
> 								   ^^^^^^^
> W>   tested suspend/resume on other laptops in a long time, so I hope this
>      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> W>   doesn't cause greif.  Please let me know if it does.
>      ^^^^^^^^^^^^^^^^^^^
> 
> Is this a joke, that I can't understand? :(
> 
> This file has broken APM suspend since revision 1.122, which was made
> almost a year ago. I've told that several times, and I still hope that
> this will be fixed before RELENG_7. The problem is not in suspending
> children, since suspend is broken w/o any cards in slot. The problem is
> in DELAY -> tsleep() conversion. The latter is not working, when
> system is suspending. 
> 

Maybe it would help if Warner published patches and called for testers 
before committing stuff like this?

Scott



More information about the cvs-src mailing list