Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Sep 2001 01:26:55 -0700 (PDT)
From:      Warner Losh <imp@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/pccard pccard.c pcic.c pcic_pci.c pcicvar.h
Message-ID:  <200109130826.f8D8QtY18779@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
imp         2001/09/13 01:26:55 PDT

  Modified files:
    sys/pccard           pccard.c pcic.c pcic_pci.c pcicvar.h 
  Log:
  <jkh> "Hey Rocky, watch me eject this pccard outta my laptop!"  "What,
  again?  That NEVER works!"  "This time for sure!"
  
  Minor overhaul of how we do interrupts for the pci interrupt routing
  case to cope with card ejection better (read: make it not hand on so
  many cards):
  	o Reintroduce func_intr and func_arg and use the to store the
  	  interrupt handler to call.
  	o Create a pcic_pci_func_intr to call the real interrupt handler
  	  iff the card hasn't been ejected.
  	o Remove some checks in pcic_setup_intr now that it is used
  	  exclusively for isa routed interrupts.
  	o Defer the eject event until later too, but make sure we can't
  	  do any client driver ISR calling in the interrum.
  	o Add some simple code to make sure that we don't attach more
  	  than one child.  This should fix pccardd starting twice
  	  problem (ala single user -> multi-user when you started pccardd
  	  by hand in SU).
  
  MFC: after jkh thinks I've put the crack pipe away.
  
  Revision  Changes    Path
  1.137     +13 -1     src/sys/pccard/pccard.c
  1.166     +1 -9      src/sys/pccard/pcic.c
  1.97      +79 -16    src/sys/pccard/pcic_pci.c
  1.27      +3 -1      src/sys/pccard/pcicvar.h


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?200109130826.f8D8QtY18779>