]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r210257,210259-210261:
authoryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 15 Aug 2010 23:38:49 +0000 (23:38 +0000)
committeryongari <yongari@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 15 Aug 2010 23:38:49 +0000 (23:38 +0000)
commit689dbd10f53ab839a28e084e1da9b72085f237bb
treedf85469ce9d79b0c762aa507156d7854c86137e1
parentba7f1dd6a798694f20b9e4f506bfbf67fc83d090
MFC r210257,210259-210261:
r210257:
  When we didn't find a matching flash device, do not touch flash
  config data. While I'm here, use return code of bce_init_nvram()
  to set error instead of directly setting ENODEV.

r210259:
  Have bce_init_ctx() return error code and make caller check the
  return code. If context was not setup correctly give up
  initialization. While I'm here move variable declarations to the
  beginning of the function.

r210260:
  Don't change current media in bce_stop(). There is no need to do
  this here.

r210261:
  Correctly check the result of media selection. Previously it always
  returned success.

git-svn-id: svn://svn.freebsd.org/base/stable/8@211383 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/bce/if_bce.c