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

From: Roland Dreier
Date: Tue Nov 23 2004 - 01:50:41 EST


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