Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Aug 2004 15:57:18 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/pccard pccard.c
Message-ID:  <200408161557.i7GFvIcL004920@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200408161557.i7GFvIcL004920>