Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Sep 2002 23:53:37 -0700 (PDT)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/pccard pccard.c
Message-ID:  <200209040653.g846rbcG082289@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2002/09/03 23:53:37 PDT

  Modified files:
    sys/dev/pccard       pccard.c 
  Log:
  More in the continuing saga of phk vs his strange serial card.
  
  In this installment, we learn that it is bad to access registers that
  are only defined for mfc cards in the interrupt handler when we do not
  in fact have a mfc card.  For MFC cards, we'll only call the ISR if
  the this card interrupted bit is set.  For non mfc cards (which are
  basically 90% of pccards in use), we always call the ISR and avoid
  touching the suspect registers.  We always pacify the bit in the MFC
  case on the off chance that will help in the itnerrupt handler not
  being registed.
  
  Revision  Changes    Path
  1.64      +20 -80    src/sys/dev/pccard/pccard.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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