]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
If driver is not able to allocate RX buffer, do not start driver.
authorPyun YongHyeon <yongari@FreeBSD.org>
Thu, 13 Jan 2011 23:15:09 +0000 (23:15 +0000)
committerPyun YongHyeon <yongari@FreeBSD.org>
Thu, 13 Jan 2011 23:15:09 +0000 (23:15 +0000)
commit4a814a5edb4933daaedc21cb5d52c3a13f3e51c0
tree1d2a657d4975c12503c2c5b91484d9a057f527b8
parent9e18005d99c785ebd9bb511e39a10971fbbade69
If driver is not able to allocate RX buffer, do not start driver.
While I'm here move RX buffer allocation and descriptor
initialization up to not touch hardware registers in case of RX
buffer allocation failure.
sys/dev/re/if_re.c