Date: Thu, 5 Oct 2006 15:38:59 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/ipmi ipmi_smic.c Message-ID: <200610051539.k95Fd02U011202@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2006-10-05 15:38:59 UTC
FreeBSD src repository
Modified files:
sys/dev/ipmi ipmi_smic.c
Log:
The IPMI spec is ambiguous (or rather, it contradicts itself) about whether
or not the OS has to wait for RX_RDY or TX_RDY to be set before the OS sets
the control code in the control/status register. Looking at the interface
design, it seems that RX_RDY and TX_RDY are probably there to protect
access to the data register and have nothing to do with the control/status
register. Nevertheless, try to take what I think is the more conservative
approach and always wait for the appropriate [TR]X_RDY flag to be set
before writing any of the WR_NEXT, WR_END, RD_START, or RD_NEXT control
codes to the control/status register.
Revision Changes Path
1.4 +4 -4 src/sys/dev/ipmi/ipmi_smic.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610051539.k95Fd02U011202>
