Commit Graph

2823 Commits

Author SHA1 Message Date
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