Commit Graph

10 Commits

Author SHA1 Message Date
drochner
8258b792b7 Introduce different autoconf interface attributes for USB drivers
matching (and handling) a whole device and those which match an
interface only. This will allow to enforce some rules, eg that
the former don't use interface information for matching or that the
latter don't modify global device state.
The previous way left too much freedom do the drivers which led to
inconsistencies and abuse.
For now, I've not changed locators and submatch rules, this will
happen later.
There should not be any change in behaviour, except in the case of
some drivers which did behave inconsistently:
if_atu, if_axe, uep: matched the configured device in the interface
 stage, but did configuration again. I've converted them to match
 in the device stage.
ustir, utoppy: matched in the interface stage, but only against
 vendor/device information, and used any configuration/interface
 without checking. Changed to match in device stage, and added
 some simple code to configure and use the first interface.
If you have one of those devices, please test!
2007-03-13 13:51:53 +00:00
gdt
3a8d10addf Add Novatel Merlin, used in VZ V620.
From John Nielsen on freebsd-mobile.
Not tested, but almost certainly better than attaching as ugen.

FreeBSD has a UQ_ASSUME_CM_OVER_DATA quirk for this device; I can't
figure out what that means.
2007-02-05 15:13:28 +00:00
gdt
53eda44ae8 Match Novatel FlexPak GPS receiver and Sierra Aircard 580 (used with
Sprint EVDO).   From Armando Caro via acert.ir.bbn.com.
2006-10-11 14:32:28 +00:00
martin
74f5218c64 Initialize portno 2006-06-28 18:20:36 +00:00
elad
2867b68bc3 integrate kauth. 2006-05-14 21:42:26 +00:00
gdt
d31e45961d Add ids for Qualcomm MSM5500 as found in Kyocera KPC650.
Makes Kyocera KPC650 work with Verizon EVDO service.
(Removing the card results in a kernel page fault; this seems to be a
cardbus ohci issue, not a ugensa issue.)
2006-03-25 14:15:45 +00:00
christos
95e1ffb156 merge ktrace-lwp. 2005-12-11 12:16:03 +00:00
augustss
834327c847 Don't keep the devinfo string on the stack, instead use malloc/free.
This should cure some rare stack overflows.
2005-05-11 10:02:28 +00:00
elric
84f1219a04 Fix typo. 2005-01-23 01:25:57 +00:00
elric
504ce9bd7d new driver: usb generic serial adapter.
approved by:	augustss@netbsd.org	(code)
		christos@netbsd.org	(driver name)
2005-01-23 01:25:04 +00:00