From owner-freebsd-sparc Thu Dec 5 9: 1: 4 2002 Delivered-To: freebsd-sparc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77FC737B401 for ; Thu, 5 Dec 2002 09:01:03 -0800 (PST) Received: from mail.gmx.net (mail.gmx.net [213.165.65.60]) by mx1.FreeBSD.org (Postfix) with SMTP id EDD3743EB2 for ; Thu, 5 Dec 2002 09:01:01 -0800 (PST) (envelope-from tmoestl@gmx.net) Received: (qmail 25532 invoked by uid 0); 5 Dec 2002 17:01:00 -0000 Received: from p508e4d69.dip.t-dialin.net (HELO forge.local) (80.142.77.105) by mail.gmx.net (mp009-rz3) with SMTP; 5 Dec 2002 17:01:00 -0000 Received: from tmm by forge.local with local (Exim 4.10 #1) id 18JzNG-0000XL-00; Thu, 05 Dec 2002 18:01:18 +0100 Date: Thu, 5 Dec 2002 18:01:18 +0100 From: Thomas Moestl To: Oliver Blasnik Cc: Jake Burkholder , freebsd-sparc@FreeBSD.ORG Subject: Re: pci quad hme ethernet card Message-ID: <20021205170117.GC305@crow.dom2ip.de> Mail-Followup-To: Oliver Blasnik , Jake Burkholder , freebsd-sparc@FreeBSD.ORG References: <20021203124613.L35729@locore.ca> <010d01c29b74$65d3b4c0$2100a8c0@xpath1000> <20021204140045.S35729@locore.ca> <005b01c29c42$93cc75a0$2100a8c0@xpath1000> <20021205121437.GA305@crow.dom2ip.de> <009f01c29c5f$a09942a0$1d0a310a@de.tiscali.com> <20021205151924.GA305@crow.dom2ip.de> <000c01c29c76$4b5faab0$1d0a310a@de.tiscali.com> <20021205155434.GB305@crow.dom2ip.de> <004201c29c7b$bf00b400$1d0a310a@de.tiscali.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <004201c29c7b$bf00b400$1d0a310a@de.tiscali.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-sparc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, 2002/12/05 at 17:31:21 +0100, Oliver Blasnik wrote: > Hi, > > > > > Hummm, that looks quite normal, the ATA controller should get > > > > interrupt 2 and the hmes 3, 4, 1 and 2. > > > That was like _before_ I updated to the latest sources. Funny... > > > Not. > > > Which interrupts do they get assigned now? > > hme0: [...] mem 0x2800000-0x2807fff irq 0 at device 0.1 on pci4 > hme1: [...] mem 0x4800000-0x4807fff irq 1 at device 1.1 on pci4 > hme2: [...] mem 0x6800000-0x6807fff irq 2 at device 2.1 on pci4 > hme3: [...] mem 0x8800000-0x8807fff irq 3 at device 3.1 on pci4 > > Hum... That doesn look like your "3, 4, 1 and 2". Are you sure > about? No, I miscalculated the numbers. Another strategy may help better here: please build a kernel with "options PSYCHO_DEBUG"; you should then see a stray interrupt message when you try the hmes (please try all of them, as it will not work when the interrupt is shared with another device). If you don't see any of these messages, please try putting a printf() in dev/hme/if_hme.c:hme_intr() (conditional on (device_get_unit(sc->sc_dev) != 4) if you use the built-in one) to see if it fires at all - another class of problems will cause it to fire only once. - Thomas -- Thomas Moestl http://www.tu-bs.de/~y0015675/ http://people.FreeBSD.org/~tmm/ PGP fingerprint: 1C97 A604 2BD0 E492 51D0 9C0F 1FE6 4F1D 419C 776C To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-sparc" in the body of the message