]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC aac.c 1.137:
authoremaste <emaste@FreeBSD.org>
Mon, 7 Apr 2008 14:19:57 +0000 (14:19 +0000)
committeremaste <emaste@FreeBSD.org>
Mon, 7 Apr 2008 14:19:57 +0000 (14:19 +0000)
commit43ed987a3b2c6addb92e452269c1502316d4a3de
tree8015a811b03c8b44b5a698b651071ee2778a4f46
parent657a6056814c9626bd72dec0d34f3ff60bafadf9
MFC aac.c 1.137:
  Calling RequestSupplementAdapterInfo before RequestAdapterInfo appears
  to trip a bug causing the latter to return a zeroed struct
  aac_adapter_info.  This causes two issues.  One is cosmetic only --
  a verbose boot prints information about the controller, and shows all
  zero:

  aac0: Unknown processor 0MHz, 0MB memory (0MB cache, 0MB execution),
    unknown battery platform

  The second problem is that the firmware version information is stored
  away for aac_rev_check, for userland tools (like aaccli) to query via
  the FSACTL_MINIPORT_REV_CHECK and FSACTL_LNX_MINIPORT_REV_CHECK ioctls.
  When aaccli encounters this issue it prints

  Command Error: <The current AFAAPI.DLL is too old to work with the
    current controller software.>

  Move the RequestSupplementAdapterInfo call after RequestAdapterInfo,
  which seems to fix both problems.
sys/dev/aac/aac.c