Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936692AbWLCLwV (ORCPT ); Sun, 3 Dec 2006 06:52:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S936694AbWLCLwV (ORCPT ); Sun, 3 Dec 2006 06:52:21 -0500 Received: from ebiederm.dsl.xmission.com ([166.70.28.69]:6125 "EHLO ebiederm.dsl.xmission.com") by vger.kernel.org with ESMTP id S936692AbWLCLwU (ORCPT ); Sun, 3 Dec 2006 06:52:20 -0500 From: ebiederm@xmission.com (Eric W. Biederman) To: yhlu Cc: "Stefan Reinauer" , "Peter Stuge" , linux-kernel@vger.kernel.org, linuxbios@linuxbios.org Subject: Re: [LinuxBIOS] #57: libusb host program for PLX NET20DC debug device References: <5986589C150B2F49A46483AC44C7BCA490727C@ssvlexmb2.amd.com> <2ea3fae10612021247v33cfaa4evbc8ad1d5eaf196ba@mail.gmail.com> Date: Sun, 03 Dec 2006 04:51:15 -0700 In-Reply-To: <2ea3fae10612021247v33cfaa4evbc8ad1d5eaf196ba@mail.gmail.com> (yinghailu@gmail.com's message of "Sat, 2 Dec 2006 12:47:18 -0800") Message-ID: User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1182 Lines: 31 yhlu writes: > On 12/2/06, Eric W. Biederman wrote: >> Please yank the direct out of the filename if you are making something >> like this out of it. That was my note I was going direct to hardware >> which is pretty much assumed if you are in LinuxBIOS. > > Yes, I adapted the code to used in LinuxBIOS, including CAR stage code > and RAM satge code. > > I didn't have debug cable plugged yet. Even if you did it wouldn't work right now. My initial version does initialize the ehci properly so it won't find any usb devices. I almost have that fixed, but it looks like for the usb device reset I need a usable delay function, so I can delay 50ms. Grr... > BTW in kernel earlyprintk or prink, you could use > read_pci_config/write_pci_config before PCI system is loaded. Yep thanks that seems to be working. Now I just need to find an early delay and I can try this mess out! Eric - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/