Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jul 1997 20:22:21 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        vinay@agni.nuko.com (Vinay Bannai)
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: What interrupts to mask in my device driver??
Message-ID:  <199707191052.UAA13690@genesis.atrad.adelaide.edu.au>
In-Reply-To: <199707190101.SAA23276@agni.nuko.com> from Vinay Bannai at "Jul 18, 97 06:01:29 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707191052.UAA13690>