From owner-cvs-all Mon Oct 1 15:58: 2 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 1635537B408; Mon, 1 Oct 2001 15:57:58 -0700 (PDT) Received: (from mjacob@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f91MvwB47753; Mon, 1 Oct 2001 15:57:58 -0700 (PDT) (envelope-from mjacob) Message-Id: <200110012257.f91MvwB47753@freefall.freebsd.org> From: Matt Jacob Date: Mon, 1 Oct 2001 15:57:58 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/mii mii.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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