From owner-freebsd-hackers Sat Jul 19 03:52:32 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id DAA19659 for hackers-outgoing; Sat, 19 Jul 1997 03:52:32 -0700 (PDT) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA19653 for ; Sat, 19 Jul 1997 03:52:27 -0700 (PDT) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.5/8.7.3) id UAA13690; Sat, 19 Jul 1997 20:22:21 +0930 (CST) From: Michael Smith Message-Id: <199707191052.UAA13690@genesis.atrad.adelaide.edu.au> Subject: Re: What interrupts to mask in my device driver?? In-Reply-To: <199707190101.SAA23276@agni.nuko.com> from Vinay Bannai at "Jul 18, 97 06:01:29 pm" To: vinay@agni.nuko.com (Vinay Bannai) Date: Sat, 19 Jul 1997 20:22:21 +0930 (CST) Cc: freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (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 Vinay Bannai stands accused of saying: > - Before calling pci_map_mem() and pci_map_int(), I noticed that David > Greenman has disabled network device interrupts. What interrupts should > I disable on the device that I have? Here are the details of my device Anything that's likely to pop up and disturb you or your hardware. Typically you would ensure that your own interrupt handler couldn't be called, or any other interrupt handler that might upset what you're doing. > from the probe routine. Currently I am not disabling any interrupts and > it seems to attach okay.. It may be that this is all you need. > - Next question: Are there any freely available gcc cross compilers for > i960 Kx architecture? You should be able to use the stock gcc distribution for this. If you need a C runtime library, the Cygnus 'newlib' is pretty good. > Vinay -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[