From owner-freebsd-hackers Sun Apr 23 18:09:33 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id SAA15581 for hackers-outgoing; Sun, 23 Apr 1995 18:09:33 -0700 Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.34]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id SAA15575 for ; Sun, 23 Apr 1995 18:09:29 -0700 Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.9/8.6.9) id LAA12989; Mon, 24 Apr 1995 11:05:35 +1000 Date: Mon, 24 Apr 1995 11:05:35 +1000 From: Bruce Evans Message-Id: <199504240105.LAA12989@godzilla.zeta.org.au> To: julian@ref.tfs.com, phk@ref.tfs.com Subject: Re: [EISA] related matters Cc: hackers@FreeBSD.org Sender: hackers-owner@FreeBSD.org Precedence: bulk >It has always had me wondering why >I< had to tell config about spl-levels... >What we really should have is a TEXT_SET(device_probe...) and kill config... No linker magic is required or good. Drivers should register their interrupt masking requirements as late as possible, preferably not until open() completes. I looked for other things that could be config'ed better in GENERIC: isa? config at attach time or later vector config when intr is attached iosiz config at attach time after probe decides it? These things can't always (never for isa) be config'ed later because probing likely addresses is too dangerous: port, iomem These things can't always be config'ed later because probing is unreliable: irq, drq Bruce