]> git.neil.brown.name Git - history.git/commit
[PATCH] pcmcia: new ds - cs interface
authorDominik Brodowski <linux@dominikbrodowski.de>
Tue, 11 Jan 2005 11:19:00 +0000 (03:19 -0800)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 11 Jan 2005 11:19:00 +0000 (03:19 -0800)
commitf1395ea3c1fbf67824ff83e5d4fd7aefb5346e90
tree575e189ee0e9b5b43a87ce1851a025f32962d04f
parent8dce684cff3c14dd87ea3fce604152a7468751e8
[PATCH] pcmcia: new ds - cs interface

Add a new registration function to register the PCMCIA 16-bit subsystem
(ds a.k.a. pcmcia) with the PCMICA core (cs a.k.a. pcmcia_core).

As send_event is only called with skt->sem held, we can use that to safeguard
skt->callback(), too. Note that the class_device_register() call by pccardd()
is done _before_ skt->sem() is held, and the pcmcia_socket_register() doesn't
hold skt->sem() as well, so there is no chance for a deadlock.

Signed-off-by: Dominik Brodowski <linux@brodo.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/pcmcia/cs.c
drivers/pcmcia/cs_internal.h
drivers/pcmcia/ds.c
include/pcmcia/ss.h