linux_dsm_epyc7002/drivers/net/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
..
3c574_cs.c pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (net) 2009-11-09 08:30:00 +01:00
3c589_cs.c pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (net) 2009-11-09 08:30:00 +01:00
axnet_cs.c pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (net) 2009-11-09 08:30:00 +01:00
com20020_cs.c pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (net) 2009-11-09 08:30:00 +01:00
fmvj18x_cs.c pcmcia: Pass struct pcmcia_device to pcmcia_map_mem_page() 2009-11-28 18:02:13 +01:00
ibmtr_cs.c pcmcia: Pass struct pcmcia_device to pcmcia_map_mem_page() 2009-11-28 18:02:13 +01:00
Kconfig [netdrvr] ibmtr: PCMCIA IBMTR is ok on 64bit 2008-10-16 05:40:16 -04:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
nmclan_cs.c pcmcia: use dynamic debug infrastructure, deprecate CS_CHECK (net) 2009-11-09 08:30:00 +01:00
pcnet_cs.c pcmcia: Change window_handle_t logic to unsigned long 2009-11-28 18:02:50 +01:00
smc91c92_cs.c pcmcia: Pass struct pcmcia_device to pcmcia_map_mem_page() 2009-11-28 18:02:13 +01:00
xirc2ps_cs.c pcmcia: Pass struct pcmcia_device to pcmcia_map_mem_page() 2009-11-28 18:02:13 +01:00