Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 1995 20:43:15 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        dufault@hda.com
Cc:        freebsd-hackers@freefall.cdrom.com
Subject:   Re: Configuring driver added via LKM
Message-ID:  <199503291043.UAA27247@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>Is it on purpose that "id_alive" isn't set if you are reconfiguring
>a device in "isa/isa.c"?  Is there an entry point for "I'm about
>to remove you"?

`id_alive' was originally just to record devices that have been
successfully probed and attached so that the conflict checking knows
which devices to look at.  This got complicated a bit by the reconfig
stuff.  I'm not familiar enough with that to comment on it.

>How completely thrashed out is registering a device with the kernel
>(completely, including using Garrett's devconf routines) and then
>de-registering it in order to completely clean up and register
>again?

Almost no work has been done one it (before you started :-).
isa_config() and config_isadev_c() are very old and barely enough to
configure isa devices.  I expect they will have to be rewritten to
handle dynamic attachment and detachment.  In particular, the second
half of isa_config() assumes that the probes and attaches are complete.

Bruce



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