From owner-freebsd-hackers@FreeBSD.ORG Thu Jun 5 14:02:39 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4398637B401 for ; Thu, 5 Jun 2003 14:02:39 -0700 (PDT) Received: from dmlb.org (pc2-cmbg4-6-cust36.cmbg.cable.ntl.com [81.96.76.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 515F543FBD for ; Thu, 5 Jun 2003 14:02:38 -0700 (PDT) (envelope-from dmlb@dmlb.org) Received: from slave.my.domain ([192.168.200.39]) by dmlb.org with esmtp (Exim 3.36 #1) id 19O1sa-0006Vc-00 for freebsd-hackers@freebsd.org; Thu, 05 Jun 2003 22:02:36 +0100 Received: from dmlb by slave.my.domain with local (Exim 3.36 #1) id 19O1sa-0002Gg-00 for freebsd-hackers@freebsd.org; Thu, 05 Jun 2003 22:02:36 +0100 Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Thu, 05 Jun 2003 22:02:36 +0100 (BST) From: Duncan Barclay To: freebsd-hackers@freebsd.org Sender: Duncan Barclay Subject: interrupt handlers in -current X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jun 2003 21:02:39 -0000 Hello, This is more of a confirmation of my understanding than anything else. In -current, should an interrupt thread be created you set up an interrupt handler? If so, then I'd better check my code because I haven't got one! If a PCI device generates an interrupt and there is no handler does the kernel report a stary interrupt? -current for me is 5.1-BETA1 and I'm doing a driver for the BCM 4401 NIC. I'm transmitting packets but my handler isn't being called to clean up the DMA. Duncan -- ________________________________________________________________________ Duncan Barclay | dmlb@dmlb.org | dmlb@freebsd.org|