Commit Graph

151055 Commits

Author SHA1 Message Date
Konstantin Belousov
9fb7bf5584 MFC r205318:
Properly handle compat32 calls to sctp generic sendmsd/recvmsg functions that
take iov.
2010-04-07 14:16:14 +00:00
Konstantin Belousov
6283dea5ca MFC r205319:
Make freebsd32_copyiniov() available outside of freebsd32_misc.
2010-04-07 14:09:29 +00:00
Luigi Rizzo
54d63d7b13 add priority scheduler. 2010-04-07 13:18:58 +00:00
Luigi Rizzo
7b3c0af43e fix breakage in ipfw removal. 2010-04-07 12:42:49 +00:00
Nathan Whitehorn
b47065d16d Regen after MFC of COMPAT_FREEBSD32. 2010-04-07 02:25:36 +00:00
Nathan Whitehorn
4ccf64eb2b MFC r205014,205015:
Provide groundwork for 32-bit binary compatibility on non-x86 platforms,
for upcoming 64-bit PowerPC and MIPS support. This renames the COMPAT_IA32
option to COMPAT_FREEBSD32, removes some IA32-specific code from MI parts
of the kernel and enhances the freebsd32 compatibility code to support
big-endian platforms.

This MFC is required for MFCs of later changes to the freebsd32
compatibility from HEAD.

Requested by:	kib
2010-04-07 02:24:41 +00:00
Andrew Thompson
6836afc4c6 MFC r203147
Add a function to check if the usb devices is still connected.

Submitted by:	Hans Petter Selasky
2010-04-07 00:34:05 +00:00
Andrew Thompson
464b64f6c8 MFC r205036
Implement USB kernel driver detach from userland.

Submitted by:	Hans Petter Selasky
2010-04-07 00:32:59 +00:00
Andrew Thompson
fb8f1e2afc MFC r205681
- add some usb devices (scanner, printer, usb storage)
 - add quirks for the usb storage
2010-04-07 00:30:25 +00:00
Andrew Thompson
3769678a82 MFC r203087
adds sysctl knobs to show rate statistics that it could be useful to
 debug slow TX speed.
2010-04-07 00:27:59 +00:00
Andrew Thompson
1e6c93d364 MFC r202609
Product ID of D-Link DWA-120 after loading the firmware is incorrect.
2010-04-07 00:26:39 +00:00
Andrew Thompson
cfc42a2785 MFC r202608
Remove a hack to attach TRENDnet TEW-504UB/EU, this has been solved.
2010-04-07 00:25:03 +00:00
Andrew Thompson
a811dd8b64 MFC r205805
Do not sync cache for the PL2506

PR:		usb/144915
Submitted by:	Monty Hall
2010-04-06 23:31:22 +00:00
Andrew Thompson
6b6aaa9fcd MFC r205804
Do not swap Apple keys when detecting Apple-FN keyboards.

Reported by:	Steven Noonan
Submitted by:	Hans Petter Selasky
2010-04-06 23:30:57 +00:00
Andrew Thompson
3224ea55bb MFC r205803
Make sure the bsd_urb_list gets initialised and that new URB's are queued at
 the end of the list.

Submitted by:	Hans Petter Selasky
2010-04-06 23:30:30 +00:00
Andrew Thompson
441f5e4c8a MFC r205802
Add PCI IDs for two more nForce controllers.

Submitted by:	Dmitry Luhtionov @ gmail.com
2010-04-06 23:30:02 +00:00
Andrew Thompson
57023f990c MFC r205801
Add a couple of usb product IDs.

Submitted by:	Dmitry Luhtionov @ gmail.com
2010-04-06 23:29:38 +00:00
Andrew Thompson
67232500cd MFC r205043
Add device ID for the NATURAL4000 keyboard
2010-04-06 23:29:14 +00:00
Andrew Thompson
1e426764e8 MFC r205042
- Integrate latest driver code from OpenBSD
 - Drain our tasks from the ieee80211 taskqueue
 - Add more IDs

Submitted by:	Akinori Furukoshi
2010-04-06 23:28:46 +00:00
Andrew Thompson
963d675e13 MFC r205040
extend search for Apple Function Key.

PR:		usb/144414
Submitted by:	Hans Petter Selasky
2010-04-06 23:28:18 +00:00
Andrew Thompson
10cd601e17 MFC r205039
Add new device ID for the SMC 2514HUB

Submitted by:	Alexander Best
2010-04-06 23:27:55 +00:00
Andrew Thompson
d3a6755914 MFC r205038
add new vendor ID for APACER

Submitted by:	Paul B Mahol
2010-04-06 23:27:31 +00:00
Andrew Thompson
33f167cc00 MFC r205035
Make sure there is a way to reset the endpoint FIFO on transfer errors for
 ISOCHRONOUS transfers

Submitted by:	Hans Petter Selasky
2010-04-06 23:27:04 +00:00
Andrew Thompson
252913a125 MFC r205034
For USS820 driver we need to manually reset TX FIFO at each SETUP transaction
 because the chip doesn't do this by itself.

Submitted by:	Hans Petter Selasky
2010-04-06 23:26:40 +00:00
Andrew Thompson
722095f272 MFC r205033
isochronous endpoint descriptors should have two more bytes which are zero by
 default.

Submitted by:	Hans Petter Selasky
2010-04-06 23:26:17 +00:00
Andrew Thompson
4e4177b3d0 MFC r205032
Add new uvisor(4) device ID.

PR:		usb/144201
2010-04-06 23:25:53 +00:00
Andrew Thompson
15a1f2780d MFC r205031
It appears that some UVISOR devices do not handle when the clear stall command
 is issued at the beginning of the initial IN/OUT data transfers.  Reason
 unknown, probably firmware fault. Now the stall is only cleared on data
 transfer errors.

PR:		usb/144199
Submitted by:	Hans Petter Selasky
2010-04-06 23:25:19 +00:00
Andrew Thompson
18fef95d49 MFC r205030
- make the usb_temp_setup() and usb_temp_unsetup() functions public so that
   other modules can generate USB descriptors.
 - extend the vendor specific request function by one length pointer argument,
   because not all descriptors store the length in the first byte. For example
   HID descriptors.

Submitted by:	Hans Petter Selasky
2010-04-06 23:24:55 +00:00
Andrew Thompson
a8562ad046 MFC r205029
Use wMaxPacketSize for the uftdi input buffer size.

Submitted by:	Hans Petter Selasky
2010-04-06 23:24:29 +00:00
Andrew Thompson
14c9d51098 MFC r205026
Reapply r185998 which was overwritten at some point.
2010-04-06 23:24:07 +00:00
Andrew Thompson
b766264da8 MFC r205005
Wrap the proc wakeup special case for ddb in ifdef DDB.

Submitted by:	Giovanni Trematerra
2010-04-06 23:23:43 +00:00
Andrew Thompson
c96e62bb8a MFC r203906
Add device ID for the FTDI 4232H.

PR:		usb/143832
Submitted by:	UEMURA Tetsuya
2010-04-06 23:23:19 +00:00
Andrew Thompson
5821ad555b MFC r203905
Add support for the E1752 3G modem and the required eject command.

Submitted by:	Milan Obuch
2010-04-06 23:22:47 +00:00
Andrew Thompson
5aab223c3c MFC r203903
Make umodem more tolerant for devices which modem descriptors are misplaced.

Reported by:	Erick Wales
Submitted by:	Hans Petter Selasky
2010-04-06 23:22:19 +00:00
Andrew Thompson
76e18c9128 MFC r203899
Add UQ_KBD_BOOTPROTO quirk needed in r203896
2010-04-06 23:21:54 +00:00
Andrew Thompson
2c50fc457c MFC r203896
Detect when we are polling from kernel via cngetc() in the boot process and
 reserve the keypresses so they do not get passed to syscons.

Submitted by:	Hans Petter Selasky
2010-04-06 23:21:30 +00:00
Andrew Thompson
9081202938 MFC r203693
Disable the use of the IAAD usb doorbell on NVidia controllers as it can cause
 the hardware to stall.

Submitted by:	Hans Petter Selasky
2010-04-06 23:21:06 +00:00
Andrew Thompson
9f524548aa MFC r203507
The ZTE MF633R modem has a different type of cdrom driver disk, add the product
 ID and use a standard scsi eject.

Reported by:	Patrick Lamaiziere
2010-04-06 23:20:41 +00:00
Andrew Thompson
62bd90e5c7 MFC r203506
Properly name the 0x0016 ZTE product as MF633R now that its known.
2010-04-06 23:20:13 +00:00
Andrew Thompson
e6fdf62105 MFC r203146
Rework cam error handling to fix Mitsumi floppy drives.

Submitted by:	mav
2010-04-06 23:19:43 +00:00
Andrew Thompson
7ba8e24410 MFC r203145
Simplify attach for UMASS_PROTO_CBI_I mode and change some switch() returns
 into breaks.

Submitted by:	Hans Petter Selesky
2010-04-06 23:19:11 +00:00
Andrew Thompson
ce176213dd MFC r203144
Add null check on quirk lookup and add a couple of umass quirks.

Submitted by:	Hans Petter Selesky
2010-04-06 23:18:41 +00:00
Andrew Thompson
401b356e9b MFC r203143
Add the Netgear WPN111
2010-04-06 23:18:09 +00:00
Andrew Thompson
fe5c7a4e81 MFC r203142
Sync usb products to perforce.
2010-04-06 23:17:43 +00:00
Andrew Thompson
e7cccdd19a MFC r203141
Attempt to recover on a TX error rather than stopping all transfers.

Submitted by:	Hans Petter Selesky
2010-04-06 23:17:13 +00:00
Andrew Thompson
a678556411 MFC r203140
Optimise EHCI ISOC HS done check.

Submitted by:	Hans Petter Selasky
2010-04-06 23:16:40 +00:00
Andrew Thompson
3f3b0d48a9 MFC r203139
Add device ID.

PR:		usb/142427
2010-04-06 23:16:09 +00:00
Andrew Thompson
7e2c44f008 MFC r203138
Use device_printf rather than printf + device_get_nameunit.
2010-04-06 23:15:44 +00:00
Andrew Thompson
13548b8bd0 MFC r203137
Release the firmware after loading to the device.
2010-04-06 23:15:16 +00:00
Andrew Thompson
0b2d5c2977 MFC r203134
Add run(4), a driver for Ralink RT2700U/RT2800U/RT3000U USB 802.11agn devices.

 This driver was written for OpenBSD by Damien Bergamini and ported over by
 Akinori Furukoshi.
2010-04-06 23:14:43 +00:00