[lkml]   [2004]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRE: [PATCH]2.6.3-rc2 MSI Support for IA64
    Friday, Feb. 20, 2004 10:58 AM, Mika Penttilä wrote:

    >ia64 already has a function ia64_alloc_vector(void) in
    >arch/ia64/kernel/irq_ia64, why the doubling?

    ia64_alloc_vector (void)
    @@ -67,6 +68,7 @@
    panic("ia64_alloc_vector: out of interrupt vectors!");
    return next_vector++;

    #ifndef CONFIG_PCI_USE_VECTOR is added in arch/ia64/kernel/irq_ia64.c
    as above to avoid the double definement of ia64_alloc_vector(void).
    Setting CONFIG_PCI_USE_VECTOR to 'Y' by enabling MSI support will
    use function ia64_alloc_vector(void) defined in drivers/pci/msi.c.
    The main reason behind it is to keep track of the number of vectors
    already assigned during the runtime. Keeping track of already assigned
    vectors is required in MSI implementation.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at
     \ /
      Last update: 2005-03-22 14:01    [W:0.020 / U:50.324 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site