From owner-cvs-src@FreeBSD.ORG Sun Jun 26 04:19:46 2005 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 F3B0C16A41F; Sun, 26 Jun 2005 04:19:45 +0000 (GMT) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E18D543D55; Sun, 26 Jun 2005 04:19:45 +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 j5Q4JjOO019997; Sun, 26 Jun 2005 04:19:45 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5Q4JjSm019996; Sun, 26 Jun 2005 04:19:45 GMT (envelope-from imp) Message-Id: <200506260419.j5Q4JjSm019996@repoman.freebsd.org> From: Warner Losh Date: Sun, 26 Jun 2005 04:19:45 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/dev/ep if_ep.c if_ep_isa.c if_ep_pccard.c if_epvar.h X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 26 Jun 2005 04:19:46 -0000 imp 2005-06-26 04:19:45 UTC FreeBSD src repository Modified files: sys/dev/ep if_ep.c if_ep_isa.c if_ep_pccard.c if_epvar.h Log: o When calling ep_get_macaddr(), provide it a local buffer. Add a comment that says why we do this (or rather, explains that it is some voodoo magic that's poorly understood). The local buffer fixes the crash on attach. o Rename get_e() to ep_get_e() to avoid namespace pollution. Submitted by: mux Approved by: re (scottl) Revision Changes Path 1.138 +4 -4 src/sys/dev/ep/if_ep.c 1.27 +2 -2 src/sys/dev/ep/if_ep_isa.c 1.45 +15 -12 src/sys/dev/ep/if_ep_pccard.c 1.17 +1 -1 src/sys/dev/ep/if_epvar.h