Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(399)

Unified Diff: drivers/net/usb/gobi/qmidevice.c

Issue 6672003: CHROMIUM: qcusbnet: Add gobi3k support. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/kernel.git@master
Patch Set: Fixes per jglasgow. Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « drivers/net/usb/gobi/qcusbnet.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: drivers/net/usb/gobi/qmidevice.c
diff --git a/drivers/net/usb/gobi/qmidevice.c b/drivers/net/usb/gobi/qmidevice.c
index a53a0900f2ce73f6fb1f81337eaa0100af13cc08..33df8261612cb3d32a8846516fe13cae4d9ad49c 100644
--- a/drivers/net/usb/gobi/qmidevice.c
+++ b/drivers/net/usb/gobi/qmidevice.c
@@ -166,7 +166,7 @@ static void read_callback(struct urb *urb)
data = urb->transfer_buffer;
size = urb->actual_length;
- print_hex_dump(KERN_INFO, "QCUSBNet2k: ", DUMP_PREFIX_OFFSET,
+ print_hex_dump(KERN_INFO, "gobi-read: ", DUMP_PREFIX_OFFSET,
16, 1, data, size, true);
result = qmux_parse(&cid, data, size);
@@ -255,7 +255,7 @@ static void int_callback(struct urb *urb)
}
} else {
DBG("ignoring invalid interrupt in packet\n");
- print_hex_dump(KERN_INFO, "QCUSBNet2k: ",
+ print_hex_dump(KERN_INFO, "gobi-int: ",
DUMP_PREFIX_OFFSET, 16, 1,
urb->transfer_buffer,
urb->actual_length, true);
@@ -523,7 +523,7 @@ static int write_sync(struct qcusbnet *dev, char *buf, int size, u16 cid)
NULL, dev);
DBG("Actual Write:\n");
- print_hex_dump(KERN_INFO, "QCUSBNet2k: ", DUMP_PREFIX_OFFSET,
+ print_hex_dump(KERN_INFO, "gobi-write: ", DUMP_PREFIX_OFFSET,
16, 1, buf, size, true);
sema_init(&sem, 0);
@@ -1242,7 +1242,7 @@ int qc_register(struct qcusbnet *dev)
}
printk(KERN_INFO "creating qcqmi%d\n", qmiidx);
- device_create(dev->qmi.devclass, NULL, devno, NULL, "qcqmi%d", qmiidx);
+ device_create(dev->qmi.devclass, &dev->iface->dev, devno, NULL, "qcqmi%d", qmiidx);
dev->qmi.devnum = devno;
return 0;
« no previous file with comments | « drivers/net/usb/gobi/qcusbnet.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698