2001-03-06 12:29:45

by Andrey Panin

[permalink] [raw]
Subject: [PATCH] bug in /drivers/char/epca.c


Hi all,

this patch fixes bug in Digi epca.c driver. This driver calls
tty_register_driver() 3 times and tty_unregister_driver() 2 times.
This bug causes hang on module unload.

Also a question: somebody knows why this driver scans PCI devices before
registering tty drivers? It makes impossible to remove panic() calls easily.

Best regards.

--
Andrey Panin | Embedded systems software engineer
[email protected] | PGP key: http://www.orbita1.ru/~pazke/AndreyPanin.asc


Attachments:
patch-epca (521.00 B)
(No filename) (232.00 B)
Download all attachments