Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jan 2001 15:36:05 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        "Matthew C. Forman" <mcf@forman.homeip.net>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Allocating an IRQ on PCI 
Message-ID:  <200101042236.f04Ma5147356@harmony.village.org>
In-Reply-To: Your message of "Thu, 04 Jan 2001 15:59:57 GMT." <Pine.BSF.4.21.0101041542560.13751-100000@theo.forman.homeip.net> 
References:  <Pine.BSF.4.21.0101041542560.13751-100000@theo.forman.homeip.net>  

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.21.0101041542560.13751-100000@theo.forman.homeip.net> "Matthew C. Forman" writes:
: Thing is, here the BIOS hasn't allocated an IRQ, so I'll need to
: bus_set_resource in my probe to get one. To complicate matters, the
: device's interrupt generator is pretty flexible, and can generate an
: interrupt on (almost) any IRQ line. I have to tell it which IRQ to use
: when I know which one has been allocated.

No.  You don't want to use bus_set_resource() since it won't do what
you want.

What version of FreeBSD are you failing with?  Newer versions of
current just do the right thing.  Otherwise you will have to turn plug 
and play OFF.

Warner


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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