From owner-freebsd-mobile@FreeBSD.ORG Mon May 26 09:54:25 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 02A7637B407 for ; Mon, 26 May 2003 09:54:25 -0700 (PDT) Received: from dangermouse.pod4.org (dangermouse.pod4.org [213.253.1.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 48A4343F75 for ; Mon, 26 May 2003 09:54:24 -0700 (PDT) (envelope-from stu@ipng.org.uk) Received: from cry0gen by dangermouse.pod4.org with local (Exim 4.10) id 19KLEq-000FQL-00; Mon, 26 May 2003 17:54:20 +0100 Date: Mon, 26 May 2003 17:54:20 +0100 From: Stuart Walsh To: "M. Warner Losh" Message-ID: <20030526165420.GA59228@dangermouse.pod4.org> References: <20030525113321.GC6978@dangermouse.pod4.org> <20030525.095450.35468433.imp@bsdimp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030525.095450.35468433.imp@bsdimp.com> User-Agent: Mutt/1.4i cc: freebsd-mobile@freebsd.org Subject: Re: pccard CIS reading problems X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 May 2003 16:54:25 -0000 On Sun, May 25, 2003 at 09:54:50AM -0600, M. Warner Losh wrote: > In message: <20030525113321.GC6978@dangermouse.pod4.org> > Stuart Walsh writes: > : Can anyone shed any light on this or point me in a direction to go from > : here? > > This is a bug I've seen with certain card/bridge combinations. I've > never been able to find why we can't read things correctly. Can you > find out the address FreeBSD is using to read the CIS and the address > that NetBSD is using and report the differences? > > Warner Hi, NetBSD maps to 0xcb166000, and if I poke about at around that address I can read interesting things like the string "ATMEL" so that seems to be where the CIS is. FreeBSD reports that it is mapping to 0xc91cc000. If I poke around at this address all I get is zeros and the odd random integer. Regards, Stuart -- Stuart Walsh - stu@ipng.org.uk IPng UK - info@ipng.org.uk - http://ipng.org.uk