From owner-cvs-src@FreeBSD.ORG Sat Feb 12 16:44:15 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E29E516A4CE; Sat, 12 Feb 2005 16:44:15 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CC0E943D39; Sat, 12 Feb 2005 16:44:15 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j1CGiFUk001692; Sat, 12 Feb 2005 16:44:15 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j1CGiFBF001691; Sat, 12 Feb 2005 16:44:15 GMT (envelope-from imp) Message-Id: <200502121644.j1CGiFBF001691@repoman.freebsd.org> From: Warner Losh Date: Sat, 12 Feb 2005 16:44:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/dev/ed if_ed_pccard.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 16:44:16 -0000 imp 2005-02-12 16:44:15 UTC FreeBSD src repository Modified files: sys/dev/ed if_ed_pccard.c Log: Improve the mining of MAC address from the card: o Add a fallback location for the MAC address. Most of the early ne2000 PC Cards were built from the same parts, so most of them have the same address in the CIS to grab the MAC from. Use this address as our fallback if we don't find anything better. o Add printf, in bootverbose, noting the MAC addresses that we find along the way. # Better sanity checking of the MAC address is needed. Will have to # investigate using/creating a centralized function to do this as a number # of other PC Card drivers each have their own ad-hoc tests. Revision Changes Path 1.76 +36 -7 src/sys/dev/ed/if_ed_pccard.c