Ignore:
Timestamp:
09/13/06 07:06:51 (5 years ago)
Author:
aj
Message:

remove device guessing and identify code (no longer used / needed / was
not ever used anyway).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ifd/sys-bsd.c

    r892 r893  
    2929#include "usb-descriptors.h" 
    3030 
    31 int ifd_sysdep_device_type(const char *name) 
    32 { 
    33         struct stat stb; 
    34  
    35         ifd_debug(1, "BSD: ifd_sysdep_device_type(%s)", name); 
    36         if (!name || name[0] != '/') 
    37                 return -1; 
    38  
    39         if (!strncmp(name, "/dev/ugen", 9)) { 
    40                 ifd_debug(1, "BSD: returning IFD_DEVICE_TYPE_USB"); 
    41                 if (stat(name, &stb) < 0) 
    42                         return -1; 
    43                 return IFD_DEVICE_TYPE_USB; 
    44         } 
    45  
    46         return -1; 
    47 } 
    48  
    4931/* 
    5032 * Poll for presence of USB device 
Note: See TracChangeset for help on using the changeset viewer.