RE: devicefs requests

Matt_Domsch@Dell.com
Wed, 25 Sep 2002 17:03:09 -0500


> But what do you do with the usb_bus_type? Why would your code use
> anything that is private to the driver core?

Fair enough. I actually only need the 64-bit unique ID that the USB device
provides, and its parent PCI device. EDD provides this info as x86 BIOS
sees it, so my code compares the two, and will make a symlink between the
two. This lets the OS know which device BIOS thinks it is (i.e. to know
what disk you're booting from).

True, I don't (today) see a unique ID in struct usb_device. Hopefully
that's something that can be added in the future. Functions which expose
this info separate from exporting the bus type would be great.

SCSI has a different set of things that EDD needs exported (channel, id,
lun). IDE still different (channel, number (master/slave)), plus parent PCI
device.

> Oh yeah, it's "driverfs" not "devicefs" :)

Yes, my bad.

Thanks,
Matt

--
Matt Domsch
Sr. Software Engineer, Lead Engineer, Architect
Dell Linux Solutions www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com

- 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/