1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
freebsd/sys/pccard
Nate Williams cc6da87199 Update the PCIC controller's imask with individual slot IRQ's.
Assuming that the intr_mask[] was updated by changing the maskptrs (the
existing update_intr_masks() function will not work) this code was
written so the PCIC controller insertion/removal events will not
interrupt the card IRQ handler events.

Some possible scenarios:
+ Card is removed during IRQ handler:

  - PCIC card handler is allowed to interrupt
  - card removal event is called, removing the driver and data structures
  * card interrupt handler continues w/out driver, data structures, and hardware

OR (the code just committed)

  * card IRQ handler has no hardware to read/write to, but has code and
    data to run on (XXX- Assume it completes and doesn't spin forever)
  - PCIC card handler unloads the card driver

The current situation at least leaves the card interrupt handlers the
drivers and data structures to work with although the hardware can't be
guaranteed.

Reviewed by:	bde
1997-01-11 18:23:20 +00:00
..
card.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
cardinfo.h Cleaned up all headers that include <sys/ioctl.h> or <sys/ioccom.h>: 1996-09-21 14:59:43 +00:00
cis.h Minor formatting changes. No functional differences, but makes the 1996-06-05 05:30:09 +00:00
driver.h Update the PCIC controller's imask with individual slot IRQ's. 1997-01-11 18:23:20 +00:00
i82365.h The Great PC98 Merge. 1996-06-14 11:02:28 +00:00
pccard.c Update the PCIC controller's imask with individual slot IRQ's. 1997-01-11 18:23:20 +00:00
pcic98reg.h Re-sync with the state of PC98 world. This will be the last commit before 1996-08-30 10:43:14 +00:00
pcic.c Update the PCIC controller's imask with individual slot IRQ's. 1997-01-11 18:23:20 +00:00
skel.c Andrew McRae's pcmcia/pccard code, the kernel part. 1995-08-24 08:56:20 +00:00
slot.h Update the PCIC controller's imask with individual slot IRQ's. 1997-01-11 18:23:20 +00:00