lkml.org 
[lkml]   [2001]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [ANNOUNCE] Hardware detection tool 0.2
    On Fri, Aug 31, 2001 at 06:58:59PM -0400, jeff millar wrote:
    >
    > One reason: Not all hardware has the signals needed to detect when a card
    > gets plugged or unplugged. Consider legacy cPCI systems. The don't have
    > the Hot Swap extensions or backplane hot swap control. The only way to find
    > the cards is to periodically scan the bus for new cards, cards that
    > disappeared, or requests for Hot Swap.

    But the driver for those devices have a struct pci_driver object that
    they use to register themselves with the PCI subsystem, right? The
    MODULE_DEVICE_TABLE uses the id_table structure in the struct pci_driver
    object. That's all, it isn't necessarily a hotplug specific thing.

    And having that MODULE_DEVICE_TABLE for those drivers will allow the
    kernel to load those modules when the bus is scanned for new cards, like
    on boot :)

    thanks,

    greg k-h
    -
    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 13:01    [W:0.022 / U:30.488 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site