Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 09 Sep 2000 12:41:06 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Poul-Henning Kamp <phk@freebsd.org>
Cc:        arch@freebsd.org, smp@freebsd.org
Subject:   Re: Device probing...
Message-ID:  <39BA9252.794BDF32@elischer.org>
References:  <89354.968526601@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> 
> I would really like to se us move all the device probe/attach code
> to run in "normal context", ie enable interrupts before we probe
> everything.
> 
> The main argument for this is the drivers can then use the full
> complement of kernel infrastructure and interrupts during probe
> attach.
> 
> Drivers needs to be able to function in this environment anyway
> if they support removeable devices (pccard, usb, etc).
> 
> Are there reasons to not do this I have overlooked ?

I know of no reason not to, and in fact the old BSD code used to do
this in order to try work out what interrupt a device was on.
(though with shared interrupts this gets harder)

> 
> --
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD coreteam member | BSD since 4.3-tahoe
> Never attribute to malice what can adequately be explained by incompetence.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-smp" in the body of the message

-- 
      __--_|\  Julian Elischer
     /       \ julian@elischer.org
    (   OZ    ) World tour 2000
---> X_.---._/  presently in:  Perth
            v


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39BA9252.794BDF32>