• Pavel Roskin's avatar
    [PATCH] pcmcia: remove client services version · a00db1ba
    Pavel Roskin authored
    The Linux PCMCIA code has some data that was apparently used (or meant to be
    used) to ensure that only proper client drivers are loaded.  This is now
    ensured (to a certain degree) by the fact that the most client drivers are
    part of the kernel.  Also, the version information has not been updated
    despite major changes in PCMCIA API.  This has made it meaningless.
    
    This patch removes servinfo_t and pcmcia_get_card_services_info.  They are not
    used in any userspace utilities such as pcmcia-cs and pcmciautils.
    drivers/pcmcia/pcmcia_ioctl.c is adjusted accordingly.
    
    CS_RELEASE and CS_RELEASE_CODE are removed.  include/pcmcia/version.h is empty
    now.  It will be removed later, but for now it's left in the tree to avoid
    touching all PCMCIA clients.
    
    The only driver that needs to be changed is drivers/scsi/pcmcia/nsp_cs.c,
    which uses CS_RELEASE_CODE.
    Signed-off-by: default avatarPavel Roskin <proski@gnu.org>
    Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    a00db1ba
nsp_cs.c 58 KB