DragonFly-2.3.1.153.g7ffe1 master sys/dev/usbmisc/ugensa ugensa.c
Sascha Wildner
swildner at crater.dragonflybsd.org
Sun May 31 03:10:00 PDT 2009
commit 7ffe1f6754372419182d1b1ab761af18a6d28090
Author: Sascha Wildner <saw at online.de>
Date: Sun May 31 12:07:36 2009 +0200
ugensa(4): Fix handling of Huawei modems.
Basically move the calling of the reattach code to get the Huawei
modem out of mass storage mode into the _match() routine and
simplify the logic behind when calling it and when not.
Now it is called for any Huawei modem if it has only one interface,
probably only a mass storage interface. Normally this mass-storage
interface is used under windows as it carries the windows-drivers
for the device. As we don't need it, we just tell the box that we
want the modem interface and not mass storage.
Dragonfly-bug: <http://bugs.dragonflybsd.org/issue1324>
Submitted-by: Alex Hornung <ahornung at gmail.com>
Tested-by: Brendan Kosowski <bmk at bmk.com.au>
Approved-by: hasso
Summary of changes:
sys/dev/usbmisc/ugensa/ugensa.c | 48 +++++++++++++++++----------------------
1 files changed, 21 insertions(+), 27 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ffe1f6754372419182d1b1ab761af18a6d28090
--
DragonFly BSD source repository
More information about the Commits
mailing list