Date: Mon, 1 Oct 2001 15:57:58 -0700 (PDT) From: Matt Jacob <mjacob@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/mii mii.c Message-ID: <200110012257.f91MvwB47753@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
mjacob 2001/10/01 15:57:58 PDT
Modified files:
sys/dev/mii mii.c
Log:
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
Revision Changes Path
1.10 +10 -1 src/sys/dev/mii/mii.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110012257.f91MvwB47753>
