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

Warner Losh imp at
Mon Aug 18 14:59:26 PDT 2003

imp         2003/08/18 14:59:24 PDT

  FreeBSD src repository

  Modified files:
    sys/dev/pccbb        pccbb.c 
  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
  Noticed by: cognet
  Revision  Changes    Path
  1.90      +3 -4      src/sys/dev/pccbb/pccbb.c

More information about the cvs-src mailing list