]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/log
FreeBSD/stable/9.git
12 years agoMFC r225798: Improve battery capacity reporting
emaste [Tue, 27 Sep 2011 17:11:09 +0000 (17:11 +0000)]
MFC r225798: Improve battery capacity reporting

  When a status pointer is passed in mfi_dcmd_command does not return an
  errno (if the ioctl is successful), so move the test for NO_HW_PRESENT
  outside of the error case.  This should fix incorrect reporting for
  systems with a dead or no battery.

  Additionally, handle error codes other than NO_HW_PRESENT by omitting
  the battery capacity display.  LSI's supercap-based parts (CV series)
  report their data using the same interface as battery-based parts,
  except that they do not include the capacity stats (state of charge,
  cumulative charge cycles, etc.)

PR:           bin/160581
Approved by:  re

git-svn-id: svn://svn.freebsd.org/base/stable/9@225804 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFH r225800: finally fix resume mode with non-cooperating server.
des [Tue, 27 Sep 2011 17:04:13 +0000 (17:04 +0000)]
MFH r225800: finally fix resume mode with non-cooperating server.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/9@225803 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoMFC r225788:
mav [Tue, 27 Sep 2011 15:08:59 +0000 (15:08 +0000)]
MFC r225788:
Fix interrupt counters dumping on SW_WATCHDOG fire.

Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/9@225799 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoBackout r225372.
attilio [Tue, 27 Sep 2011 14:00:32 +0000 (14:00 +0000)]
Backout r225372.
Eventhandler mutex cannot be acquired in kernel context.

Sponsored by: Sandvine Incorporated
Approved by: re (kib)

git-svn-id: svn://svn.freebsd.org/base/stable/9@225797 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoReady for BETA3.
kensmith [Fri, 23 Sep 2011 16:37:28 +0000 (16:37 +0000)]
Ready for BETA3.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@225744 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f

12 years agoCopy head to stable/9 as part of 9.0-RELEASE release cycle.
kensmith [Fri, 23 Sep 2011 00:51:37 +0000 (00:51 +0000)]
Copy head to stable/9 as part of 9.0-RELEASE release cycle.

Approved by: re (implicit)

git-svn-id: svn://svn.freebsd.org/base/stable/9@225736 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f