]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Note the 'common knowledge' assumption that each NIC's softc starts
authorMatt Jacob <mjacob@FreeBSD.org>
Mon, 1 Oct 2001 22:57:57 +0000 (22:57 +0000)
committerMatt Jacob <mjacob@FreeBSD.org>
Mon, 1 Oct 2001 22:57:57 +0000 (22:57 +0000)
commit79a79ad9b825e5dd5151ed130147677fda6fc644
tree39a9197df9746603c2e69abdf4633370aa656416
parentdb27ecf5703cb7e8734fb5737abec4be6a012f8f
Note the 'common knowledge' assumption that each NIC's softc starts
with an ifnet structure (so device_get_softc will get one).

If memory allocation fails in mii_phy_probe, don't just march ahead into
a panic- return ENOMEM.

MFC after: 1 week
sys/dev/mii/mii.c