Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165016
b: refs/heads/master
c: e55c6d0
h: refs/heads/master
v: v3
  • Loading branch information
Olivier Bornet authored and Greg Kroah-Hartman committed Sep 23, 2009
1 parent 82309bf commit 0f84f16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 02b180665279df9de6b121ce0b4d42ce4f04c411
refs/heads/master: e55c6d06fead7e58b7c597fd9afc46a88ef740e6
7 changes: 6 additions & 1 deletion trunk/drivers/usb/serial/iuu_phoenix.c
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ static int cdmode = 1;
static int iuu_cardin;
static int iuu_cardout;
static int xmas;
static int vcc_default = 5;

static void read_rxcmd_callback(struct urb *urb);

Expand Down Expand Up @@ -115,7 +116,7 @@ static int iuu_startup(struct usb_serial *serial)
kfree(priv);
return -ENOMEM;
}
priv->vcc = 5; /* 5 V for vcc by default */
priv->vcc = vcc_default;
spin_lock_init(&priv->lock);
init_waitqueue_head(&priv->delta_msr_wait);
usb_set_serial_port_data(serial->port[0], priv);
Expand Down Expand Up @@ -1339,3 +1340,7 @@ MODULE_PARM_DESC(clockmode, "Card clock mode (1=3.579 MHz, 2=3.680 MHz, "
module_param(cdmode, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(cdmode, "Card detect mode (0=none, 1=CD, 2=!CD, 3=DSR, "
"4=!DSR, 5=CTS, 6=!CTS, 7=RING, 8=!RING)");

module_param(vcc_default, int, S_IRUGO | S_IWUSR);
MODULE_PARM_DESC(vcc_default, "Set default VCC (either 3 for 3.3V or 5 "
"for 5V). Default to 5.");

0 comments on commit 0f84f16

Please sign in to comment.