From owner-freebsd-current Mon Nov 20 19:27: 7 2000 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.village.org [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id AC91037B479; Mon, 20 Nov 2000 19:27:04 -0800 (PST) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.0/8.11.0) with ESMTP id eAL3R3Q28487; Mon, 20 Nov 2000 20:27:03 -0700 (MST) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost.village.org [127.0.0.1]) by harmony.village.org (8.9.3/8.8.3) with ESMTP id UAA30567; Mon, 20 Nov 2000 20:27:02 -0700 (MST) Message-Id: <200011210327.UAA30567@harmony.village.org> To: wpaul@FreeBSD.ORG (Bill Paul) Subject: Re: Getting at cardbus CIS data from inside drivers Cc: freebsd-current@FreeBSD.ORG In-reply-to: Your message of "Mon, 20 Nov 2000 17:30:10 PST." <20001121013010.679C837B4D7@hub.freebsd.org> References: <20001121013010.679C837B4D7@hub.freebsd.org> Date: Mon, 20 Nov 2000 20:27:02 -0700 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In message <20001121013010.679C837B4D7@hub.freebsd.org> Bill Paul writes: : Is there any support planned for externalizing the CIS info somehow, : i.e. by providing bus methods to call the CIS parsing routines? Another : way to do it would be to pass the info down to the child device using : ivars. I would imaging that there's similar support for this in Windows, : otherwise Intel's driver wouldn't work. Yes. There's two things we're planning on exporting. First is to export parsed data as various Ivars, like we do for the the 16-bit cards. This will likely be the interface that you want to use, since we know about network nic addresses. The whole CIS parsing for cardbus is a little bogus at the moment, so we're looking at making it much less bogus. The other interface will be an enumerative interface where you can get a callback for each CIS entry. These will be bus method based so that they will be the same between 16-bit and 32 bit code. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message