Paul Koning writes:
> Does any OS actually do such a bizarre thing (change the base register
> out from under a device that's in use)? It is obvious that new
> devices get new addresses and disappearing devices have their
> addresses freed, but the notion of moving base addresses of active
> hardware on the fly strikes me as absurd. For one thing, depending on
> the device you cannot even do such a thing at all if there is any I/O
> pending.
Wrong end of the stick. If you have the EBSA285 in add-in mode, then
it needs to know the values of the BARs. The EBSA285 does not necessarily
know if the BARs have been set by the host - only the host knows this, and
yes, if the host has a driver for it loaded, then it shouldn't change them.
However, at what point does the EBSA285 know in fact that it's been
correctly configured so it can read the BARs? There is no "initialisation
complete" bit as there is for the EBSA285 to tell the host it's ready.
_____
|_____| ------------------------------------------------- ---+---+-
| | Russell King [EMAIL PROTECTED] --- ---
| | | | http://www.arm.linux.org.uk/~rmk/armlinux.html / / |
| +-+-+ --- -+-
/ | THE developer of ARM Linux |+| /|\
/ | | | --- |
+-+-+ ------------------------------------------------- /\\\ |
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]