fvdl
7d342b5852
* keep track of PCI buses that aren't known by firmware, but are found
...
by NetBSD
* use this info in in intr_find_mpmapping
* get rid of the last argument to intr_find_mpmapping, it was redundant
2003-10-30 21:19:54 +00:00
fvdl
6a6db3cbd9
Add hooks and structures to allow the MP table intr mapping code a
...
better shot at finding a mapping. For PCI interrupts, if a bus
has no mappings, try its parent, with the swizzled pin, and the
bridge's device number.
2003-10-16 22:56:29 +00:00
fvdl
5a759ef06c
Move the bulk of pci_intr_string into a seperate intr_string function. Use
...
that new function to print the pciide compat interrupt in pciide_machdep.c.
Share pciide_machdep.c between amd64 and i386.
2003-09-06 17:44:36 +00:00
fvdl
40b81ea5a1
If possible, put the device name of the APIC used into the interrupt string,
...
not "apic N". This makes it easier to match vmstat output with dmesg output.
2003-09-06 14:55:50 +00:00
fvdl
7dd7f8baa2
Handle 64bit DMA addresses on PCI for platforms that can (currently only
...
enabled on amd64). Add a dmat64 field to various PCI attach structures,
and pass it down where needed. Implement a simple new function called
pci_dma64_available(pa) to test if 64bit DMA addresses may be used.
This returns 1 iff _PCI_HAVE_DMA64 is defined in <machine/pci_machdep.h>,
and there is more than 4G of memory.
2003-06-15 23:08:53 +00:00
fvdl
afff857edc
Add the options MPBIOS_SCANPCI and MPACPI_SCANPCI to configure PCI roots
...
with the MPBIOS/ACPI bus information, by walking through the buses, and
descending down every bus that hasn't been marked configured yet.
2003-05-29 20:22:28 +00:00
fvdl
799347472e
Generalize bounce buffers, and use them for 32 bit PCI if needed.
...
Make ALLOCNOW the default iff bouncing might be needed (this has
no effect on i386 because ISA DMA devices already had to use
ALLOCNOW, and PCI isn't bounced (yet), since we don't do > 4G
at this point for i386.
2003-05-07 21:33:57 +00:00
fvdl
4fc5083af1
Include "eisa.h" in order to get the NEISA value; without it EISA-only
...
MP intr routing tables wouldn't be searched.
2003-04-28 20:26:18 +00:00
fvdl
e397aa2f84
Moved here from i386/pci.
2003-02-27 00:30:31 +00:00