Distributing drivers independent of the kernel source tree

Heater, Daniel (Daniel.Heater@gefanuc.com)
Thu, 26 Sep 2002 16:55:07 -0400


For some time I have been trying to figure out how to distribute drivers
that are not part of the kernel source tree. The drivers that I am supplying
are open source (BSD license) but are for obscure hardware and/or not ready
for/may never be ready for inclusion in the kernel proper. Business being
what it is though, I have to get them to the customer yesterday.

I would like to know if there is a good way to distribute drivers separate
from the kernel source tree?

1. Supplying patches does not seem to be feasible because there are so many
kernel versions and trees to cover. I'm not in a position to tell my
customers to run version 2.4.xx-xx. They need to be able to use these
drivers with the kernel version they have in their production environment.
Instead, I try to make my driver work on all versions of kernel 2.4.x.

2. Assuming the kernel source is in /usr/src/linux is not always valid.

3. I currently use /usr/src/linux-`uname -r` to locate the kernel source
which is just as broken as method #2.

If no good method exists, would someone be willing to suggest a standard
which would allow distribution of drivers separate from the kernel tree?
-
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/