diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2008-05-26 11:29:51 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2008-05-26 11:29:51 +0000 |
commit | 6ed1f6dd85bea0db0d110bba8f137da5544129fc (patch) | |
tree | b1433afb65b3edad22d7c3fe874f2125cb147c35 | |
parent | 87fa6015da05739ff779b4d4a9a612f83b88278c (diff) |
Limit to 80 char width and tweak comments for readability.
-rw-r--r-- | sys/dev/usb/umsm.c | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/sys/dev/usb/umsm.c b/sys/dev/usb/umsm.c index 98486b99d2c..3bae5c1e202 100644 --- a/sys/dev/usb/umsm.c +++ b/sys/dev/usb/umsm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: umsm.c,v 1.26 2008/05/26 11:20:39 jsg Exp $ */ +/* $OpenBSD: umsm.c,v 1.27 2008/05/26 11:29:50 jsg Exp $ */ /* * Copyright (c) 2006 Jonathan Gray <jsg@openbsd.org> @@ -183,13 +183,18 @@ umsm_attach(struct device *parent, struct device *self, void *aux) id = usbd_get_interface_descriptor(sc->sc_iface); if (id == NULL || id->bInterfaceClass == UICLASS_MASS) { - /* Huawei E220 require special command to change its mode to modem */ + /* + * Huawei E220 requires a special command to change into + * modem mode + */ if (uaa->vendor == USB_VENDOR_HUAWEI && - uaa->product == USB_PRODUCT_HUAWEI_E220 && uaa->ifaceno == 0) { + uaa->product == USB_PRODUCT_HUAWEI_E220 && + uaa->ifaceno == 0) { umsm_e220_changemode(uaa->device); /* - * the device will reset its own bus from device side, therefore - * we only return from this device probe process. + * The device will reset its own bus from the + * device side, so we just return from this device + * probe process. */ printf("%s: umass only mode. need to reattach\n", sc->sc_dev.dv_xname); |