From owner-freebsd-mobile@FreeBSD.ORG Thu Mar 11 08:59:18 2004 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 7CA6F16A4CE for ; Thu, 11 Mar 2004 08:59:18 -0800 (PST) Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4486B43D31 for ; Thu, 11 Mar 2004 08:59:18 -0800 (PST) (envelope-from cswanson@mindspring.com) Received: from [192.168.167.46] (helo=wamui08.slb.atl.earthlink.net) by smtp6.mindspring.com with esmtp (Exim 3.33 #1) id 1B1TWg-0004BB-00 for freebsd-mobile@freebsd.org; Thu, 11 Mar 2004 11:59:18 -0500 Message-ID: <27132538.1079024357524.JavaMail.root@wamui08.slb.atl.earthlink.net> Date: Thu, 11 Mar 2004 11:59:17 -0500 (GMT-05:00) From: Craig Swanson To: freebsd-mobile@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Earthlink Zoo Mail 1.0 Subject: Trying to get CardBus to setup my BAR0 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Craig Swanson List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2004 16:59:18 -0000 Hello, I am trying to get my CardBus card to have BAR0 setup properly. When I push in the card my laptop "sees" the card. When I look at the configuration space, I don't see BAR0 setup correctly. I have set the CIS CardBus pointer to x40 which should tell the Cardbus controller in my Toshiba laptop to read the tuples in my config space starting at address x40. Is my CIS pointer correctly set to x40? I know that the bits CIS[2:0] need to be 0 to tell the cardbus controller to look in config space. Then CIS[27:3] should be x40 for the address. Then that must mean that the CIS[31:0] should be x200. Either setting doesn't setup my BAR0. I am pretty sure my tuples are correct, unless there is a very simple tuple that someone has used that for sure sets up BAR0 with any sort of address. I am not confident that the CardBus controller in my laptop is reading the CIS, then going to address x40 in config space. How can I tell for sure? Craig Swanson Alpha Cad Inc. cswanson@alphacad.com (770)365-3975 cell (770)889-4012 office (770)828-0553 fax Cumming, GA.