Commit Graph

2925 Commits

Author SHA1 Message Date
degroote 0e9691e3e3 Fix a number of driver which doesn't check wep flag in *_tx_mgt.
It is incorrect because we need to encrypt some management frame in case of
shared authentification.
2007-10-21 17:03:37 +00:00
ad a2a3828545 machine/{bus,cpu,intr}.h -> sys/{bus,cpu,intr}.h 2007-10-19 11:59:34 +00:00
xtraeme ee740853d7 regen 2007-10-14 01:09:00 +00:00
xtraeme fe47e4a5cf umidi(4) entries plus quirks for Roland UA25, UA4FX and SonicCell.
Submitted by DHOYASHIKI Shinichi via PR kern/36834.
2007-10-14 01:08:35 +00:00
ad 46ed8f7d77 Use the softint API. 2007-10-08 16:18:02 +00:00
veego d7415fbd43 Add support to ignore hid attachments for some devices, right now MGE and
APC UPS devices.
No objections on tech-kern at the end of June 2007
Patch is from PR kern/31884
2007-10-03 15:01:28 +00:00
plunky 2e43d32311 fix typo : -> ; 2007-10-02 05:53:47 +00:00
plunky 0327efae31 clean up activate function 2007-10-02 05:38:06 +00:00
mlelstv 33b1e31ca5 Regen 2007-09-22 08:37:33 +00:00
mlelstv 40f327bf0a Add different models of the i-Bead Musicstick 2007-09-22 08:37:01 +00:00
mlelstv 1d76013c7f Regen. 2007-09-22 07:42:12 +00:00
mlelstv 7842ee46ad Another UMTS device from Option N.V. 2007-09-22 07:41:29 +00:00
mlelstv 43bf615b6b Add config information for uslsa(4) to the list 2007-09-22 07:40:19 +00:00
mlelstv 50c43c7f9f Regen. 2007-09-16 10:53:28 +00:00
mlelstv 3d9a003a8b add product code for Huawei E220 HSDPA USB Modem 2007-09-16 10:51:14 +00:00
riz ed3a102d07 Remove a comment that is no longer true - this driver does, in fact,
support multiple serial ports.
2007-09-13 21:01:48 +00:00
gson a74fd1b8dc Fix typo in comment 2007-09-09 16:35:13 +00:00
plunky 086f1f09f5 fix misleading comment 2007-09-08 07:46:13 +00:00
plunky c212c4900f move the HID processing defs to a higher context, since it is used by
bluetooth and USB code.
2007-09-07 20:17:37 +00:00
tshiozak d0a32c7b25 add support for WinChipHead CH341/340 USB-Serial bridge. 2007-09-03 17:57:36 +00:00
tshiozak ad88e4382b sync with the last change of usbdevs. 2007-09-03 17:43:20 +00:00
tshiozak 64af3fdf23 add vendor WINCHIPHEAD and product CH341SER. 2007-09-03 17:41:41 +00:00
riz f6f3fbbfc3 Properly support both ports of the FTDI 2232C. This allows me to
use all 16 ports of my USB-16COM-RM adapter.  I also verified that
single-port units still work as expected.
2007-09-02 22:35:25 +00:00
dyoung dcd8923429 Change a bazillion occurrences of code resembling this,
error = (cmd == SIOCADDMULTI) ?
	    ether_addmulti(ifr, &sc->sc_ec) :
	    ether_delmulti(ifr, &sc->sc_ec);

	if (error == ENETRESET) {

to this,

	if ((error = ether_ioctl(ifp, cmd, data)) == ENETRESET) {

which does the same thing.

(A bazillion is a very large number.  This seems to make the i386
ALL kernel smaller by 3kB to 4kB.)

Use ifreq_getaddr() twice in es(4).

Whitespace nits.
2007-09-01 07:32:22 +00:00
dyoung f59a11881a Constify: LLADDR() -> CLLADDR(). 2007-08-29 22:33:42 +00:00
xtraeme 7479c7d76e Use rw_destroy() in the detach function. Spotted by rmind@. 2007-08-27 17:49:54 +00:00
xtraeme 87186fcca6 Use rwlock(9) rather than lockmgr(9). 2007-08-27 15:57:13 +00:00
dyoung 71e77a61b4 Constify: LLADDR -> CLLADDR. I'm aiming here to make it easier to
identify sockaddr_dl abuse that remains in the kernel, especially
the potential for overwriting memory past the end of a sockaddr_dl
with, e.g., memcpy(LLADDR(), ...).
2007-08-26 22:45:55 +00:00
sborrill d07cbdc44b Regen 2007-08-18 20:24:33 +00:00
sborrill e8925d472b Add support for SMART Technologies-badged Prolific USB-Serial converter 2007-08-18 20:23:04 +00:00
kiyohara 66161689a5 Already called *_free_[rt]x_list() in *_stop(). 2007-08-15 16:58:54 +00:00
kiyohara 2db72b9118 * splsoftusb, IPL_SOFTUSB, and IPL_HARDUSB defines in usbdi.h
-> the current names are confusing (didn't change other drivers)
* fix invalid memory access in usbd_transfer (kern/24636)
-> needed for this driver
* fix USB HC detach race condition (kern/32011)
-> main patch needed for this driver, sc_dying changes in other drivers
not necessary but seem right to me

Patch from Matthew Orgass.
  http://mail-index.netbsd.org/tech-kern/2007/06/26/0001.html
2007-08-15 04:00:33 +00:00
jmcneill 2a8951f91f Clear the run flag in the command register when powering down, from
FreeBSD. Makes my laptop, and hopefully others, successfully sleep. Waking
up is a different story...
2007-08-01 22:40:16 +00:00
dyoung c342db9666 Use printf("%zx", arg) instead of printf("%lx", (unsigned long)arg).
Use __arraycount().
2007-07-16 15:55:38 +00:00
nisimura 80496a1328 regen usbdevs.h and usbdevs_data.h 2007-07-16 07:08:49 +00:00
nisimura d99ce83fb8 Redo the previous change, suffered from an accidental removal of ShanTou. 2007-07-16 07:05:27 +00:00
nisimura ed16ca3c2c add PLANEX/PCI GW-US54GXS USB WLAN stick device ID. Not working well yet.
Linked with AP but no real xfer is observed so far.  Hope this helpful for
further debugging.
2007-07-16 06:56:23 +00:00
ad bba99c25aa Generic soft interrupts are mandatory. 2007-07-14 21:02:36 +00:00
xtraeme ff350d3235 regen 2007-07-12 21:24:35 +00:00
xtraeme e05b0ff702 SB-NIC Shantou ST268 for udav(4), patch from Julian Suschlik
via current-users@... thanks.
2007-07-12 21:24:02 +00:00
rmind 20bbb87e34 Implementation of per-CPU work-queues support for workqueue(9) interface.
WQ_PERCPU flag for workqueue and additional argument for workqueue_enqueue()
to assign a CPU might be used. Notes:
 - For now, the list is used for workqueue_queue, which is non-optimal,
   and will be changed with array, where index would be CPU ID.
 - The data structures should be changed to be cache-friendly.

Reviewed by: <yamt>, <tech-kern>
2007-07-12 20:39:56 +00:00
drochner e2da0057b3 Stopgap fix to avoid crash on detach if the attach failed due to eg
USB problems - just return in detach if the softc appears not to be
filled in completely.
(This is a common problem with usb and probably other drivers which
support detach; we need some API support to deal with this cleanly.)
2007-07-11 20:13:14 +00:00
ad 88ab7da936 Merge some of the less invasive changes from the vmlocking branch:
- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements
2007-07-09 20:51:58 +00:00
mlelstv e044ee54b9 Fix typo that prevents port reset after several retries. 2007-06-30 09:17:45 +00:00
itohy 25a6244f88 Regen from usbdevs rev 1.477. 2007-06-28 03:13:43 +00:00
itohy c52b34e473 Add vendors and products from FreeBSD/OpenBSD.
- for ubsa(4):
	Add vendor Huawei Technologies and its product Huawei Mobile
	GlobeTrotter 3G Quad Plus

 - for uipaq(4):
	ASUSTeK MyPal A730
2007-06-28 03:13:01 +00:00
itohy aa6964a386 Regen from usbdevs rev 1.476. 2007-06-24 10:56:32 +00:00
itohy ff96cdce81 Sort vendors and products by number.
Remove duplicates.
2007-06-24 10:43:23 +00:00
veego 4d897a6e25 Regen after the usbdevs updates in rev 1.474 and 1.475 2007-06-24 10:07:05 +00:00
veego 1419b5b5c5 - Add the MGE vendor and two entries.
- Change the APC entry, because it is not Back-UPS Pro 500 specific, it
  is used for more UPS's
Based on a patch from PR kern/31884
2007-06-24 10:02:45 +00:00
itohy a58d97bba2 usbdevs:
Add vendors and products from FreeBSD/OpenBSD.
 - for aue(4):
	ADMtek AN986A Ethernet
	Add vendor ELCON Systemtechnik and its product Goldpfeil P-LAN
	ELECOM LD-USB20
	Mobility EasiDock Ethernet
	SIIG2 USB TO Ethernet

 - for axe(4):
	Acer Communications & Multimedia EP-1427X-2 Ethernet
	ASIX AX88178 USB 2.0 10/100 Ethernet adapter
	ATen UC210T Ethernet
	Belkin F5D5055 Ethernet adapter
	Billionton USB2AR Ethernet
	D-Link DUB-E100 rev B1
	Good Way Technology GWUSB2E
	I-O DATA ETG-US2
	Ethernet port in the JVC MP-PRX1 port replicator.
	Add new vender ID for Linksys (LINKSYS4) and its product USB1000
	OQO model 01+ Ethernet

 - for cdce(4):
	Acer Labs M5632 USB 2.0 Data Link
	Add vendor Ambit Microsystems and its product NTL 250 cable modem
	COMPAQ iPAQ Linux
	Add vendor G.Mate Inc. and its product YP3X00 PDA
	Two Motorola devices (FreeBSD/OpenBSD don't have the details)
	NetChip Linux Ethernet/RNDIS gadgets

 - for kue(4):
	Silicom Psion Gold Port Ethernet

 - for ural(4):
	Belkin F5D7051 54g USB Network Adapter
	GIGABYTE GN-54G
	Siemens Info 54g USB Network Adapter

 - for url(4):
	AboCom RTL8151
	RealTek RTL8151 PNA
	ZyXEL Prestige

Remove duplicates.
Whitespace police.
2007-06-24 09:46:29 +00:00
itohy 7edfc5dbe5 PROLIFIC2 -> NETINDEX 2007-06-22 16:39:27 +00:00
itohy 7d053c92ba Regen from usbdevs rev 1.473. 2007-06-22 16:37:46 +00:00
itohy c343e9c214 Sort.
Remove duplicate.
2007-06-22 16:32:38 +00:00
itohy 2053de92a0 Vendor ID 0x11f6 is used by at least two products from NetIndex Inc.
("DD" (0x11f6/0x2001) and firmware loader of "nico." (0x11f6/0x3001)),
and 0x11f6 is probably the vendor ID of NetIndex.
2007-06-22 16:06:30 +00:00
kiyohara 15e10848b3 Fix rqp->len is a number of read registers. 2007-06-21 04:04:29 +00:00
dsainty ad838ebf9b Regen. 2007-06-18 12:24:48 +00:00
dsainty ac96097e58 Add AX88772 USB 2.0 10/100 Ethernet adapter 2007-06-18 12:24:04 +00:00
kiyohara 62ad7214e7 Change transfer size to 64byte. When the transfer size is 4096 bytes, it
is not likely to be able to transfer it.
2007-06-16 11:27:40 +00:00
kiyohara c3234fb8d7 We occasionally access the register from two or more processes. Please
use the simple-queue.
2007-06-16 11:18:45 +00:00
kiyohara cc7db3d88b splnet() is called earlier than bpf_mtap2(). 2007-06-16 11:09:31 +00:00
kiyohara b89e8f1348 Remove multiple bpfdetach(). 2007-06-16 11:02:19 +00:00
dsainty dc8d3a6ad6 Regen. 2007-06-16 09:43:35 +00:00
dsainty 68141d1a5e Add Silicon Integrated Systems 163U 802.11g Wireless LAN Adapter 2007-06-16 09:42:17 +00:00
dyoung 119721c126 Use %zu format for size_t. 2007-06-15 19:06:09 +00:00
uebayasi 81e54d23b2 I-O DATA USB-RSAQ5 needs UPLCOM_TYPE_HX hack. Pointed out by Kouichirou
Hiratsuka.
2007-06-14 01:22:52 +00:00
nathanw 2b39a52d95 Set portno in ucom_attach_args, to UCOM_UNK_PORTNO. The port number is
unused in this driver's callbacks, so this is an aesthetic rather than
functional change ("ucom0 at uslsa0" rather than "ucom0 at uslsa0
portno -848524548").
2007-06-13 17:14:25 +00:00
uebayasi 7ae95bbb8f Teach I-O DATA USB-RSAQ5. 2007-06-13 00:31:21 +00:00
uebayasi d140af6f40 Regen. 2007-06-13 00:30:54 +00:00
uebayasi 43bf2305f9 Add I-O DATA USB-RSAQ5.
http://www.iodata.jp/news/2007/05/usb-rsaq5.htm
2007-06-13 00:30:11 +00:00
kiyohara afb9a4457b Oops.
It mistook to commit.
  uath(4) not inport yet.
2007-06-12 07:06:48 +00:00
kiyohara 83e06e734e Use usb_callout. 2007-06-09 12:13:12 +00:00
kiyohara bbec0bb7bf Added OpenBSD's zyd(4) driver.
Supports ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device.
2007-06-09 11:20:54 +00:00
kiyohara 6a47d5a6c8 Regen. 2007-06-09 11:18:45 +00:00
kiyohara 5f6e202881 Add ZyDAS ZD1211 devs. 2007-06-09 11:17:02 +00:00
jmcneill 58b50f5359 Regen. 2007-06-01 17:49:19 +00:00
jmcneill 635fbd63e1 Add RIM BlackBerry. 2007-06-01 17:48:56 +00:00
xtraeme a092715e1b Add missing __KERNEL_RCSID() and missing $NetBSD$ tag. 2007-05-21 02:13:11 +00:00
mlelstv e9fd5309a1 Retry set_address function for very slow (out of spec) devices, just
like FreeBSD.
2007-05-20 09:24:55 +00:00
dogcow 2d38890bb5 From PR kern/33496 - add uslsa(4), a CP210x USB-RS232 ucom driver.
After minor hacks, it compiles without problems; however, it's not been tested
with an actual device.
2007-05-20 05:08:17 +00:00
dogcow 7103bb1242 Regenerate. 2007-05-20 05:05:32 +00:00
dogcow 534638ad53 add devs for uslsa; data taken from OpenBSD's usbdevs. 2007-05-20 05:05:06 +00:00
is a1569485fe SigmaTels not-quite-UIRDA devices: STIr4116, STIr4220 2007-05-11 13:12:14 +00:00
xtraeme 5c606d1bff regen 2007-05-07 07:29:19 +00:00
xtraeme ef71458b16 Sync the list of supported models with OpenBSD, 4 new models were
added.
2007-05-07 07:29:03 +00:00
xtraeme ec414f7633 regen 2007-05-07 07:15:16 +00:00
xtraeme 0a7a89a5bc Sync the list of supported models with OpenBSD, 13 new models were
added.
2007-05-07 07:14:58 +00:00
xtraeme e62012ff3e regen 2007-05-07 05:44:24 +00:00
xtraeme 0065b980ca Add support for ASUS WL-167g ver 2, from PR kern/35113 (Dave Huang). 2007-05-07 05:44:00 +00:00
jnemeth b38463376a add firmload attribute to rum, thanks to Paul Goyette on current-users 2007-05-06 22:54:20 +00:00
skrll e8d4c9a153 Regen for DeLorme Earthmate LT-20 GPS 2007-05-03 06:34:17 +00:00
skrll 01ad9806cd Add the DeLorme Earthmate LT-20 GPS.
Prompted by David Howland.
2007-05-03 06:33:23 +00:00
is 1c9f73a029 First part of Code for SigmaTels not-quite-UIRDA dongles.
I missed the USB stack rework, so more work needs to be done to
connect them to uirda.c and the USB subsystem.
2007-04-27 14:42:49 +00:00
christos e6e1d4eb1a PR/36102: Yojiro UO: Restore revision 1.142's way of reading the descriptor
because uplcom hangs otherwise. Also reported by Anon Ymous.
2007-03-30 16:52:12 +00:00
drochner 27622eb242 Work around imperfect hub emulation in the ehci root hub (ohci is affected
too, but that's not critical): real hubs send port status change
notifications until acknowledged, ehci/ohci send only once so there is
a chance that this gets lost if notifications are disabled during a scan.
The temporary fix is to force a rescan; the real fix will involve a
change in interrupt handling in ehci/ohci which needs more work and
testing.
ehci is critical because a port status change during scan regularely
happens if a full/lowspeed device is connected, due to the handover
process.
Fixes a problem where full/lowspeed devices were not reattached after
a disconnect, reported by Kouichirou Hiratsuka and Juan RP
on current-users.
2007-03-23 21:51:34 +00:00
drochner 4d1d1f005b fix variable in DEBUG code, from Lubomir Kundrak per PR kern/36036 2007-03-19 14:02:56 +00:00
drochner 82d96e1fac Keep track of the per-port status change notifications coming in
through the interrupt pipe; during exploration check only the ports
where we got such a notification. This speeds up things.
(I believe we should go a step further and use a thread per hub
instead of per bus. If power management gets implemented, we should
be able to react quickly on a resume event.)
Try to simplify the logics in the explore function a bit. (The reattach
thing was hacked in badly, not sure whether I broke it. Only used
by if_atu.)
Clean up some dead code.
2007-03-15 15:29:09 +00:00
drochner dc9d1127cc kill the private submatch function, use the generic one 2007-03-15 15:11:54 +00:00
drochner f59858473f in usbd_set_config_index, range-check the index 2007-03-15 15:11:19 +00:00
drochner c3d5f3709f add multiple inclusion protection, from KIYOHARA Takashi per PR kern/35997;
being here, unifdef for __NetBSD__ and __HAVE_GENERIC_SOFT_INTERRUPTS
2007-03-13 15:00:07 +00:00
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
plunky 0319d7247c match against the whole device, since we take more than one interface. 2007-03-12 20:32:00 +00:00
mlelstv 99fe08f401 print a size_t value with a size_t format.
The cast is necessary in case someone redefines RT2573_TX_DESC_SIZE.
2007-03-11 09:38:24 +00:00
riz 35b9fbfb52 Match the FTDI "Serial 2232C" chip; this allows a 16-port usb->serial
device from SerialGear I have to work.
2007-03-08 23:21:08 +00:00
riz 9fc61b3d2a Regen for addition of FTDI "Serial 2232C". 2007-03-08 23:14:43 +00:00
riz 42104c1e3d Add FTDI "Serial 2232C" product ID 2007-03-08 23:14:05 +00:00
christos 53524e44ef Kill caddr_t; there will be some MI fallout, but it will be fixed shortly. 2007-03-04 05:59:00 +00:00
wiz 5c09ab218d Add casts to debug printf so it also compiles on i386.
Noted by veego@
2007-02-26 21:35:44 +00:00
drochner 34d41b6ccb Another attempt to read string descriptors at once, this time with
the largest size which makes sense (254). See rev. 1.114-116 for
possible problems, but that was with len=255 which is an impossible
size for a string descriptor.
Someone with a "kue" please test this.
2007-02-26 15:16:59 +00:00
drochner 3ccaca911b -remove "bDescriptorSubtype" from usb_descriptor_t - this is not part
of the common USB spec
-Fix length of string descriptor: Descriptors have only a byte field
 for length, so 2*127+2 is already too much. Some devices obviously
 don't reply to string read requests with impossible length which
 happened if "sizeof(usb_string_descriptor_t) was used.
2007-02-26 13:58:36 +00:00
drochner d91012791a Define a usb_cdc_descriptor_t which contains the class specific
"bDescriptorSubtype" field and change usb_find_desc()/usb_find_desc_if()
to use it. (The latter functions should not be used by generic code;
I've left the names for now for compatibility.)
Rename USBD_SUBTYPE_ANY to make clear that it is not generic.
2007-02-26 13:50:06 +00:00
drochner 47032dbc5e -g/c usbd_init()/usbd_finish() which don't do anything useful
-use <fs/unicode.h> for utf16->utf8 conversion instead of a private
 implementation
-streamline the COMPAT_30 utf16->ascii conversion a bit: remove
 length check (USB_MAX_STRING_LEN is too large to be useful) and
 replace array index arithmetics
2007-02-26 13:44:40 +00:00
drochner 515beb215f g/c calls to usbd_init()/usbd_finish() which don't have an effect 2007-02-26 13:38:09 +00:00
drochner 527f6a72af don't use usb_find_desc() which has some "subtype" semantics which
should not be used outside of device classes defining it
2007-02-26 13:36:01 +00:00
drochner a0afd1c3d9 Remove the check which disallows to connect a bus powered hub to another
bus powered hub. While one can interpret the spec that way, it is not
stated clearly, and is at most a side effect of power budgeting.
Also, there are devices which don't report correctly whether they
are self powered, so the check was unreliable.
2007-02-26 13:33:09 +00:00
drochner ff825e3a80 The manpage promises not to touch the device on USB_GET_DEVICEINFO.
Make it so.
2007-02-26 13:28:56 +00:00
drochner 8fd98300b1 -in root hub emulation, return a sane value as language code
-constify "methods" tables and (partly) descriptor templates
2007-02-26 13:26:45 +00:00
drochner f8b074ef41 allow the bus/pipes methods tables to be const 2007-02-26 13:23:59 +00:00
drochner c033a8d4ed Don't assume that usb_descriptor_t contains a bDescriptorSubtype field.
This is class specific and shouldn't be in a generic definition.
2007-02-26 13:14:11 +00:00
darcy db4d899fe8 Add Canon PowerShot SD630 camera. 2007-02-25 14:22:58 +00:00
wiz 017d008f6d Fix debug format strings (found on amd64). 2007-02-21 15:42:07 +00:00
dyoung 5493f188c7 KNF: de-__P, bzero -> memset, bcmp -> memcmp. Remove extraneous
parentheses in return statements.

Cosmetic: don't open-code TAILQ_FOREACH().

Cosmetic: change types of variables to avoid oodles of casts: in
   in6_src.c, avoid casts by changing several route_in6 pointers
   to struct route pointers.  Remove unnecessary casts to caddr_t
   elsewhere.

Pave the way for eliminating address family-specific route caches:
   soon, struct route will not embed a sockaddr, but it will hold
   a reference to an external sockaddr, instead.  We will set the
   destination sockaddr using rtcache_setdst().  (I created a stub
   for it, but it isn't used anywhere, yet.)  rtcache_free() will
   free the sockaddr.  I have extracted from rtcache_free() a helper
   subroutine, rtcache_clear().  rtcache_clear() will "forget" a
   cached route, but it will not forget the destination by releasing
   the sockaddr.  I use rtcache_clear() instead of rtcache_free()
   in rtcache_update(), because rtcache_update() is not supposed
   to forget the destination.

Constify:

   1 Introduce const accessor for route->ro_dst, rtcache_getdst().

   2 Constify the 'dst' argument to ifnet->if_output().  This
     led me to constify a lot of code called by output routines.

   3 Constify the sockaddr argument to protosw->pr_ctlinput.  This
     led me to constify a lot of code called by ctlinput routines.

   4 Introduce const macros for converting from a generic sockaddr
     to family-specific sockaddrs, e.g., sockaddr_in: satocsin6,
     satocsin, et cetera.
2007-02-17 22:34:07 +00:00
salo 1e8bf357a2 regen. 2007-02-10 14:30:38 +00:00
salo 9cc3a93f72 Add support for CDMA modems sold by Eurotel (now O2) in .cz
From Dan Bilik <dan at mail dot neosystem dot cz> via private mail.
2007-02-10 14:28:55 +00:00
mlelstv f3a70d9e2c Get the correct RCS-IDs included 2007-02-10 10:36:50 +00:00
mlelstv 1fb16b2557 The diagnostic code doesn't track busy_free correctly when a
device gets removed. However, when the diagnostic check fails,
it is much better to complete the free operation than to abort
it, because this just causes an infinite loop.
2007-02-10 07:52:29 +00:00
mlelstv cf2092aa79 Option N.V. is the real vendor, Vodafone just sells the UMTS cards.
Add support for Globetrotter Fusion Quad Lite cards.
2007-02-10 07:44:00 +00:00
ad b07ec3fc38 Merge newlock2 to head. 2007-02-09 21:55:00 +00:00
is f059843a6c MosChip IrDA bridges 2007-02-07 10:30:19 +00:00
elad f53a75d646 regen 2007-02-06 15:01:30 +00:00
elad b5f35499b1 PR/35552: Yojiro UO: add new devices for rum(4)
Patch applied, thanks!

(needs regen)
2007-02-06 14:30:09 +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 7d88c942e2 regen 2007-02-05 14:08:51 +00:00
gdt 8929326988 mark second novatel id as NOVATEL2 2007-02-05 14:08:16 +00:00
gdt 43c45b264c add second Novatel id, for CDMA chip as found in Verizon V620.
From John Nielsen on freebsd-mobile.
2007-02-05 14:05:48 +00:00
is 390a01e1f0 Only the SigmaTel 4220 is _very_ fast 2007-02-02 09:39:24 +00:00
msaitoh 053d47d1f3 add an entry for Willcom WS002IN PHS device(Prolific Technology PL2303X).
PR#35512
2007-01-31 10:11:50 +00:00
mjf 5b48fe33c5 PR kern/35527 - Patch applied, thanks! 2007-01-31 10:09:17 +00:00
msaitoh 597ba6f639 regen 2007-01-31 10:08:53 +00:00
msaitoh b7e0d69761 add entries for Prolific Technology's PL2303X 2007-01-31 10:07:31 +00:00
skrll 84371f955a Regen for mjf. Linux didn't work for him. 2007-01-31 10:06:16 +00:00
mjf bfb506d699 Add SHARP WS007SH USB device. 2007-01-31 10:00:03 +00:00
hubertf eda05c6413 Remove more duplicate headers.
Patch by Slava Semushin <slava.semushin@gmail.com>

Again, this was tested by comparing obj files from a pristine and a patched
source tree against an i386/ALL kernel, and also for src/sbin/fsck_ffs,
src/sbin/fsdb and src/usr.sbin/makefs. Only changes in assert() line numbers
were detected in 'objdump -d' output.
2007-01-29 01:52:43 +00:00
drochner 72af1800e4 There are devices which don't report the "self powered" state correctly
in the device status word (at least Palmpilot; comments in Linux
indicate that there are more).
So don't use this information, just use the bit in the configuration
descriptor we are attempting to set. (It is of little use anyway,
perhaps the code can be simplified further.)
Thanks to Steven M. Bellovin for running some tests with a Palmpilot.
2007-01-24 12:36:56 +00:00
drochner a2f923ec42 In detach(), check for incomplete initialisation which might happen if
attach() encounters an error.
avoids a NULL pointer dereference panic reported by Steven M. Bellovin
2007-01-24 12:26:49 +00:00
ghen ac00a3df1f The Graphire's are 4x5 and 6x8, not 4x6. 2007-01-22 19:48:57 +00:00
ghen 11405ff194 Regen. 2007-01-22 19:40:21 +00:00
ghen f391a807d6 Add ID's for the Graphire3 6x8 (from PR 35111) and Graphire4 4x5 (tested by
myself).
2007-01-22 19:39:37 +00:00
apb 8bf6b18942 Regen. 2007-01-21 07:12:50 +00:00
apb 022e630f86 Fix typo in name of USA-19QW.
Reported in PR 35452 from H. Todd Fujinaka.
2007-01-21 07:10:50 +00:00