diff options
author | David Woodhouse <dwmw2@infradead.org> | 2005-12-23 16:41:41 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2006-01-04 13:51:44 -0800 |
commit | a9714c845c0681a203a9ae22aa5165ec72c51d33 (patch) | |
tree | f08697d81eca4e6e877b0d3d3561f7f8bf8111e7 /lib | |
parent | 318e479eb7ad9a948c6da381976d258464413816 (diff) | |
download | op-kernel-dev-a9714c845c0681a203a9ae22aa5165ec72c51d33.zip op-kernel-dev-a9714c845c0681a203a9ae22aa5165ec72c51d33.tar.gz |
[PATCH] USB: Export IEEE-1284 device id in sysfs for usblp devices
I looked at the userspace code which uses the LPIOC_GET_DEVICE_ID ioctl
and I almost went blind. Let's export it in sysfs instead, and just as a
string instead of with a big-endian length at the beginning of it.
This also prints the message about finding the printer _after_ we know
the minor device number it's going to have, rather than reporting all
printers as 'usblp0'.
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions