Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Aug 2003 14:59:24 -0700 (PDT)
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/pccbb pccbb.c
Message-ID:  <200308182159.h7ILxPqo032601@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2003/08/18 14:59:24 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/pccbb        pccbb.c 
  Log:
  The CD bits in the CBB_SOCKET_STATE register are 0 when the card is
  present, and non-zero when it is (or may be) absent.  The test
  cbb_child_present was backwards.  However, typical usage in the tree
  would cause it to do the right thing because the card really wasn't
  there the OK flag would be turned on.
  
  Also, assume that if any of these bits are turned on we don't have a
  card, rather than requiring both of them in the suspend/resume
  routines.
  
  Noticed by: cognet
  
  Revision  Changes    Path
  1.90      +3 -4      src/sys/dev/pccbb/pccbb.c



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