diff options
Diffstat (limited to 'drivers/usb/storage/initializers.c')
-rw-r--r-- | drivers/usb/storage/initializers.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/usb/storage/initializers.c b/drivers/usb/storage/initializers.c index 105d900150c1..5a8b5ff1e45b 100644 --- a/drivers/usb/storage/initializers.c +++ b/drivers/usb/storage/initializers.c | |||
@@ -48,12 +48,12 @@ int usb_stor_euscsi_init(struct us_data *us) | |||
48 | { | 48 | { |
49 | int result; | 49 | int result; |
50 | 50 | ||
51 | US_DEBUGP("Attempting to init eUSCSI bridge...\n"); | 51 | usb_stor_dbg(us, "Attempting to init eUSCSI bridge...\n"); |
52 | us->iobuf[0] = 0x1; | 52 | us->iobuf[0] = 0x1; |
53 | result = usb_stor_control_msg(us, us->send_ctrl_pipe, | 53 | result = usb_stor_control_msg(us, us->send_ctrl_pipe, |
54 | 0x0C, USB_RECIP_INTERFACE | USB_TYPE_VENDOR, | 54 | 0x0C, USB_RECIP_INTERFACE | USB_TYPE_VENDOR, |
55 | 0x01, 0x0, us->iobuf, 0x1, 5000); | 55 | 0x01, 0x0, us->iobuf, 0x1, 5000); |
56 | US_DEBUGP("-- result is %d\n", result); | 56 | usb_stor_dbg(us, "-- result is %d\n", result); |
57 | 57 | ||
58 | return 0; | 58 | return 0; |
59 | } | 59 | } |
@@ -68,7 +68,7 @@ int usb_stor_ucr61s2b_init(struct us_data *us) | |||
68 | unsigned int partial; | 68 | unsigned int partial; |
69 | static char init_string[] = "\xec\x0a\x06\x00$PCCHIPS"; | 69 | static char init_string[] = "\xec\x0a\x06\x00$PCCHIPS"; |
70 | 70 | ||
71 | US_DEBUGP("Sending UCR-61S2B initialization packet...\n"); | 71 | usb_stor_dbg(us, "Sending UCR-61S2B initialization packet...\n"); |
72 | 72 | ||
73 | bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); | 73 | bcb->Signature = cpu_to_le32(US_BULK_CB_SIGN); |
74 | bcb->Tag = 0; | 74 | bcb->Tag = 0; |
@@ -83,7 +83,7 @@ int usb_stor_ucr61s2b_init(struct us_data *us) | |||
83 | if (res) | 83 | if (res) |
84 | return -EIO; | 84 | return -EIO; |
85 | 85 | ||
86 | US_DEBUGP("Getting status packet...\n"); | 86 | usb_stor_dbg(us, "Getting status packet...\n"); |
87 | res = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, bcs, | 87 | res = usb_stor_bulk_transfer_buf(us, us->recv_bulk_pipe, bcs, |
88 | US_BULK_CS_WRAP_LEN, &partial); | 88 | US_BULK_CS_WRAP_LEN, &partial); |
89 | if (res) | 89 | if (res) |
@@ -101,6 +101,6 @@ int usb_stor_huawei_e220_init(struct us_data *us) | |||
101 | USB_REQ_SET_FEATURE, | 101 | USB_REQ_SET_FEATURE, |
102 | USB_TYPE_STANDARD | USB_RECIP_DEVICE, | 102 | USB_TYPE_STANDARD | USB_RECIP_DEVICE, |
103 | 0x01, 0x0, NULL, 0x0, 1000); | 103 | 0x01, 0x0, NULL, 0x0, 1000); |
104 | US_DEBUGP("Huawei mode set result is %d\n", result); | 104 | usb_stor_dbg(us, "Huawei mode set result is %d\n", result); |
105 | return 0; | 105 | return 0; |
106 | } | 106 | } |