Commit Graph

2237 Commits

Author SHA1 Message Date
augustss
c1d4463c05 Add Ethernet descriptor. 2004-10-23 13:24:24 +00:00
kent
1b1a5c5dba assign AudioNlfe to UATO_SUBWOOFER
assign "phone" to telephony terimnal types.  The label "phone" is used
in ac97 though it is not defined as AudioN* macro.
2004-10-22 17:00:22 +00:00
kent
4f3a6c3aa2 style fixes
- consistent folding in function declarations
 - define a function as Static if the function is declared as Static
2004-10-22 16:01:49 +00:00
kent
aaf8d890f0 enclose debug macros with do {...} while (0)
from OpenBSD
2004-10-22 15:36:30 +00:00
kent
ed036bef2a fix wrong realloc() usage.
from OpenBSD
2004-10-22 15:34:04 +00:00
kent
89affe1894 fix typos in comments.
add open/close code of sync pipe (not enabled)
2004-10-22 15:25:56 +00:00
augustss
efe84c1097 Add a driver for Communication Data Class Ethernet devices. From the very
prolific Bill Paul for FreeBSD, via OpenBSD.
XXX Untested, since I don't have any such devices.
2004-10-22 13:08:23 +00:00
augustss
4eb781d843 Print information for high speed hubs about the number of TTs.
Print a message when low/full speed devices are ignored on high speed hubs.
2004-10-22 12:03:21 +00:00
augustss
2c051a4b85 Add interrupt transfers. From OpenBSD.
Having interrupt transfers enables some more device types to be used,
most notably USB2 hubs.  USB2 hubs still cannot handle anything but
USB2 devices, because there is node code to handle hub Transaction Translation
yet.
XXX This code doesn't do good bw scheduling, but it's certainly better than
nothing. :)
2004-10-22 10:38:17 +00:00
augustss
6f9df049df Insert from ifdefs for soft interrupt related stuff. From OpenBSD. 2004-10-22 09:58:00 +00:00
augustss
19ddd8a315 Add 3 devices. From OpenBSD. 2004-10-22 09:47:21 +00:00
augustss
cb0eb4bacc Add a device. From OpenBSD. 2004-10-22 09:41:01 +00:00
augustss
d7eeed3a45 Add 2 devices. From OpenBSD. 2004-10-22 09:39:06 +00:00
augustss
14186a69e1 Regen (previous commit was a mistake). 2004-10-22 09:35:55 +00:00
augustss
86d1561830 Merge a lot of devices from OpenBSD. 2004-10-22 09:34:55 +00:00
rjs
9003fc0a5c Regen. 2004-10-21 21:01:50 +00:00
rjs
89c80e4674 Add definitions for Dell X3 and X30 PDAs. 2004-10-21 21:00:31 +00:00
augustss
176f75ee37 A little portability stuff. 2004-10-21 18:14:40 +00:00
xtraeme
d16bfcc7a2 Fix typo in comment: compolicated -> complicated. 2004-10-21 16:18:42 +00:00
kent
ff827d1c72 make mixer names compatible with other audio devices
patch provided by Kazuhito HONDA in PR#15441
2004-10-21 12:41:07 +00:00
augustss
ab7b7be2f8 Add suspend/resume support.
From OpenBSD.
2004-10-21 11:18:21 +00:00
augustss
d9b55687d2 Use do .. while wrappers for debug print.
From OpenBSD.
2004-10-21 11:14:26 +00:00
augustss
00128db76d Match function names in debug messages with real name.
From OpenBSD.
2004-10-21 11:11:19 +00:00
augustss
cc7b9783ea ANSIfy. 2004-10-21 11:05:39 +00:00
kent
3f642d7b30 mixer item for a selctor should start with "sel" not "fea" 2004-10-20 13:48:32 +00:00
kent
e61cc9d9a5 add code to recognize sync-pipe audio stream.
The code is not enabled yet.
2004-10-16 18:08:50 +00:00
jmmv
c6d18895ed Regen after addition of another vendor identifier for AIPTEK International
and the product identifier for AIPTEK International PenCam Mega 1.3.
2004-10-11 15:28:00 +00:00
jmmv
e97dc76a93 Add another vendor identifier for AIPTEK International.
Add product identifier for AIPTEK International PenCam Mega 1.3.
2004-10-11 15:26:53 +00:00
kent
913cd88b5e add source selector support. The patch was provided by Kazuhito HONDA.
PR#26538
2004-10-03 06:01:09 +00:00
kent
fe459b3125 - add some debug prints
- no parameter names in prototypes
- use const pointers if dereferenced object should not be modified
2004-10-02 19:14:54 +00:00
yamt
22399b45d0 change some members of struct buf from long to int.
ride on 2.0H.
2004-09-18 16:40:11 +00:00
skrll
f7155e40f6 There's no need to pass a proc value when using UIO_SYSSPACE with
vn_rdwr(9) and uiomove(9).

OK'd by Jason Thorpe
2004-09-17 14:11:20 +00:00
yamt
4c7a64e02d make this compile with OHCI_DEBUG without EHCI_DEBUG. 2004-09-17 10:55:07 +00:00
drochner
96b589fc18 a round of autoconf cleanup:
-convert submatch() style functions (passed to config_search() or
 config_found_sm()) to the locator passing variants
-pass interface attributes in some cases
-make submatch() functions look uniformly as far as possible
-avoid macros which just hide cfdata members, and reduce dependencies
 on "locators.h"
2004-09-13 12:55:47 +00:00
christos
392086fb66 bind the scrolling keys by default. 2004-09-11 04:47:43 +00:00
drochner
57cc3c5e5e remove a redundant check 2004-09-08 19:59:15 +00:00
thorpej
e975b9caee - Add an (*ata_reset_channel)() member to ata_bustype.
- Add an ata_reset_channel() function that performs the common parts
  of resetting an ATA channel, which uses the (*ata_reset_channel)()
  callback to do the heavy lifting.  Adjust callers to use ata_reset_channel()
  instead of wdc_reset_channel().

This removes the last wdc-specific code from ata.c!
2004-08-20 23:26:53 +00:00
thorpej
ce56a7e194 Also set the AT_XFDONE bit as appropriate. 2004-08-20 17:37:16 +00:00
thorpej
9167731c79 Rename some constants:
WDC_COMPLETE -> ATACMD_COMPLETE
WDC_QUEUED -> ATACMD_QUEUED
WDC_TRY_AGAIN -> ATACMD_TRY_AGAIN
2004-08-12 05:02:50 +00:00
thorpej
3ddac9b2da Rename "struct wdc_command" to "struct ata_command". 2004-08-12 04:57:19 +00:00
drochner
7f3933adae typo in comment 2004-07-22 18:45:40 +00:00
mycroft
584d70dbc1 Avoid touching the xfer after calling usb_transfer_complete(), as the
driver callback may have recycled it.  From PR 25960.
2004-07-17 20:24:15 +00:00
mycroft
ab236698f0 ugen_isoc_rintr() may recycle the xfer immediately. Therefore, we avoid
touching the xfer after calling the callback in usb_transfer_complete().
From PR 25960.
2004-07-17 20:16:13 +00:00
mycroft
c206d4cf15 hcpriv is not actually used here. Remove references to it. 2004-07-17 20:12:02 +00:00
mycroft
30533d66ac AUOPEN_* != AUMODE_*. Duh. Make unidirectional devices work again. 2004-07-16 22:39:23 +00:00
mycroft
68e6b1d115 The previous change was not complete. /brick me 2004-07-16 20:08:23 +00:00
mycroft
c3cc87104d Whoops! Don't try to set parameters for a direction that doesn't exist.
(audio_set_defaults() can do this.)
2004-07-09 18:08:00 +00:00
mycroft
e3694d0dc1 Adjust some silliness that was causing us to do extra work for "frame list
rollover" interrupts, which we pretty much ignore.
2004-07-09 05:07:06 +00:00
mycroft
005f3f7095 Clean up a little. 2004-07-09 02:57:48 +00:00
rumble
bbbaf17cc4 The MCT advertises both the interrupt and bulkin endpoints as
interrupts. Go from assuming that the first enumerated interrupt
is the bulkin (since this may not be the case) to assuming that
the true interrupt endpoint will have a 0x2 wMaxPacketSize.

From FreeBSD's umct.c, ok'd by mycroft@, closes PR25959.
2004-07-08 00:54:21 +00:00