From owner-freebsd-sparc64@FreeBSD.ORG Thu Jun 12 01:09:50 2003 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D9E137B404; Thu, 12 Jun 2003 01:09:50 -0700 (PDT) Received: from mail.cyberonic.com (mail.cyberonic.com [4.17.179.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F4ED43FA3; Thu, 12 Jun 2003 01:09:49 -0700 (PDT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (node-40244c0a.sfo.onnet.us.uu.net [64.36.76.10]) by mail.cyberonic.com (8.12.8/8.12.5) with ESMTP id h5C82RZM008711; Thu, 12 Jun 2003 04:02:28 -0400 Received: (from jmg@localhost) by hydrogen.funkthat.com (8.12.9/8.11.6) id h5C8AORZ004199; Thu, 12 Jun 2003 01:10:24 -0700 (PDT) (envelope-from jmg) Date: Thu, 12 Jun 2003 01:10:24 -0700 From: John-Mark Gurney To: Craig Boston Message-ID: <20030612081024.GD748@funkthat.com> Mail-Followup-To: Craig Boston , current@freebsd.org, sparc64@freebsd.org References: <1055260269.91337.127.camel@owen1492.uf.corelab.com> <20030611224538.GB10822@genius.tao.org.uk> <20030612002139.GT26807@cicely12.cicely.de> <200306112244.10466.craig@xfoil.gank.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200306112244.10466.craig@xfoil.gank.org> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 4.2-RELEASE i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html cc: current@freebsd.org cc: sparc64@freebsd.org Subject: Re: *IT WORKS* Re: CardBus USB 2.0 Controller (NEC uPD) X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: John-Mark Gurney List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Jun 2003 08:09:51 -0000 Craig Boston wrote this message on Wed, Jun 11, 2003 at 22:44 -0500: > Believe it or not, after futzing with the debugger for hours, reading the OHCI > spec, and trying to figure out why writing to the control registers works > exactly as it should but the card seems to ignore the ED list, I decided to > try something completely crazy and put the line > > pci_enable_busmaster(self); > > near the top of ohci_attach() in ohci_pci.c > > ...and it worked! I believe my first words upon seeing "ums0: " > were "You have GOT to be kidding me." Hey, thanks for the great work. This got me past the same problem on the sparc box I have, but now I'm getting tons of: usb0: 198 scheduling overruns I fiddled with the PCI Latency, but it doesn't seem to do much good. (Though the latency was set wrong.) -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."