[PATCH 00/04] pcmcia: Convert window_handle_t to unsigned long

Magnus Damm damm at opensource.se
Wed Dec 13 05:46:33 EST 2006


pcmcia: Convert window_handle_t to unsigned long 

This set of patches change 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.

Signed-off-by: Magnus Damm <damm at opensource.se>
---

 Applies to 2.6.19-git19

 drivers/isdn/hisax/sedlbauer_cs.c |    2 -
 drivers/mtd/maps/pcmciamtd.c      |    4 +-
 drivers/net/pcmcia/fmvj18x_cs.c   |    8 ++--
 drivers/net/pcmcia/ibmtr_cs.c     |    6 +--
 drivers/net/pcmcia/pcnet_cs.c     |    8 ++--
 drivers/net/pcmcia/smc91c92_cs.c  |    2 -
 drivers/net/pcmcia/xirc2ps_cs.c   |    2 -
 drivers/net/wireless/airo_cs.c    |    2 -
 drivers/net/wireless/netwave_cs.c |    2 -
 drivers/net/wireless/ray_cs.c     |   10 ++---
 drivers/pcmcia/cs_internal.h      |    3 +
 drivers/pcmcia/pcmcia_ioctl.c     |    4 +-
 drivers/pcmcia/pcmcia_resource.c  |   68 +++++++++++++++++++------------------
 drivers/scsi/pcmcia/nsp_cs.c      |    2 -
 include/pcmcia/cs.h               |    5 +-
 include/pcmcia/cs_types.h         |    3 -
 include/pcmcia/ss.h               |    5 --
 17 files changed, 66 insertions(+), 70 deletions(-)



More information about the linux-pcmcia mailing list