From owner-freebsd-hackers Fri Sep 13 02:19:55 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id CAA07658 for hackers-outgoing; Fri, 13 Sep 1996 02:19:55 -0700 (PDT) Received: from relay.philips.nl (ns.philips.nl [130.144.65.1]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id CAA07651 for ; Fri, 13 Sep 1996 02:19:51 -0700 (PDT) Received: (from smap@localhost) by relay.philips.nl (8.6.9/8.6.9-950414) id LAA13103 for ; Fri, 13 Sep 1996 11:19:03 +0200 Received: from unknown(192.26.173.32) by ns.philips.nl via smap (V1.3+ESMTP) with ESMTP id sma010328; Fri Sep 13 11:01:05 1996 Received: from spooky.lss.cp.philips.com (spooky.lss.cp.philips.com [130.144.199.105]) by smtp.nl.cis.philips.com (8.6.10/8.6.10-0.9z-02May95) with ESMTP id LAA08337; Fri, 13 Sep 1996 11:03:45 +0200 Received: (from guido@localhost) by spooky.lss.cp.philips.com (8.6.10/8.6.10-0.991c-08Nov95) id LAA03640; Fri, 13 Sep 1996 11:00:48 +0200 From: Guido van Rooij Message-Id: <199609130900.LAA03640@spooky.lss.cp.philips.com> Subject: Re: vx device broken in 21.1.5? To: Guido.vanRooij@nl.cis.philips.com Date: Fri, 13 Sep 1996 11:00:47 +0200 (MET DST) Cc: freebsd-hackers@freebsd.org Reply-To: Guido.vanRooij@nl.cis.philips.com In-Reply-To: from guido at "Sep 6, 96 11:08:36 am" X-Mailer: ELM [version 2.4ME+ PL19 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I just ported the current Open/NetBSD if_vx driver to FreeBSD 2.1.5 and I am seeeing the exact same problems. I've ben assured that these drivers do work. What happens in FreeBSD is when vxstart() is called and there is not enough space free in the fifos, a treshold is set so the board will give an interrupt when the amount of free space in the fifos pass the treshold. Unfortunately, there is *never* one single interrupts given for this event. It just doesn't happen. Therefor OACTIVE stays set. Accoring to me, everything is done by the book (read: the OpenBSD driver): RD_0_MASK and INTR_MASK both contain TX_AVAIL at the interrupt time so TX_AVAIL should be set. I also printed the actuial free space in the interrupts handler. It started lower then the treshold and ended higher but there was *no* interrupt given where the status had the TX_AVAIL flag set. Any hints? -Guido