From owner-freebsd-mobile@FreeBSD.ORG Wed Mar 28 03:27:22 2007 Return-Path: X-Original-To: freebsd-mobile@freebsd.org Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3194416A401 for ; Wed, 28 Mar 2007 03:27:22 +0000 (UTC) (envelope-from jeff.rollin@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.229]) by mx1.freebsd.org (Postfix) with ESMTP id E529513C458 for ; Wed, 28 Mar 2007 03:27:21 +0000 (UTC) (envelope-from jeff.rollin@gmail.com) Received: by wr-out-0506.google.com with SMTP id 70so1437970wra for ; Tue, 27 Mar 2007 20:27:21 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=tyh4A4CI4M/g/SCkc2AndmVftbBWZsr/UEHCc5dNqxM24FBVjxvVnlQT6S5pcKipioHsSbwlY+73SrR6Gw+aF9tiThmNmE5Ghu4ZyL3ayZsh5W6hArIespiMcTcmlABW/PKTiuP7snaS+FYo/EXhl70SVMBbCZYbUFDxbCVTfDQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IybEs8etNZxr8AZXvTxYCn5b/iz3Vm/LT+E7zEY/AgeEPyExI8mzFsFPOwrBVeIAveYd3BYujqig4bBfpdoigO9/tVkQa4NBVuIDe07uyQ4ho1LT6F95hJm0rCM9h1VP3ROpSgTropbqCYakzB4bHnX5pcAJ78LHJlvzIWAKzHc= Received: by 10.114.113.1 with SMTP id l1mr3444090wac.1175050842336; Tue, 27 Mar 2007 20:00:42 -0700 (PDT) Received: by 10.114.60.14 with HTTP; Tue, 27 Mar 2007 20:00:42 -0700 (PDT) Message-ID: <8a0028260703272000h7f3702e5m40a6ce765921610e@mail.gmail.com> Date: Wed, 28 Mar 2007 04:00:42 +0100 From: "Jeff Rollin" To: freebsd-mobile@freebsd.org In-Reply-To: <8a0028260703272000w2c0a587g4271ec6802405c1d@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070325064132.GA6682@neptune.cs.kent.edu> <4609A300.8070004@cs.kent.edu> <8a0028260703272000w2c0a587g4271ec6802405c1d@mail.gmail.com> Subject: Fwd: Toshiba Cardbus X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Mar 2007 03:27:22 -0000 ---------- Forwarded message ---------- From: Jeff Rollin Date: 28-Mar-2007 04:00 Subject: Re: Toshiba Cardbus To: "Craig St. Jean" On 28/03/07, Craig St. Jean wrote: > Success!! My road to getting things working was not easy though. I > actually tried installing Gentoo to see if that worked, however it > did not. After booting Gentoo with pci=assign-busses (or something like > that), it was able to show me the correct subordinate value via lspci > (was previously 7, should have been 9). > > Excited after seeing that, I quickly reinstalled FreeBSD to try to fix > the problem. Going through dmesg one can see that my cardbus is on pci > bus 5 (pcib5). I then did a "pciconf -l | grep pcib5" and saw that the > bus is actually pci0:30:0. Googling has shown me that to change the > subordinate value, you use hex value 0x1a. > > Then the magic: pciconf -wb pci0:30:0 0x1a 9 > FreeBSD proceeded to load up the Atheros drivers and life is once again > happy! > Whoa. I think I would rather use DDT as the command processor than figure that little lot out ;-) Jeff -- Q: What will happen in the Aftermath? A: Impossible to tell, since we're still in the Beforemath. http://latedeveloper.org.uk -- Q: What will happen in the Aftermath? A: Impossible to tell, since we're still in the Beforemath. http://latedeveloper.org.uk