Bug 147287 - [PATCH] sysutils/openipmi: support sensors for Sun Fire x64 systems
Summary: [PATCH] sysutils/openipmi: support sensors for Sun Fire x64 systems
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-01 16:30 UTC by alex.deiter
Modified: 2010-08-04 11:30 UTC (History)
0 users

See Also:


Attachments
file.diff (918 bytes, patch)
2010-06-01 16:30 UTC, alex.deiter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alex.deiter 2010-06-01 16:30:02 UTC
Patch from OpenIPMI CVS Repositories for Sun Fire x64 systems:

http://openipmi.cvs.sourceforge.net/viewvc/openipmi/OpenIPMI/ChangeLog

2010-05-28 Corey Minyard <cminyard@mvista.com>

	* lib/sensor.c: Change the "share count" checking to check if
	share count is > 1, not > 0, because some silly machines set the
	value to one when they should set it to zero, and one is a silly
	setting.

Without this patch OpenIPMI show incorrect name for discrete sensors on SunFire x64 systems. For eaxample:

PS0/PRSNT1, but should be PS0/PRSNT.

Fix: Please review proposed patch.

Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/sysutils/openipmi && make install
Comment 1 Li-Wen Hsu freebsd_committer freebsd_triage 2010-08-04 11:23:05 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-08-04 11:23:10 UTC
lwhsu       2010-08-04 10:22:56 UTC

  FreeBSD ports repository

  Modified files:
    sysutils/openipmi    Makefile 
  Added files:
    sysutils/openipmi/files patch-lib-sensor.c 
  Log:
  - Add a patch to support sensors for Sun Fire x64 systems
  
  PR:             ports/147287
  Submitted by:   Alex Deiter <alex.deiter AT gmail.com> (maintainer)
  Obtained from:  OpenIPMI CVS Repositories
  
  Revision  Changes    Path
  1.3       +1 -1      ports/sysutils/openipmi/Makefile
  1.1       +11 -0     ports/sysutils/openipmi/files/patch-lib-sensor.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"