Itai Nahshon <[EMAIL PROTECTED]> writes:
> More suggested (big) cleanup items:
>
> 1. Move include files (or pieces) from linux/include/net/irda to
> places where they can be included from outside the kernel (eg.
> from programs in irda-utils).
Now why do you want to do something like this? Kernel header files should
not be included by user-space applications. There is already a kernel
header file called include/linux/irda.h which can be used until somebody
puts this stuff into glibc. What do you want that is not in this file
already?
> 2. Move pieces from linux/net/irda/irda_device.c (namely - irda_device_init
> and irda_device_init_dongle) to linux/drives/net/irda. The motivation is to
> put hardware/driver dependent stuff in one place (as much as possible) and
> away from the device independent stuff.
OK the problem is that if you put it in drivers/net/irda, then it will
either have to go inside the kernel at net/net_init.c does, or you will
have to make a separate module for it. I currently don't like any of the
optins, so that is the reason why I want to put it in the irda module.
> 3. (this may be too drastic?) Get rid of enumerated dongle types and put in
> a string instead. This will clean most of the places that consist
> of a switch statement that enumerate all dongle types. It will work best
> if we keep module name = dongle name, otherwise use aliases in
> /etc/conf.modules.
This one I like more ;-)
-- Dag
--
/ Dag Brattli | The Linux-IrDA Project /
// University of Tromsoe, Norway | Infrared communication for Linux //
/// http://www.cs.uit.no/~dagb | http://www.cs.uit.no/linux-irda/ ///
_______________________________________________
Linux-IrDA mailing list - [EMAIL PROTECTED]
http://www.pasta.cs.UiT.No/mailman/listinfo/linux-irda