Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 22099
b: refs/heads/master
c: 71a8924
h: refs/heads/master
i:
  22097: bfb2948
  22095: 8aa973e
v: v3
  • Loading branch information
Greg Kroah-Hartman committed Mar 20, 2006
1 parent 1dc601a commit 0b9865c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e9a66c64bb7033cb0180d419b2008acf7a141adc
refs/heads/master: 71a8924bee63d891f6256d560e32416a458440b3
10 changes: 4 additions & 6 deletions trunk/drivers/usb/serial/omninet.c
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ static void omninet_read_bulk_callback (struct urb *urb, struct pt_regs *regs)
int i;
int result;

// dbg("omninet_read_bulk_callback");
dbg("%s - port %d", __FUNCTION__, port->number);

if (urb->status) {
dbg("%s - nonzero read bulk status received: %d", __FUNCTION__, urb->status);
Expand Down Expand Up @@ -250,7 +250,7 @@ static int omninet_write (struct usb_serial_port *port, const unsigned char *buf

int result;

// dbg("omninet_write port %d", port->number);
dbg("%s - port %d", __FUNCTION__, port->number);

if (count == 0) {
dbg("%s - write request of 0 bytes", __FUNCTION__);
Expand Down Expand Up @@ -302,7 +302,7 @@ static int omninet_write_room (struct usb_serial_port *port)
if (wport->write_urb_busy)
room = wport->bulk_out_size - OMNINET_HEADERLEN;

// dbg("omninet_write_room returns %d", room);
dbg("%s - returns %d", __FUNCTION__, room);

return (room);
}
Expand All @@ -312,7 +312,7 @@ static void omninet_write_bulk_callback (struct urb *urb, struct pt_regs *regs)
/* struct omninet_header *header = (struct omninet_header *) urb->transfer_buffer; */
struct usb_serial_port *port = (struct usb_serial_port *) urb->context;

// dbg("omninet_write_bulk_callback, port %0x\n", port);
dbg("%s - port %0x\n", __FUNCTION__, port->number);

port->write_urb_busy = 0;
if (urb->status) {
Expand All @@ -321,8 +321,6 @@ static void omninet_write_bulk_callback (struct urb *urb, struct pt_regs *regs)
}

schedule_work(&port->work);

// dbg("omninet_write_bulk_callback, tty %0x\n", tty);
}


Expand Down

0 comments on commit 0b9865c

Please sign in to comment.