cvs commit: src/sys/dev/ipmi ipmi_smic.c

John Baldwin jhb at FreeBSD.org
Thu Oct 5 08:39:00 PDT 2006


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


More information about the cvs-src mailing list