On Sat, 7 Jun 2003 15:44:04 +0200 Daniele Bellucci <[EMAIL PROTECTED]> wrote:

| Hi,
| this patch add LP_ABORTOPEN ioctl in usb lp device driver.
| 
| As you can see a member flags is nedeed in struct usblp, i think we could
| move usblp->used in usblp->flags.
| For example, in usblp_open rather that check usblp->used we can do something
| like:
| if (test_and_set_bit(LP_BUSY_BIT_POS), usblp->flags)
|     return -EBUSY
| 
| this is an idea and, offcourse, a TODO if this patch is applied.
| 
| Greg | Randy: pleasy apply, and tell me if i have to backport in 2.4
| 
| Corrections, and suggestions are welcome.

Hi Daniele,

Were you able to test this new code path?  If so, how?

More comments after I try to test it...

--
~Randy


-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to