linux/include/pcmcia
Magnus Damm 0bdf9b3dd3 pcmcia: Change window_handle_t logic to unsigned long
Logic changes based on top of the other patches:

This set of patches changed window_handle_t from being a pointer to an
unsigned long. The unsigned long is now a simple index into socket->win[].
Going from a pointer to unsigned long should leave the user space interface
unchanged unless I'm mistaken.

This change results in code that is less error prone and a user space
interface which is much cleaner and safer. A nice side effect is that we
are also are able to remove all members except one from window_t.

[ linux@dominikbrodowski.net:
	Update to 2.6.31. Also, a plain "index" to socket->win[] does not
	work, as several codepaths rely on "window_handle_t" being
	non-zero if used. Therefore, set the window_handle_t to the
	socket->win[] index + 1. ]

CC: netdev@vger.kernel.org
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
2009-11-28 18:02:50 +01:00
..
ciscode.h pcmcia: cleanup device driver header file 2008-08-29 09:28:47 +02:00
cisreg.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cistpl.h pcmcia: ioctl-internal definitions 2008-08-31 16:00:42 +02:00
cs.h pcmcia: ioctl-internal definitions 2008-08-31 16:00:42 +02:00
cs_types.h pcmcia: Change window_handle_t logic to unsigned long 2009-11-28 18:02:50 +01:00
device_id.h pcmcia: device_id header cleanup 2008-08-29 09:43:18 +02:00
ds.h pcmcia: Pass struct pcmcia_socket to pcmcia_get_mem_page() 2009-11-28 18:02:49 +01:00
mem_op.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ss.h pcmcia: Change window_handle_t logic to unsigned long 2009-11-28 18:02:50 +01:00