Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Jun 1999 03:14:00 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        current@FreeBSD.ORG, jlemon@americantv.com
Subject:   Re: New-bus driver question
Message-ID:  <199906181714.DAA02467@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>  I'm also trying to write a driver under new-bus.  At what point is
>it safe to use interrupts to interrogate the card?  Anytime after I
>call bus_setup_intr(), (for a PCI card), or do I need to delay
>interrupt-driven configuration with config_intrhook_establish()?

The latter.  Working of interrupts after bus_setup_intr() is
machine-dependent, so drivers shouldn't assume that they work then.

Bruce


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




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