Messages in this thread | | | From | Roland Dreier <> | Date | Mon, 22 Nov 2004 22:45:02 -0800 | Subject | Re: [PATCH][RFC/v1][9/12] Add InfiniBand userspace MAD support |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |