Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jun 2002 22:50:37 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        "M. Warner Losh" <imp@village.org>
Cc:        winter@jurai.net, arch@FreeBSD.ORG
Subject:   Re: It is time to admit that removable devices exist 
Message-ID:  <84744.1024951837@critter.freebsd.dk>
In-Reply-To: Your message of "Mon, 24 Jun 2002 14:50:12 MDT." <20020624.145012.32175932.imp@village.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20020624.145012.32175932.imp@village.org>, "M. Warner Losh" writes:
>In message: <83073.1024951336@critter.freebsd.dk>
>            Poul-Henning Kamp <phk@critter.freebsd.dk> writes:
>: When you eject a pccard, we may get in pccard-socket interrupt
>: before it disappears but we may also not.  Depending on the world+dog
>: this interrupt me come before, during or after the relevant device
>: driver enters its interrupt routine.
>
>For ISA cards this is definitely true.  Either the CSR happens first
>or the card interrupt, depending on a lot of complex issues (including
>the bridge generating interrupts in ways that are ill defined at
>best).  For PCI cards, where we have shared interrupts, we already
>implement an interlock.  We could implement one more layer of
>indirection in the ISA case as well.
>
>Still doesn't solve the detach issue (it is currently ambiguous: used
>for both unload and for device has disappeared), which my proposal
>solves nicely.

Which I, as I said earlier, fully agree with.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | 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-arch" in the body of the message




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