From owner-freebsd-current Fri Jun 18 10:14: 6 1999 Delivered-To: freebsd-current@freebsd.org Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.26.10.9]) by hub.freebsd.org (Postfix) with ESMTP id D4C3714CA4 for ; Fri, 18 Jun 1999 10:14:02 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id DAA02467; Sat, 19 Jun 1999 03:14:00 +1000 Date: Sat, 19 Jun 1999 03:14:00 +1000 From: Bruce Evans Message-Id: <199906181714.DAA02467@godzilla.zeta.org.au> To: current@FreeBSD.ORG, jlemon@americantv.com Subject: Re: New-bus driver question Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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