From owner-freebsd-mips@FreeBSD.ORG Mon Mar 1 14:32:58 2010 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35CA81065670 for ; Mon, 1 Mar 2010 14:32:58 +0000 (UTC) (envelope-from c.jayachandran@gmail.com) Received: from mail-pz0-f197.google.com (mail-pz0-f197.google.com [209.85.222.197]) by mx1.freebsd.org (Postfix) with ESMTP id 0E0548FC16 for ; Mon, 1 Mar 2010 14:32:57 +0000 (UTC) Received: by pzk36 with SMTP id 36so3682pzk.8 for ; Mon, 01 Mar 2010 06:32:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=eV2p9ORSoR+LQRnTMHy1o9EMr4omE1s5oR0EEqbuOiY=; b=gvNEdjqTIcm6mIPSrcqXX/P5EAR4zEpaOFHZ95rJG2Lt7gEllKuXygWWPAnYHRtGOa T/UfzozkCEof9lKmfC+NaUwPOhyAYinuyFLE06T5muJzikmklMoxdwx/c78oJHe84Y/P czSkKMZMHzzF76wwwdLsGPrsF5f++5Zp1z32o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=eKmNGSNmMQ6fgkmov4To4VQDFL1sbdiCixZK4AXmXLbLCbwHLIwrgLpN8OIa5OAlHc 9XAJUKlpCLOVIqr/0zdDSFiToeFGkDsB3BLlxAySnYB1ubzkQpza/sju182JPWCln6p3 QXeSJpEiIifMUayDM2hvTNc4jZgHLR4A57sFY= MIME-Version: 1.0 Received: by 10.141.213.4 with SMTP id p4mr2489348rvq.159.1267453971888; Mon, 01 Mar 2010 06:32:51 -0800 (PST) In-Reply-To: <98a59be81002230021j6a0cc408j99fe6a5d57a21aff@mail.gmail.com> References: <98a59be81002230021j6a0cc408j99fe6a5d57a21aff@mail.gmail.com> Date: Mon, 1 Mar 2010 20:02:51 +0530 Message-ID: <98a59be81003010632n526acfd0i57c58bca8645d62@mail.gmail.com> From: "C. Jayachandran" To: Randall Stewart Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-mips@freebsd.org Subject: Re: USB support for RMI processors X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Mar 2010 14:32:58 -0000 Hi Randy, I'd send these patches last week, did you get a chance to look over them? Let me know if you have any comments. Also, let me know if this is your preferred way for changes, otherwise I can send them as attachments too. The mailing list will strip the attachments, but your copy would be safe. Thanks, JC. On Tue, Feb 23, 2010 at 1:51 PM, C. Jayachandran wrote: > I've two patches to add USB EHCI support for XLS processors. This is tested > with umass driver on a USB attached disk and flash drive. Please review - > I've left the original NetBSD license on xls_ehci.c (which came from > ehci_pci.c), I hope this is not an issue. > > http://sites.google.com/site/cjayachandran/files/iodi-bus.patch > - Move rmi_pci_bus_space to header and avoid extern > - remove unused and commented code (MIPS_BUS_SPACE_PCI, pic_usb_ack) > - use rmi_pci_bus_space for USB too (needs byteswap) > > http://sites.google.com/site/cjayachandran/files/xls-ehci.patch > - uncomment xls_ehci.c in files.xlr > - changes to xls_ehci.c - updated with dev/usb/controller/ehci_*.c as > reference > > The files sys/mips/rmi/ehcireg.h and sys/mips/rmi/ehcivar.h can be deleted > since they are not used now. Also sys/mips/rmi/pcibus.c is unused. > > Thanks, > JC. > -- C. Jayachandran c.jayachandran@gmail.com