summaryrefslogtreecommitdiffstats
path: root/usr.bin/rwho
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2008-04-01 20:53:32 +0000
committeremaste <emaste@FreeBSD.org>2008-04-01 20:53:32 +0000
commit40129db5502e314eafc68a73d874ad95b8d67165 (patch)
tree9d19b983b373dcfba5dc819e87fb49a7029edc09 /usr.bin/rwho
parente00250d54df28554beb287ad715e9a5dd2e7cb65 (diff)
downloadFreeBSD-src-40129db5502e314eafc68a73d874ad95b8d67165.zip
FreeBSD-src-40129db5502e314eafc68a73d874ad95b8d67165.tar.gz
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.
Diffstat (limited to 'usr.bin/rwho')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud