[openib-general] Re: [PATCH][RFC/v1][9/12] Add InfiniBand userspace MAD support

Roland Dreier roland at topspin.com
Mon Nov 22 22:45:02 PST 2004


    Greg> class_simple_device_add returns a pointer to a struct
    Greg> class_device * that you can then use to create a file in
    Greg> sysfs with.  That should be what you're looking for.

Shouldn't the ABI version be an attribute in /sys/class/infiniband_mad
rather than being per-device?  (I'm already creating several
per-device attributes for the devices I get back from class_simple_device_add).

 - R.



More information about the general mailing list