From owner-cvs-all@FreeBSD.ORG Sun Sep 18 20:51:35 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A57B116A41F; Sun, 18 Sep 2005 20:51:35 +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 69E1843D48; Sun, 18 Sep 2005 20:51:34 +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 j8IKpYbp073494; Sun, 18 Sep 2005 20:51:34 GMT (envelope-from imp@repoman.freebsd.org) Received: (from imp@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8IKpYGU073493; Sun, 18 Sep 2005 20:51:34 GMT (envelope-from imp) Message-Id: <200509182051.j8IKpYGU073493@repoman.freebsd.org> From: Warner Losh Date: Sun, 18 Sep 2005 20:51:34 +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/ed if_ed.c if_ed_pccard.c if_edvar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 20:51:35 -0000 imp 2005-09-18 20:51:34 UTC FreeBSD src repository Modified files: sys/dev/ed if_ed.c if_ed_pccard.c if_edvar.h Log: MFp4: o eliminate the ED_NO_MIIBUS option. Now, you need miibus to use ed with pccard. If you have an old ISA or PCI card w/o a miibus, then you'll still be able to use the ed driver w/o miibus in the kernel. If you have pccard you'll need mii now. Most pccards these days have miibus, and many cards have ISSUES if you don't attach miibus. issues I don't want to constantly rediagnose. - Add new media_ioctl, mediachg and tick function pointers. The core driver will call these if they aren't NULL, or return an error if they are. - migrate remaining mii code into if_ed_pccard. o include some notes from my datasheet fishing. this may allow us to get media status from some pccards. o Fix one bug that's common to many drivers. call if_free(ifp) after we tear down the interrupt. ed_intr() depends on ifp being there and freeing it while interrupts can still happen is, ummm, bad. Revision Changes Path 1.262 +11 -92 src/sys/dev/ed/if_ed.c 1.100 +134 -28 src/sys/dev/ed/if_ed_pccard.c 1.37 +4 -5 src/sys/dev/ed/if_edvar.h