DragonFly BSD
DragonFly commits List (threaded) for 2011-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: pci: Factor out pci_alloc_1intr()


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 27 Dec 2011 19:10:47 -0800 (PST)

commit 7fb439566aec7d734857ef363d99e2aa0305ca8f
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Wed Dec 28 10:49:50 2011 +0800

    pci: Factor out pci_alloc_1intr()
    
    This function will properly setup rid and flags for "legacy" interrupt.
    If MSI is enabled, then this function will try allocate 1 MSI message
    and setup rid and flags properly for MSI based interrupt resource.

Summary of changes:
 sys/bus/pci/pci.c               |   36 ++++++++++++++++++++++++++++++++++++
 sys/bus/pci/pcivar.h            |    7 +++++++
 sys/dev/disk/ahci/ahci.h        |    3 ---
 sys/dev/disk/ahci/ahci_attach.c |   30 ++++--------------------------
 sys/dev/netif/bce/if_bce.c      |   30 ++++--------------------------
 sys/dev/netif/bce/if_bcereg.h   |    3 ---
 sys/dev/netif/emx/if_emx.c      |   30 ++++--------------------------
 sys/dev/netif/emx/if_emx.h      |    3 ---
 8 files changed, 55 insertions(+), 87 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7fb439566aec7d734857ef363d99e2aa0305ca8f


-- 
DragonFly BSD source repository



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]