From owner-cvs-src-old@FreeBSD.ORG Wed Jun 10 19:21:32 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C2791065737 for ; Wed, 10 Jun 2009 19:21:29 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B0A6D8FC18 for ; Wed, 10 Jun 2009 19:21:29 +0000 (UTC) (envelope-from imp@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n5AJLTGe062735 for ; Wed, 10 Jun 2009 19:21:29 GMT (envelope-from imp@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n5AJLTHT062734 for cvs-src-old@freebsd.org; Wed, 10 Jun 2009 19:21:29 GMT (envelope-from imp@repoman.freebsd.org) Message-Id: <200906101921.n5AJLTHT062734@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to imp@repoman.freebsd.org using -f From: Warner Losh Date: Wed, 10 Jun 2009 19:21:23 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/sys/dev/cardbus cardbus.c cardbus_cis.c cardbus_device.c cardbusvar.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jun 2009 19:21:32 -0000 imp 2009-06-10 19:21:23 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) sys/dev/cardbus cardbus.c cardbus_cis.c cardbus_device.c cardbusvar.h Log: SVN rev 193945 on 2009-06-10 19:21:23Z by imp MFC: r188216 | wkoszek | 2009-02-05 17:55:19 -0700 (Thu, 05 Feb 2009) | 5 lines r185545 | imp | 2008-12-01 21:54:31 -0700 (Mon, 01 Dec 2008) | 2 lines r185140 | imp | 2008-11-20 20:03:57 -0700 (Thu, 20 Nov 2008) | 4 lines r185015 | imp | 2008-11-16 18:32:29 -0700 (Sun, 16 Nov 2008) | 8 lines r184981 | imp | 2008-11-14 22:22:06 -0700 (Fri, 14 Nov 2008) | 5 lines These commits move all the parsing of the CIS to where the card is detected, rather than when the open call for the device happens. This means that we can now reliably get this info from cards. Atheros network cards in conjunction with the HAL were a primary motivator for this fix, although other applications benefit. Revision Changes Path 1.66.2.2 +7 -5 src/sys/dev/cardbus/cardbus.c 1.62.2.1 +17 -18 src/sys/dev/cardbus/cardbus_cis.c 1.1.4.1 +48 -62 src/sys/dev/cardbus/cardbus_device.c 1.14.2.1 +27 -15 src/sys/dev/cardbus/cardbusvar.h