[patch] 2.4.21 parport_serial link order fix, NetMos support

Marek Michalkiewicz (marekm@amelek.gda.pl)
Sun, 22 Jun 2003 00:01:44 +0200


Hi,

that's me again, trying to submit this since 2.4.19 or so, with no
success so far. Please consider for 2.4.22 if it ever happens...

I've been successfully using a few low cost PCI multi-IO cards (only
"made in China" on the PCB, "STLab" on the box) based on the NetMos
NM9835 chip (1 parallel port, 2 serial ports), for a few months now.
Patches (now updated for 2.4.21) are available here:

http://www.amelek.gda.pl/linux-patches/2.4.21/00_parport_serial
http://www.amelek.gda.pl/linux-patches/2.4.21/01_netmos

00_parport_serial fixes a link order bug (parport_serial didn't work
at all when compiled into the kernel, only as a module). The patch
file is big, but most of it just moves drivers/parport/parport_serial.c
to drivers/char/ without changing a single line. This way the driver
is initialised after serial, but still before any other drivers which
need the parport subsystem, such as: lp, paride, plip, ...

01_netmos (must be applied after 00_parport_serial) adds support for
the NetMos PCI parallel port and multi-IO chips. This is based on an
old (2001) patch by Tim Waugh, without significant changes.

Apparently, some people had system lockups with NetMos cards when
trying to use the parport IRQ. This patch does not do this -
polling mode works, and is better than nothing. Anyway, I've also
added a config option (CONFIG_PARPORT_PC_NETMOS, conditional on
CONFIG_EXPERIMENTAL), with Documentation/Configure.help description.
Hopefully this will help to get the patch accepted into the kernel.

Thanks,
Marek

-
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/