Synchronize a bunch of things from FreeBSD-5 in preparation for the new
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 21 Feb 2004 06:41:41 +0000 (06:41 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 21 Feb 2004 06:41:41 +0000 (06:41 +0000)
commit6749bc68374a52ea089b002590f8775d88f00c3a
treed3721133c3981310673edfcb5f1b292e3c7345eb
parente126caf11a991b0259cfd9d12ebfced467a60f52
Synchronize a bunch of things from FreeBSD-5 in preparation for the new
ACPICA driver support.

* Bring in a lot of new bus and pci DEV_METHODs from FreeBSD-5
* split apic.h into apicreg.h and apicio.h
* rename INTR_TYPE_FAST -> INTR_FAST and move the #define
* rename INTR_TYPE_EXCL -> INTR_EXCL and move the #define
* rename some PCIR_ registers and add additional macros from FreeBSD-5
* note: new pcib bus call, host_pcib_get_busno() imported.
* kern/subr_power.c no longer optional.

Other changes:

* machine/smp.h machine smp/smptests.h can now be #included unconditionally,
  and some APIC_IO vs SMP separation has been done as well.
* gd_acpi_id and gd_apic_id added to machine/globaldata.h prep for new
  ACPI code.

Despite all the changes, the generated code should be virtually the same.
These were mostly additions which the pre-existing code does not (yet) use.
sys/bus/pci/pcib_private.h [new file with mode: 0644]