Date: Thu, 5 Dec 2002 18:01:18 +0100 From: Thomas Moestl <tmoestl@gmx.net> To: Oliver Blasnik <oliver.blasnik@de.tiscali.com> Cc: Jake Burkholder <jake@locore.ca>, freebsd-sparc@FreeBSD.ORG Subject: Re: pci quad hme ethernet card Message-ID: <20021205170117.GC305@crow.dom2ip.de> In-Reply-To: <004201c29c7b$bf00b400$1d0a310a@de.tiscali.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <tmoestl@gmx.net> http://www.tu-bs.de/~y0015675/ <tmm@FreeBSD.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021205170117.GC305>