lkml.org 
[lkml]   [2004]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[PATCH] rpaphp build break - remove eeh register
    From
    Date
    Hi Greg-

    The following patch removes eeh function calls that currently break the
    RPA PCI Hotplug module. The functions in question were rejected from
    mainline, and an alternate solution is being worked.

    Thanks-
    John

    diff -Nru a/drivers/pci/hotplug/rpaphp_core.c b/drivers/pci/hotplug/rpaphp_core.c
    --- a/drivers/pci/hotplug/rpaphp_core.c Tue Aug 3 10:38:57 2004
    +++ b/drivers/pci/hotplug/rpaphp_core.c Tue Aug 3 10:38:57 2004
    @@ -54,8 +54,6 @@
    MODULE_DESCRIPTION(DRIVER_DESC);
    MODULE_LICENSE("GPL");

    -void eeh_register_disable_func(int (*)(struct pci_dev *));
    -
    module_param(debug, bool, 0644);

    static int enable_slot(struct hotplug_slot *slot);
    @@ -407,18 +405,12 @@
    {
    info(DRIVER_DESC " version: " DRIVER_VERSION "\n");

    - /* let EEH know they can use hotplug */
    - eeh_register_disable_func(&rpaphp_disable_slot);
    -
    /* read all the PRA info from the system */
    return init_rpa();
    }

    static void __exit rpaphp_exit(void)
    {
    - /* let EEH know we are going away */
    - eeh_register_disable_func(NULL);
    -
    cleanup_slots();
    }

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.019 / U:0.112 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site