DragonFly commits List (threaded) for 2011-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: resource: Per-CPU hardware resources support, step 3 of many
commit b47b327582fa55b3c19174b14c0a078333b3e0f0
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date: Tue Oct 4 16:15:27 2011 +0800
resource: Per-CPU hardware resources support, step 3 of many
- Add cpuid parameter to bus_set_resource() and bus_set_resource
DEVMETHOD; Pass this parameter to resource_list_add()
- Obtain interrupt resource's owner CPU, i.e. target CPU, from
MachIntrABI and pass it to bus_set_resource(), so that the owner
CPU of the interrupt resource could be correctly setup
- Rest of types of resources, e.g. IOPORT, MEMORY and DRQ, are
shared across CPUs, so their cpuids are set to -1
Summary of changes:
sys/bus/isa/i386/isa_compat.c | 37 ++++++++++++++++--------------
sys/bus/isa/isa_common.c | 14 ++++++-----
sys/bus/isa/isahint.c | 13 ++++++----
sys/bus/isa/vga_isa.c | 4 +-
sys/bus/pccard/pccard.c | 7 +++--
sys/dev/acpica5/Osd/OsdInterrupt.c | 4 ++-
sys/dev/acpica5/acpi.c | 2 +-
sys/dev/acpica5/acpi_ec.c | 4 +-
sys/dev/acpica5/acpi_hpet.c | 2 +-
sys/dev/acpica5/acpi_resource.c | 15 +++++++-----
sys/dev/acpica5/acpi_timer.c | 2 +-
sys/dev/disk/advansys/adv_isa.c | 18 +++++++++------
sys/dev/disk/aic/aic_isa.c | 13 +++++++---
sys/dev/disk/ata/ata-card.c | 4 +-
sys/dev/disk/ata/ata-isa.c | 2 +-
sys/dev/disk/ata/ata-pci.c | 4 ++-
sys/dev/disk/buslogic/bt_isa.c | 6 +++-
sys/dev/disk/fd/fd.c | 3 +-
sys/dev/disk/nata/ata-chipset.c | 4 ++-
sys/dev/disk/nata/ata-isa.c | 2 +-
sys/dev/misc/atkbdc_layer/atkbdc_isa.c | 2 +-
sys/dev/misc/orm/orm.c | 4 +-
sys/dev/misc/ppc/ppc.c | 2 +-
sys/dev/misc/psm/psm.c | 10 ++++++--
sys/dev/netif/ar/if_ar_isa.c | 3 +-
sys/dev/netif/cs/if_cs.c | 6 +++-
sys/dev/netif/ed/if_ed.c | 15 +++++++++---
sys/dev/netif/ep/if_ep_isa.c | 6 +++-
sys/dev/netif/ex/if_ex_isa.c | 9 +++++--
sys/dev/netif/fe/if_fe_isa.c | 9 ++++++-
sys/dev/powermng/amdpm/amdpm.c | 4 +-
sys/dev/powermng/aps/aps.c | 2 +-
sys/dev/powermng/intpm/intpm.c | 7 ++++-
sys/dev/powermng/uguru/uguru.c | 2 +-
sys/dev/powermng/viapm/viapm.c | 4 +-
sys/dev/powermng/wbsio/wbsio.c | 4 +-
sys/dev/serial/digi/digi_isa.c | 4 +-
sys/dev/sound/isa/gusc.c | 4 +-
sys/dev/sound/isa/mss.c | 14 ++++++-----
sys/dev/sound/isa/sbc.c | 2 +-
sys/dev/sound/pci/vibes.c | 6 +++-
sys/kern/bus_if.m | 1 +
sys/kern/subr_bus.c | 13 ++++++-----
sys/net/i4b/layer1/isic/i4b_avm_a1.c | 2 +-
sys/net/i4b/layer1/isic/i4b_ctx_s0P.c | 10 ++++----
sys/net/i4b/layer1/isic/i4b_tel_s0163.c | 8 +++---
sys/net/i4b/layer1/isic/i4b_usr_sti.c | 8 +++---
sys/platform/pc32/i386/nexus.c | 9 +++++--
sys/platform/pc64/x86_64/nexus.c | 9 +++++--
sys/sys/bus.h | 8 +++---
50 files changed, 208 insertions(+), 139 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b47b327582fa55b3c19174b14c0a078333b3e0f0
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]