[PLUG] Compiling/Installing a Single Driver

Jason R. Martin nsxfreddy at gmail.com
Mon Apr 10 21:53:26 UTC 2006


On 4/10/06, Rich Shepard <rshepard at appl-ecosys.com> wrote:
> On Mon, 10 Apr 2006, Jason R. Martin wrote:
>
> > generic_serial.c is enabled by enabling one of the drivers that requires
> > it. Look in drivers/char/Makefile to see which drivers enable
> > generic_serial. You will have to turn on at least one of those CONFIG_*
> > options in your .config.
>
> Jason,
>
>    Thank you for the suggestion. I've done that and cannot find where in
> menuconfig those drivers are to be found. For example, in
> /usr/src/linux-2.4.32/drivers/char/Makefile I find these:
>
> obj-$(CONFIG_A2232) += ser_a2232.o generic_serial.o
> obj-$(CONFIG_SX) += sx.o generic_serial.o
> obj-$(CONFIG_RIO) += rio/rio.o generic_serial.o
> obj-$(CONFIG_SH_SCI) += sh-sci.o generic_serial.o
> obj-$(CONFIG_MVME147_SCC) += generic_serial.o vme_scc.o
> obj-$(CONFIG_MVME162_SCC) += generic_serial.o vme_scc.o
> obj-$(CONFIG_BVME6000_SCC) += generic_serial.o vme_scc.o
> obj-$(CONFIG_SERIAL_TX3912) += generic_serial.o serial_tx3912.o
> obj-$(CONFIG_SERIAL_TXX9) += generic_serial.o serial_txx9.o
>
>    But, I find no reference to any of these under Char devices in menuconfig.
> This makes no sense to me, but I've looked several times.
>
>    The A2232, for example, appears to be a serial card for Amigas. BVME6000 is
> apparently other hardware (Debian supports them). Perhaps I can't see it
> until it bites me in the nose, but I cannot find where any of these can be
> selected for building.

Perhaps a different approach is in order.  What kind of hardware are
you trying to enable?  generic_serial.c (as far as I can tell) is not
a driver, but a support file used by other drivers.

Jason



More information about the PLUG mailing list