[PATCHES] cleanups on top of -17 to -19

Dominik Brodowski linux at dominikbrodowski.de
Sun Nov 7 06:13:29 EST 2004


With the 17- to 19- pcmcia patchsets seemingly working nicely in -mm, I've
thought about the next two rounds of PCMCIA patches. Here's the first one of
them:

all-in-one-patch: http://www.brodo.de/patches/2004-11-07/pcmcia-b21-complete

tarball: http://www.brodo.de/patches/2004-11-07/pcmcia-b21-cleanups.tar.bz2

http://www.brodo.de/patches/2004-11-07/pcmcia-b21-cleanups/01-remove-obsolete-code

Remove the code marked as obsolete -- nobody complained.


http://www.brodo.de/patches/2004-11-07/pcmcia-b21-cleanups/02-remove-pending-events

PendingEvents is unused.


http://www.brodo.de/patches/2004-11-07/pcmcia-b21-cleanups/03-remove-client-Attributes

Remove the "Attributes" entry of struct client_t -- _all_ in-kernel drivers
did set it to INFO_IO_CLIENT | INFO_CARD_SHARE anyway, and the pcmcia core
didn't care at all what this value was set to.

Also, remove the setting of the respective request field in all in-kernel 
drivers -- the request structure is kept the same, though, to keep external 
drivers compiling. A warning will be emitted if they aren't updated, though.


http://www.brodo.de/patches/2004-11-07/pcmcia-b21-cleanups/04-remove-unneeded-parameter-from-rsrc_mgr

Remove the no longer used "name" parameter from alloc_io_space, 
find_{io,mem}_region.


http://www.brodo.de/patches/2004-11-07/pcmcia-b21-cleanups/05-remove-dev_info-from-client

Remove the dev_info - contained name from struct client_t



http://www.brodo.de/patches/2004-11-07/pcmcia-b21-cleanups/06-rename-getput-p-dev

Fix get_p_dev and rename it to pcmcia_get_dev; also rename
pcmcia_put_dev. They aren't static any longer as "pcmcia_compat.c" or
other parts of pcmcia.ko may use them in future.


	Dominik



More information about the linux-pcmcia mailing list