Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 1995 11:05:35 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        julian@ref.tfs.com, phk@ref.tfs.com
Cc:        hackers@FreeBSD.org
Subject:   Re: [EISA] related matters
Message-ID:  <199504240105.LAA12989@godzilla.zeta.org.au>

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



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