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

Warner Losh imp at
Sun Jun 3 05:42:06 UTC 2007

imp         2007-06-03 05:42:05 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/pccbb        pccbb.c 
  Minor filter tweaks:
  o If we don't have a filter, also check to make sure the card is there before
    calling the scheduled ISR.  This is necessary to help old drivers whose
    ISRs can't cope with being called with the hardware missing, which sadly
    still exist in the tree.  This is the main reason why we have an extra
    layer of indirection for cardbus interrupts.
  o If the card is no longer present, mark the interrupt as 'handled' rather
    than 'stray' because this accounts for why the interrupt happened.  Stray
    isn't all bad, since there are other filters that would claim it...
  o Fix some comments
    + Add comment about why we check for CARD_OK and touch the hardware in both
      the filter and ISR.
    + add a note about why we don't care about Giant
    + also note that giant can't be taken out in a filter...
    + Some minor formatting nits on very long comments.
  Revision  Changes    Path
  1.162     +47 -26    src/sys/dev/pccbb/pccbb.c

More information about the cvs-src mailing list