cvs commit: src/sys/dev/pccard pccard.c

Warner Losh imp at FreeBSD.org
Mon Aug 16 08:57:19 PDT 2004


imp         2004-08-16 15:57:18 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pccard       pccard.c 
  Log:
  Some cards don't have the info entries in the CIS, so vendorstr and/or
  prodstr may be NULL when fetched.  For the default device description,
  guard against this and return the numeric IDs instead when this
  happens.  For the matching routines, and consider NULL to not match
  those entries that aren't NULL w/o calling strcmp.
  
  Early patches by: Anders Hanssen
  
  Revision  Changes    Path
  1.93      +21 -7     src/sys/dev/pccard/pccard.c


More information about the cvs-all mailing list