freebsd-dev/sys/amd64
Bruce Evans 265e95d904 Deleted most of npxprobe(), and merged npxprobe1() back into npxprobe().
Use the normal interrupt handler (npx_intr()) instead of a special
probe-time interrupt handler, although this causes problems due to
the bus_teardown_intr() not actually even tearing down the interrupt
(these problems were avoided by doing interrupt attachment for the
special interrupt handler directly).  Fixed minor bitrot in comments.

The reason for the npxprobe()/npxprobe1() split mostly went away at
about the same time it was made (in 1992 or 1993 just before the
beginning of history).  386BSD ran all probes with interrupts completely
masked, and I didn't want to disturb this when I added an irq probe
to npxprobe().  An irq (not necessarily npx) must be acked for at least
external npx's to take the cpu out of the wait state that it enters
when an npx error occurs, so the probe must be done with a suitable
irq unmasked.  npxprobe() went to great lengths to unmask precisely
the npx irq.

Running probes with all interrupts masked was never really needed in
FreeBSD, since FreeBSD always masked interrupts well enough using
splhigh(), but it wasn't until rev.1.48 (1995/12/12) of autoconf.c
that all probes were run with CPU interrupts enabled.  This permits
npxprobe() to probe its irq using normal interrupt resources.  Note
that most drivers still can't depend on this.  It depends on the
interrupt handler being fast and the irq not being shared.
2001-10-16 14:12:35 +00:00
..
acpica Now that this code is MD, we don't need the i386 ifdefs. 2001-09-07 03:00:30 +00:00
amd64 Deleted most of npxprobe(), and merged npxprobe1() back into npxprobe(). 2001-10-16 14:12:35 +00:00
conf The faith(4) device is no longer a count device so don't specify a count. 2001-09-25 18:56:40 +00:00
include Add missing includes of sys/ktr.h. 2001-10-11 17:53:43 +00:00
isa Deleted most of npxprobe(), and merged npxprobe1() back into npxprobe(). 2001-10-16 14:12:35 +00:00
pci It turns out that while Toshiba laptops don't want to route interrupts 2001-08-28 16:35:01 +00:00
Makefile Update tags directive to reflect the new location of soft updates 2000-07-04 00:18:43 +00:00