Re: [PATCH] network driver updates

From: Andrew Morton (andrewm@uow.edu.au)
Date: Thu Feb 15 2001 - 17:16:42 EST


David Hinds wrote:
>
> On Thu, Feb 15, 2001 at 10:49:22PM +1100, Andrew Morton wrote:
> >
> > Now, the thing I don't understand about David's design is the
> > final one. What 3c575_cb does is:
> >
> > CONFIG_HOTPLUG=y, MODULE=true
> > If the hardware isn't there, register the driver and
> > hang around.
> >
> > Why?
>
> Merely that I was trying to disassociate the concepts of module
> loading and device probing, and I thought it was most consistent to
> then allow people to load modules whenever they want, whether or not a
> device was present.

Fair enough. Thanks.

Another scenario may be where (say) a network driver is modprobed
from a hotpluggable disk controller. You want to be able to load
the netdriver, pop out the disk controller and then insert the network
card. Or vice-versa - load a parallel port driver across NFS then
pull the network card and push the parallel port card. Could use
local disks for this, of course.

hmm..
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Feb 15 2001 - 21:00:27 EST