[lkml]   [2000]   [Nov]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: sunhme.c patch for new PCI interface (UNTESTED)
    In article <> you wrote:

    > I never ported it to the new PCI interfaces strictly because when
    > combined with SBUS it makes the driver initialization look really
    > sloppy.

    BTW, what do you think of a new PCI style probing for SBUS?
    When I hacked on a small sbus driver, I thought it might be a good idea
    to have tables like the new PCI interface for all busses.

    The interface for SBUS would be:

    struct sbus_device_id {
    char * promname;
    unsigned long driver_data;

    struct sbus_driver {
    struct list_head node;
    char * name;
    struct sbus_device_id * id_table;

    int (* probe)(struct sbus_dev * dev, const struct sbus_device_id * id);
    void (* remove)(struct sbus_dev * dev);

    Would you accept such a change for 2.5?


    Always remember that you are unique. Just like everyone else.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:45    [W:0.024 / U:4.276 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site