dynamic device question

Andrew J. Anderson (andrew@db.erau.edu)
Mon, 10 Aug 1998 14:51:27 -0400 (EDT)


An interesting comparison between devfs, PCMCIA, and USB has come up with
relation to dynamic device creation, and I have a question about this that
perhaps the PCMCIA and USB people can answer:

Is it correct that both PCMCIA and USB have hardware support for signaling
a monitoring process when an insertion/removal event occurs? (monitor
some magic port for a certain set of values, or wait for an interrupt,
etc.)

The reason that I ask is to draw this parallel:

If the above is true, then couldn't devfs be considered the software
equivalent of the above? (loosely speaking of course) Devfs would
"monitor" kmod and report to devfsd that a new module/device pair is
available.

That's one of the big differences that I notice, is that devfs, a software
solution is compared to both USB and PCMCIA, which are hardware solutions.
All three are different solutions to dynamic devices -- PCMCIA and USB
solve dynamic hardware, devfs solves dynamic software (in the form of
modules), which provide access to hardware.

(And no, I'm not trying to add flames to the fire, I'm honestly interested
in people's views on this.)

Andrew

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Andrew Anderson http://amelia.db.erau.edu/~andrew/
if(!(family_tree=fork())){redneck=TRUE;}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html