]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] serial_cs device identification fix
authorPetr Vandrovec <vandrove@vc.cvut.cz>
Tue, 17 May 2005 04:53:44 +0000 (21:53 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 17 May 2005 14:59:19 +0000 (07:59 -0700)
commitc2cc8d1f11740cc2b8e32c0608ccbae2ed292332
tree48b35624b6787fa0851d7fd1aaa0cd05559f327a
parent760a287529f21b3e833433bc27d57d1710f14f92
[PATCH] serial_cs device identification fix

serial_cs's vendor/device identification got broken by Yum Rayan's change
'[PATCH] serial_cs: Reduce stack usage in serial_event()' - it changed buf
type from u_short* to char*, breaking device manufacturer & card number
retrieval.  Due to this my modem stopped from being recognized as special
case.

Code will work much better if we'll rely on first_tuple's parser instead of
doing parse ourselves.  Code also looks simpler after change.

Signed-off-by: Petr Vandrovec <vandrove@vc.cvut.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/serial/serial_cs.c