From owner-cvs-all Mon Oct 7 16: 0:53 2002 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 8C51637B401; Mon, 7 Oct 2002 16:00:52 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 548D743E81; Mon, 7 Oct 2002 16:00:52 -0700 (PDT) (envelope-from imp@FreeBSD.org) Received: from freefall.freebsd.org (imp@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g97N0qCo099947; Mon, 7 Oct 2002 16:00:52 -0700 (PDT) (envelope-from imp@freefall.freebsd.org) Received: (from imp@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g97N0qBL099946; Mon, 7 Oct 2002 16:00:52 -0700 (PDT) Message-Id: <200210072300.g97N0qBL099946@freefall.freebsd.org> From: Warner Losh Date: Mon, 7 Oct 2002 16:00:52 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/cardbus cardbus.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 imp 2002/10/07 16:00:52 PDT Modified files: sys/dev/cardbus cardbus.c Log: o Add routines to return the location and pnpinfo for this card. Note, we return the PCI pnp info, but in fact that's wrong to do since that data is not defined for CardBus cards. CardBus says that these registers are undefined and one should use the CIS to do device matching. To date, all CardBus cards have had these registered defined, no doubt because they are using common silicon to produce both the PCI cards and the CardBus cards. However, it isn't any worse than the rest of the system, so just note it in passing and move on. o Also sort prototypes while I'm here. Revision Changes Path 1.24 +83 -46 src/sys/dev/cardbus/cardbus.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message