Changeset 941 for trunk/src


Ignore:
Timestamp:
05/25/07 08:38:12 (5 years ago)
Author:
aj
Message:

add fall back to ccid driver.

Location:
trunk/src
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ifd/init.c

    r832 r941  
    6262                ct_config.ifdhandler = sval; 
    6363 
    64         /* Register all driver information (usu hotplug ids) */ 
     64        /* Register all driver information (use hotplug ids) */ 
    6565        n = ifd_conf_get_nodes("driver", NULL, 0); 
    6666        if (n >= 0) { 
  • trunk/src/ifd/sys-bsd.c

    r914 r941  
    377377                                  device_info.udi_productNo); 
    378378 
     379                        /* FIXME: if we don't find a driver with vendor/product 
     380                         * then check for the interface type (ccid) and use 
     381                         * driver ccid... */ 
     382 
    379383                        if (!(driver = ifd_driver_for_id(&id))) 
    380384                                continue; 
  • trunk/src/ifd/sys-linux.c

    r930 r941  
    405405                        id.val[1] = dev->descriptor.idProduct; 
    406406 
     407                        /* FIXME: if we don't find a driver with vendor/product 
     408                         * then check for the interface type (ccid) and use 
     409                         * driver ccid... */ 
     410 
    407411                        if (!(driver = ifd_driver_for_id(&id))) 
    408412                                continue; 
  • trunk/src/ifd/sys-solaris.c

    r914 r941  
    552552                id.val[1] = product; 
    553553 
     554                /* FIXME: if we don't find a driver with vendor/product 
     555                 * then check for the interface type (ccid) and use 
     556                 * driver ccid... */ 
     557 
    554558                if (!(driver = ifd_driver_for_id(&id))) 
    555559                        continue; 
  • trunk/src/ifd/sys-sunray.c

    r914 r941  
    326326                        id.val[1] = dev->descriptor.idProduct; 
    327327 
     328                        /* FIXME: if we don't find a driver with vendor/product 
     329                         * then check for the interface type (ccid) and use 
     330                         * driver ccid... */ 
     331 
    328332                        if (!(driver = ifd_driver_for_id(&id))) 
    329333                                continue; 
  • trunk/src/tools/openct-control.c

    r916 r941  
    191191 
    192192                if (!(driver = ifd_driver_for_id(&id))) { 
    193                         fprintf(stderr, "No driver for this device\n"); 
    194                         return 1; 
     193                        /* fall back to ccid driver */ 
     194                        driver = "ccid"; 
    195195                } 
    196196        } 
Note: See TracChangeset for help on using the changeset viewer.