Re: patch for sysfs in the cyclades driver

From: Greg KH
Date: Tue Nov 02 2004 - 22:06:20 EST


On Tue, Nov 02, 2004 at 02:51:33PM -0600, Kilau, Scott wrote:
> I know you have done work on USB serial drivers with devices with
> multiple ports...
> Is there any way to create a file in sys that can point back to a port,
> and NOT the port's
> parent (ie, the board) WITHOUT having to create a new kobject per port?

What's wrong with the kobject in /sys/class/tty/ which has one object
per port? I think we might not be exporting that class_device
structure, but I would not have a problem with doing that.

thanks,

greg k-h
-
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/