Date: Sun, 15 Aug 2010 23:40:44 +0000 (UTC) From: Pyun YongHyeon <yongari@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/dev/bce if_bce.c Message-ID: <201008152340.o7FNetbB015059@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
yongari 2010-08-15 23:40:44 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_7)
sys/dev/bce if_bce.c
Log:
SVN rev 211384 on 2010-08-15 23:40:44Z by yongari
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.
Revision Changes Path
1.34.2.18 +34 -51 src/sys/dev/bce/if_bce.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008152340.o7FNetbB015059>
