git: bus: Pass intsrerupt description to setup_intr bus method

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Jan 18 23:52:32 PST 2012


commit 0e6f0e2886bc8da263ff35cca55f08c8c57fac2d
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Thu Jan 19 15:49:17 2012 +0800

    bus: Pass intsrerupt description to setup_intr bus method
    
    If no interrupt description is supplied, then the device's name
    will be used.
    
    Add bus_setup_intr_descr(), which allow device drivers to pass
    interrupt description.  Reimplement bus_setup_intr() using
    bus_setup_intr_descr().

Summary of changes:
 sys/bus/iicbus/pcf/pcf.c         |    2 +-
 sys/bus/isa/i386/isa.c           |    2 +-
 sys/bus/isa/i386/isa_compat.c    |    2 +-
 sys/bus/isa/x86_64/isa.c         |    2 +-
 sys/bus/pccard/pccard.c          |    7 +++--
 sys/bus/pci/pci.c                |    5 ++-
 sys/bus/pci/pci_compat.c         |    3 +-
 sys/bus/pci/pci_private.h        |    3 +-
 sys/bus/ppbus/ppbconf.c          |    2 +-
 sys/dev/disk/nata/ata-pci.c      |    2 +-
 sys/dev/misc/atkbd/atkbd_isa.c   |    2 +-
 sys/dev/misc/lpt/lpt.c           |    2 +-
 sys/dev/misc/ppc/ppc.c           |    7 +++--
 sys/dev/misc/ppi/ppi.c           |    2 +-
 sys/dev/misc/pps/pps.c           |    2 +-
 sys/dev/misc/psm/psm.c           |    2 +-
 sys/dev/netif/ar/if_ar.c         |    2 +-
 sys/dev/netif/plip/if_plip.c     |    2 +-
 sys/dev/netif/sr/if_sr.c         |    2 +-
 sys/dev/pccard/pccbb/pccbb.c     |    4 +-
 sys/dev/pccard/pccbb/pccbbvar.h  |    2 +-
 sys/dev/serial/sio/sio.c         |    2 +-
 sys/kern/bus_if.m                |    1 +
 sys/kern/subr_bus.c              |   40 +++++++++++++++++++++++--------------
 sys/platform/pc32/i386/nexus.c   |   15 ++++++++-----
 sys/platform/pc32/isa/npx.c      |    2 +-
 sys/platform/pc64/x86_64/nexus.c |   15 ++++++++-----
 sys/sys/bus.h                    |    8 ++++--
 28 files changed, 83 insertions(+), 59 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0e6f0e2886bc8da263ff35cca55f08c8c57fac2d


-- 
DragonFly BSD source repository





More information about the Commits mailing list