Commit Graph

1426 Commits

Author SHA1 Message Date
augustss 80d988187f If we are the console and we have DDB then events must not be delivered
from the interrupt routine since this will enter the USB interrupt
processing recursively during polling.
Now ukbd can be used as console keyboard for DDB!
2001-10-24 21:02:18 +00:00
augustss adca9c589f More debug. 2001-10-24 20:20:03 +00:00
augustss 5c2ee5ebed Make sure interrupt pipe is closed when detaching console keyboard. 2001-10-24 15:31:06 +00:00
augustss 97d4315865 Better debug message. 2001-10-24 15:30:17 +00:00
augustss 1c11481abf More null pointer checks in dump routine. 2001-10-24 00:42:05 +00:00
nathanw 48bdb0d067 Match printers that report their interface as IEEE 1284 in addition to
bidirectional.
2001-10-19 15:30:25 +00:00
ichiro 190ebf4d1f regen 2001-10-17 15:44:50 +00:00
ichiro b45d3009cf add Dallas Semiconductor product
USB-FOB/iBUTTON
2001-10-17 15:44:22 +00:00
augustss 9ba9477c1a Regen. 2001-10-11 12:05:39 +00:00
augustss 9ec0bc09c1 Add Epson 1650. 2001-10-11 12:05:10 +00:00
augustss a969ff5460 Add a reference counter to avoid blowing away the softc while frobbing
the MII registers.
2001-10-10 02:14:16 +00:00
augustss adfbf61e48 Regen. 2001-10-08 03:38:24 +00:00
augustss 3d25ac0f24 Add some more Ethernet adapters (info gleaned from Linux). 2001-10-08 03:37:53 +00:00
augustss 4e23e486b8 Regen. 2001-10-07 22:31:02 +00:00
augustss cafdfc900c Add Epson 640U. From Chris Baird <cjb@brushtail.apana.org.au> 2001-10-07 22:30:33 +00:00
pooka ac8c8ee3fd regen; iPAQ 2001-10-06 15:03:34 +00:00
pooka c70a35c897 iPAQ PocketPC 2001-10-06 15:02:22 +00:00
thorpej a5aff000fc Match the UMAX Astra 3400. 2001-10-05 00:31:06 +00:00
thorpej 7853ec7367 Regen; add UMAX Astra 3400 scanner. 2001-10-05 00:24:52 +00:00
thorpej 919f3bb120 Add UMAX Astra 3400 scanner. 2001-10-05 00:24:25 +00:00
augustss 1339e88a86 Add a new optional method, dev_ioctl, to the audio hardware driver interface.
It is called when an unrecognized ioctl() is performed on a device,
thus allowing ioctl()s that frob the hardware driver (like loading
microcode).
2001-10-03 00:04:47 +00:00
pooka 1e72a22c49 move DIAGNOSTIC-printf up one block to make it reachable
noted by Christophe Kalt in private email
2001-10-02 17:59:38 +00:00
tshiozak d645f8862c fix for Roland/EDIROL UM-880.
- add NULL check to UMQ_ISTYPE; sc_quirk is NULL for genuine umidi, but
    forgotten to check.  Thus, kernel will panic after connect the device.
  - fix how to count the number of endpoints in alloc_all_endpoints_genuine().
  - add a quirk for the native mode of UM-880.
2001-09-29 22:00:47 +00:00
augustss 37583aadfc Reenable RHSC interrupt after one second so hot plugging works.
(From OpenBSD.)
2001-09-28 23:57:21 +00:00
augustss c5a4cc1291 Only clear the endpoint on stall (from FreeBSD). 2001-09-28 23:42:16 +00:00
augustss 901a3da087 Regen. 2001-09-28 23:41:33 +00:00
augustss ef7e225e59 Rename Accton adapter (from FreeBSD). 2001-09-28 23:41:09 +00:00
tshiozak f32aef24fd Roland UM-880 has two modes each assigned product IDs.
UM880N (0x0014) : Native mode.
	UM880G (0x0015) : Generic USB MIDI mode.
2001-09-28 20:36:46 +00:00
tshiozak 114e12bdf1 add a new device; ROLAND/EDIROL UM-880 MIDI I/F with patcher. 2001-09-28 19:10:59 +00:00
jdolecek de311f11c3 Match the Diamon Rio800. Reported working by Chris Lloyd in kern/14064. 2001-09-25 21:08:44 +00:00
yamt 4242cee2bd make ugen use updated frlengths. 2001-09-16 18:06:32 +00:00
wiz 456dff6cb8 Spell 'occurred' with two 'r's. 2001-09-16 16:34:23 +00:00
yamt 1f460cfc38 make it compile when defined(USB_DEBUG)&&defined(SCSIPI_DEBUG)&&!defined(SCSIDEBUG) 2001-09-15 16:47:41 +00:00
yamt 46f9dd9228 correct debug messages. 2001-09-15 16:16:27 +00:00
augustss 8a0aea16c1 Don't go top mode OPERATIONAL (before reset) on startup even if BIOS claims to
have initialized the controller.
2001-09-11 07:00:19 +00:00
augustss 0ef77d096d Regen. 2001-09-06 11:45:55 +00:00
augustss 7eed4a548d Add a Todos smartcard reader. 2001-09-06 11:45:33 +00:00
gehenna 0999a72932 The latest EHCI spec is 0.96 2001-08-20 07:16:35 +00:00
augustss a8415c10db Clear busy flag on write error. From PR 13731, IWAMOTO Toshihiro. 2001-08-16 22:31:24 +00:00
augustss 64e123faaf If there was a vendor+product locator match return a higher match value.
Rationale, if you have a device (e.g., a mouse) with a more specific
driver but want to recognize it with the more generic driver you can
do that by supplying vendor and product locators for the generic one.
2001-08-15 00:06:49 +00:00
augustss dfe96bae01 Add a little infrastructure so that individual drivers can easily check
if thee was a vendor+product locator match.
2001-08-15 00:04:59 +00:00
augustss be12c4395c Don't write back status bits that are cleared when written. 2001-08-06 15:15:08 +00:00
augustss cf037802c2 Add an I/O Data adapter. 2001-08-03 11:17:17 +00:00
augustss c7aac1f4ef Regen. 2001-08-03 11:16:50 +00:00
augustss 5c01e15b22 Ad an I/O Data Ethernet adapter. 2001-08-03 11:16:24 +00:00
ichiro 6a036b85d9 correct interrupt pipe of USB-RSAQ1.
sc_intr_iface was defined newly,
and interface of interrupt was kept in sc_intr_iface.
2001-07-31 12:33:11 +00:00
nathanw 9f36932334 Add the constant for the IEEE 1284-mode protocol for the printer
class, as given in revision 1.1 of the USB printer class spec.
2001-07-23 15:17:50 +00:00
ichiro 3cd8eb40b0 support to change of CRTSCTS
change uplcom_reset parameter
2001-07-20 21:03:41 +00:00
augustss fa4d95379a Prototype for aue_reset_pegasus_II(). 2001-07-19 09:40:40 +00:00
augustss cc0b3cc208 Add support for Pegasus II adapters (from Linux).
Add a bunch of adapters.
2001-07-16 18:33:13 +00:00
augustss 3daa873a7e Regen. 2001-07-16 18:31:19 +00:00
augustss fc8666f1da Some line permutations. 2001-07-16 18:31:00 +00:00
augustss 87791333ae Reorganize the table of adapters slightly. 2001-07-16 16:15:12 +00:00
augustss f82d5c6424 Regen. 2001-07-16 15:39:22 +00:00
augustss e71f79ca0b Add a bunch of ADMtek Ethernet adapters. 2001-07-16 15:38:48 +00:00
augustss 298ec741b8 Alphabetize. 2001-07-16 13:54:23 +00:00
augustss 5d1d09b8fb Alphabetize. 2001-07-16 13:49:20 +00:00
augustss bd538b438b Regen. 2001-07-16 05:04:51 +00:00
augustss f4d7e2e9d6 Add SOHOware NUB100. From OpenBSD. 2001-07-16 05:04:29 +00:00
augustss 981c2a6401 Rearrange register dump when the controller is dying. Fixes PR 13430. 2001-07-11 14:11:00 +00:00
augustss eb7db20548 Don't reset twice. 2001-07-11 04:53:48 +00:00
augustss c0e4279dad Minor formatting fix. 2001-07-11 04:53:18 +00:00
augustss e352032894 Regen. 2001-07-11 03:38:04 +00:00
augustss 0f983514e6 Add a remote control from Keyspan. 2001-07-11 03:37:41 +00:00
augustss 45ece248c0 Add an Abocom adapter. 2001-07-04 16:38:09 +00:00
augustss 17231dcaee Regen. 2001-07-04 16:37:47 +00:00
augustss d9fb01804c Add an Abocom adapter. 2001-07-04 16:37:26 +00:00
augustss 020d906c3a Null a pointer on error return. 2001-07-04 16:23:40 +00:00
nathanw f71391cb6c Move the check for successful attachment to earlier in the detach
routine, to avoid referencing nonexistent data structures.
2001-06-15 18:05:36 +00:00
itojun 4d51fe368b change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.
follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific
interfaces only).

was: if_lastchange get updated on every packet transmission/receipt.
now: if_lastchange get updated when IFF_UP is changed.
2001-06-14 05:44:23 +00:00
wiz 2a8c778f1b retrieve, not retreive 2001-06-12 14:59:27 +00:00
tron d29b7bb88c Regen from "usbdevs". 2001-06-10 13:10:46 +00:00
tron 8a6a34f18e Add Philips PCA646VC PC Camera. 2001-06-10 13:10:25 +00:00
enami 85fb541842 Fix typo; print sc->aue_intr_errs instead of sc->aue_rx_errs when
reporting interrupt errors.
2001-06-07 10:55:15 +00:00
augustss 147c9186b5 Remove overly paranoid test (and not in the spec either). From OpenBSD. 2001-06-04 06:01:40 +00:00
augustss d7079b251e Regen. 2001-06-04 06:00:43 +00:00
augustss db2a5598b4 Add the Logitech iFeel mouse.
(Now that's a weird device, perhaps I'll write a driver for the vibration
feedback.)
2001-06-04 06:00:20 +00:00
bouyer 3fccfbf68d Uninitialised variables, from Krister Walfridsson: in umass_scsipi_request()
initialize cmd before using it. Now that it's initialised earlier, use it
instead of xs->cmd
2001-05-30 20:31:39 +00:00
tshiozak 83da433ada fix for UX96 (and all Yamaha specific devices, hopefully).
- fix how to get endpoint addresses.
  - fix allocate count of pipes.
  - add necessary null checks for asymmetry jacks.
2001-05-28 20:52:06 +00:00
tshiozak 5505749bb1 add new device; Yamaha UX96 USB MIDI I/F. 2001-05-28 18:28:04 +00:00
tshiozak 5b51f5ebe2 fix forgotten/malformed initialization of some variables.
(pointed out by Krister Walfridsson.)
2001-05-25 19:33:36 +00:00
augustss e25bf167a1 Regen. 2001-05-22 10:43:15 +00:00
augustss f43e2c6ba1 Add Scanjet 4300. 2001-05-22 10:38:56 +00:00
jhawk 4af61a686a oops. Make it compile. 2001-05-22 00:43:12 +00:00
jhawk b5805fa0c8 Sigh. Regen correctly. 2001-05-22 00:41:52 +00:00
jhawk 7a31dfa328 Supoprt the IOGEAR/ATEN UC-232A, which uses the Prolific 2303.
Make this the "PRODUCT_PL2303" because it's actually id 0x2303
and change the old PRODUCT_PL2303 to PRODUCT_RSAQ.
2001-05-22 00:18:03 +00:00
jhawk ecb3a30463 add $NetBSD$ 2001-05-21 20:47:13 +00:00
lukem c15945130c delint: remove unnecessary assignment to same objection (hidden in #define) 2001-05-16 04:50:11 +00:00
lukem 889762fbcf delint: need ; between case label and } 2001-05-15 15:25:04 +00:00
bouyer bc980d7eba Use SCSI/ATAPI common definition for MODE_{SELECT,SENSE}{,_BIG}. Define
functions to send theses commands in scsipi_base.c and use them instead
of ad-hoc commands setups.
2001-05-14 20:35:27 +00:00
christos 6f62797262 Don't leak memory in case of a realloc failure.
Reported by: grendel@heorot.stanford.edu (Ted U)
2001-05-12 19:18:57 +00:00
bouyer 90b27e80b9 Redo attachement of scsi/atapibus, so that atapibus at umass works again 2001-05-02 11:24:01 +00:00
scw 2963ff5c58 Add `l_poll' to `struct linesw' and provide an xxxpoll() entry point
in each tty driver to indirect through it.

This allows tty line-disciplines to handle poll(2) system calls.
2001-05-02 10:32:08 +00:00
lukem 796f5b43a7 delint 2001-05-01 16:40:03 +00:00
augustss e67bc465a2 Make it compile with DEBUG after SCSI changes. 2001-04-28 14:48:39 +00:00
enami 360780f37e s/\<PROTO_ATAPI/C&/ 2001-04-26 03:59:32 +00:00
bouyer 937a7a3ed9 Pull up the thorpej_scsipi branch to main branch.
This is a completely rewritten scsipi_xfer execution engine, and the
associated changes to HBA drivers. Overview of changes & features:
- All xfers are queued in the mid-layer, rather than doing so in an
  ad-hoc fashion in individual adapter drivers.
- Adapter/channel resource management in the mid-layer, avoids even trying
  to start running an xfer if the adapter/channel doesn't have the resources.
- Better communication between the mid-layer and the adapters.
- Asynchronous event notification mechanism from adapter to mid-layer and
  peripherals.
- Better peripheral queue management: freeze/thaw, sorted requeueing during
  recovery, etc.
- Clean separation of peripherals, adapters, and adapter channels (no more
  scsipi_link).
- Kernel thread for each scsipi_channel makes error recovery much easier
  (no more dealing with interrupt context when recovering from an error).
- Mid-layer support for tagged queueing: commands can have the tag type
  set explicitly, tag IDs are allocated in the mid-layer (thus eliminating
  the need to use buggy tag ID allocation schemes in many adapter drivers).
- support for QUEUE FULL and CHECK CONDITION status in mid-layer; the command
  will be requeued, or a REQUEST SENSE will be sent as appropriate.

Just before the merge syssrc has been tagged with thorpej_scsipi_beforemerge
2001-04-25 17:53:04 +00:00
augustss af2e19db8f Remove stuff I didn't mean to commit yet. 2001-04-19 00:50:22 +00:00
augustss 72a04bd497 Add HP 3400. 2001-04-19 00:47:49 +00:00
augustss fc1271af53 Regen. 2001-04-19 00:47:30 +00:00
augustss 3d2488184c Add a Lexar CF reader. (From FreeBSD) 2001-04-19 00:47:12 +00:00
augustss 6497b0a623 Regen. 2001-04-17 08:38:23 +00:00
augustss 7dfc3d8076 Add a Xirlink camera. From PR 11570. 2001-04-17 08:38:01 +00:00
augustss 264c404593 Clean up formatting a little.
Split protocol variable into wire and command protocols.
2001-04-17 00:50:13 +00:00
augustss f14db62d03 Add a DIAGNOSTIC. 2001-04-17 00:05:33 +00:00
augustss 14dceb11ef Regen. 2001-04-16 10:42:39 +00:00
augustss 6f4ae4bff8 Add lots of storage devices. 2001-04-16 10:42:19 +00:00
augustss bafbeaf802 Use the bi-directional protocol if the printer supports it.
This is the way that e.g. HP recommends (but then some of their printers
have a bug that makes the input pipe useless anyway).
Also try reset both the 1.0 and 1.1 ways.
2001-04-16 00:18:06 +00:00
augustss b1b0b4bc9a Regen. 2001-04-15 22:33:37 +00:00
augustss 9c6b6d7b02 Add more HP devices. 2001-04-15 22:33:23 +00:00
augustss b86cb140c5 Use a better symbolic name. 2001-04-15 10:26:36 +00:00
augustss 595f18daf9 Add quirk for printers that cannot handle bidir mode (not used yet). 2001-04-15 09:38:01 +00:00
augustss d828968798 Regen. 2001-04-15 09:28:31 +00:00
augustss 3865f3dfc7 Add a bunch of HP printers. 2001-04-15 09:28:12 +00:00
thorpej bf2dcec4f5 Remove the use of splimp() from the NetBSD kernel. splnet()
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
augustss b5c707b2b6 Make it link with debug flag. 2001-04-13 12:51:43 +00:00
augustss 939159f6d0 Make it compile with debug. 2001-04-13 12:42:40 +00:00
augustss bcdfccea3c Split the umass driver into the part that handles the X-over-USB protocol
(umass.c) and the part that handles scsibus/atapibus (umassbus.c).
This way the must port specific stuff can be removed from umass.c.
2001-04-13 12:24:10 +00:00
augustss 38c02444d9 Finally get rid of the UGLY and EVIL hack for avoiding tsleep(). 2001-04-13 11:19:58 +00:00
augustss cbcea5e84c Do mii frobbing in process context.
Now we can finally get rid of the evil USBD_NO_TSLEEP hack in the aue driver.
2001-04-13 11:17:11 +00:00
augustss ed7afd2ad6 Regen. 2001-04-12 23:56:13 +00:00
augustss 23b1e2c46e Some new device (from FreeBSD). 2001-04-12 23:55:58 +00:00
augustss 9071f4edbb Make sure all tasks are remove on detach. 2001-04-12 23:54:56 +00:00
thorpej 5274818efc Switch to USB_USE_SOFTINTR. The callout hack does indeed work
fine for systems without generic soft interrupts, even if it is
a little sub-optimal.  Consider it a penalty for ports not
implementing a kernel API.

Addresses kern/11957.  The PR has been open for 4 months, and
I have work blocked on the continued existence of splimp() in
the networking code.
2001-04-12 01:39:04 +00:00
thorpej f305e19aeb Only if __HAVE_GENERIC_SOFT_INTERRUPTS is then splusb == splsoftnet
(because we register the interrupt with IPL_SOFTNET).  However, if
we're using a callout, then splusb == splsoftclock (because the
callouts happen from the softclock interrupt).

Note that splsoftnet blocks softclock interrupts, but this is
meant to better describe what's going on.
2001-04-12 01:18:24 +00:00
jdolecek 745ab257dc Put back all header files defining ioctls 2001-04-11 19:07:36 +00:00
augustss 76c2f6d190 Regen. 2001-04-11 08:44:06 +00:00
augustss c2b7bb4ddb Add device id from PR 12611. 2001-04-11 08:43:47 +00:00
augustss 82fe39b9cb Add a Peracom adapter. 2001-04-08 02:10:57 +00:00
tshiozak 042dae07d7 support "running status" handling. midiplay via umidi is working now. 2001-04-07 22:01:34 +00:00
ichiro 8aa94c66a0 regen 2001-04-07 11:16:35 +00:00
ichiro f5842381bb add product centronics adapter USB-1284 BRIDGE 2001-04-07 11:16:12 +00:00
augustss 50c9868982 Add a bunch of language specific keymaps. From OpenBSD. 2001-04-07 00:27:55 +00:00
augustss b8cfdb2c1d Allow a UKBD_LAYOUT option to determine the default keyboard layout.
(From OpenBSD.)
2001-04-06 22:54:15 +00:00
augustss 09846cd9c0 Regen. 2001-04-06 22:53:16 +00:00
augustss 76e981dd50 Add another device (from FreeBSD). 2001-04-06 22:52:55 +00:00
augustss aaf471b177 Regen. 2001-04-05 20:52:57 +00:00
augustss df7e9d2178 Add Canon PowerShot S100. 2001-04-05 20:52:34 +00:00
toshii fa02f7a053 Add Japanese model keyboard mapping. 2001-04-04 05:31:57 +00:00
ichiro dbbff52c3d support USB-serial PLANEX USB-RS232 URS-03
reported by sakamoto@splhack.org (Kazuki Sakamoto)
2001-04-02 13:38:14 +00:00
augustss 8086f5e0ec Print portno when attaching. 2001-04-02 13:18:31 +00:00
augustss 9d6dabe88a Regen. 2001-04-01 19:24:28 +00:00
augustss 557561727e Add more Keyspan adapters. 2001-04-01 19:24:06 +00:00
augustss d265e74a94 Make the ZiO! MMC adapter work. 2001-04-01 19:04:52 +00:00
augustss c1dfafc4de Regen. 2001-04-01 18:25:14 +00:00
augustss 39ccfa3beb Add some new devices. 2001-04-01 18:24:49 +00:00
augustss cb47887dc2 Add two missing splx() (inside DIAGNOSTIC). From OpenBSD. 2001-04-01 15:00:29 +00:00
augustss 1077c84a99 Avoid a potential null pointer dereference. From OpenBSD. 2001-04-01 14:59:52 +00:00
augustss f994193bf7 Add Epson 1240. 2001-04-01 14:50:58 +00:00
augustss b20d51da79 Regen. 2001-04-01 14:50:43 +00:00
augustss 9132bd9643 Add Epson 1240. Add a comment about the purpose of this file. From FreeBSD. 2001-04-01 14:50:22 +00:00
augustss 2abf6b66a5 Change handling of the UFI protocol so it goes through atapibus instead
of scsibus.  This removes a whole bunch of specioal cases for UFI.
All this great simplification comes from Brett McCoy <bmccoy@genuity.net>.
2001-04-01 14:41:39 +00:00
augustss 97fa4f3453 Fix some bad indentation. 2001-04-01 03:28:11 +00:00
ichiro 718d1ed83c add UMCT_DEBUG option 2001-03-28 19:00:39 +00:00
ichiro 19c0a21aaa support USB-RS232 Converter of Magic Control Technology Corp.
More information about this product found at http://www.mct.com.tw
2001-03-28 18:42:13 +00:00
ichiro 4b8789fde8 regen 2001-03-28 18:36:32 +00:00
ichiro 6724d33a12 add PID Sitecom USB-232 adapter and D-Link DU-H3SP USB BAY Hub 2001-03-28 18:36:07 +00:00
augustss 262675e051 Regen. 2001-03-26 15:27:11 +00:00
augustss ea509434b6 Add Microtech Cameramate. From PR 12477. 2001-03-26 15:26:54 +00:00
ichiro d2cf77cd51 support CANON N656U scanner
not tested :P
in order to check using scanner, someone should teach that
what should be used application?
2001-03-26 13:42:05 +00:00
ichiro 224de64cd2 regen 2001-03-26 13:14:05 +00:00
ichiro 20e7881e71 add VID&PID
CANON USBScanner Canoscan N656U
GREEHOUSE CF-writer with MP3 Player
2001-03-26 13:13:33 +00:00
ichiro 9261ee5adc fix typo 2001-03-26 12:58:44 +00:00
ichiro 2350819ec5 support interrupt endpoint.
add more comment
2001-03-26 12:49:39 +00:00
ichiro 2ef094d072 add UPLCOM_DEBUG 2001-03-26 12:40:39 +00:00
augustss e884187819 Small code rearrangement. 2001-03-25 23:02:34 +00:00
augustss 0207e2ea75 Comment out some strange code. 2001-03-25 22:59:43 +00:00
augustss 24dfbb6c35 Regen. 2001-03-25 22:54:30 +00:00
augustss 68723be904 Add Atmel DWL-120 wireless LAN adapter. 2001-03-25 22:53:56 +00:00
augustss a2c1a2899f Try to make resume work on more machines. 2001-03-25 22:52:21 +00:00
fvdl 2e3722d635 Remove a debugging printf. 2001-03-23 14:11:39 +00:00
augustss 5c7eb8bc86 Regen. 2001-03-16 12:48:16 +00:00
augustss 91c12c470c Add Panasonic MultiMediaCard adapter. 2001-03-16 12:47:51 +00:00
abs c51634b970 Regen after adding Hauppauge WinTV USB FM 2001-03-15 20:10:08 +00:00
abs 4bd593f038 Add Hauppauge WinTV USB FM 2001-03-15 20:09:50 +00:00
ichiro 38bf48d59a Implement uplcom_intr().
use interrupt pipe of USB serial adapter
2001-03-14 15:53:01 +00:00
soren d9c93ee62a Regen. 2001-02-26 20:54:39 +00:00
soren 3ed46572f7 Add M-Systems DiskOnKey. 2001-02-26 20:53:43 +00:00
lukem 3aeb5f2f29 whitespace police 2001-02-24 01:59:46 +00:00
cgd 98af50970f "#else if" is not a valid CPP directive. Use "#elif". 2001-02-24 00:03:46 +00:00
jdolecek 522f569810 make some more constant arrays 'const' 2001-02-21 21:39:52 +00:00
minoura b53129e394 There is no reason to exclude FreeBSD :). 2001-02-21 10:19:30 +00:00
minoura fa6cae09e2 Re-initialize some registers after resuming from suspend.
Some APM BIOSes do not restore them.
Reviewd by augustss.
2001-02-20 15:20:32 +00:00
kenh d6cdd9ad5b Connect to the interrupt endpoint on the control interface to receive
notification messages.  This lets us properly pass line status changes
down to the ucom driver (specifically, DSR, DCD, and RI).
2001-02-16 20:15:57 +00:00
ichiro 175f4c6b75 regen 2001-02-11 05:49:42 +00:00
ichiro 2ea023a03f add vendor/product id
CASIO label writer for USB
2001-02-11 05:49:20 +00:00
tsutsui 71d4eb1937 Fix INSYSTEM_USBCALBLE quirk entry:
- Make sure to pass iface properly to usbd_set_interface().
- Call usbd_set_interface before calling usbd_get_interface_descriptor().

It seems no one have tested this device. Anyway, my In-System ISD110
USB-IDE adapter does not work in this way..
2001-02-08 13:24:05 +00:00
tshiozak b13009db08 separate mididev and jack logically. 2001-02-03 18:50:31 +00:00
tshiozak 579a1c26ca change how to allocate xfer; alloc xfer when attach and free xfer when detach. 2001-02-03 16:49:06 +00:00
tshiozak ca8eb9d318 correct MUX-MIDI state machine. (EXCL_2 state) 2001-01-31 16:02:38 +00:00
tshiozak 6c60c9ff82 initial commit of USB midi driver.
- I tested only ROLAND UM-1 and YAMAHA UX256.
    These are not conforming to USB-MIDI spec, however these are
    similar to USB-MIDI.
  - Since I've not yet seen the "genuine" USB-MIDI device,
    I cannot test such devices although I wrote the codes for it.
TODO:
  - clean up the codes.
  - umidi(4) manpage.
  - /dev/rmidi? is working well, but /dev/music seems not working correctly.
2001-01-30 23:26:47 +00:00
augustss 57789d81c3 Regen. 2001-01-30 15:04:45 +00:00
augustss 9385e3019d Add Abocom URE450 Ethernet adapter. 2001-01-30 15:04:23 +00:00
ichiro e08982d234 add uplcom_{open,close}
it only reset routine yet.
2001-01-30 13:17:43 +00:00
enami 2c218a4926 Handle allmulti case correctly as a NetBSD network driver;
if we are requested range of multicast address or too many multicast address,
program multicast filter to receive all multicast address.   And set/clear
IFF_ALLMULTI flag properly.
2001-01-29 01:24:42 +00:00
augustss e6de2c6337 Commit second half of rate limit change. 2001-01-28 19:01:20 +00:00
augustss a96a3fa4ca Put a rate limiter on the scheduling overrun message. 2001-01-28 16:18:09 +00:00
ichiro 1225c5883f USB-RSAQ work
but this product was discon.
2001-01-28 03:44:46 +00:00
ichiro c501a146a0 regen 2001-01-27 13:19:48 +00:00
ichiro be66040d49 add product
I/O DATA USB-RSAQ(discon.)
2001-01-27 13:19:27 +00:00
ichiro fa52d46203 more datasheet
but same...
2001-01-24 14:46:49 +00:00
augustss 840a1d7e2b Fiddle enough with the tty so that it wakes up on detach and drops
the reference count on the ucom.
2001-01-23 22:06:25 +00:00
augustss 4b0119383e Ad support for an extra message in the ucom attach code. 2001-01-23 21:56:17 +00:00
augustss 0156530592 Null out pointers when closing pipes.
Try to wake upper layer on error.
2001-01-23 21:22:57 +00:00
augustss af1fabe1bc There are more ports than meet the eye on the Visor. Connect a ucom
to each of them.
2001-01-23 21:19:44 +00:00
augustss 23cffa82c7 Rearrange detach code so it is more likely to survive detaching an open
device (it's still not waking up readers properly).
2001-01-23 17:35:58 +00:00
augustss 5e8cefc2ea Ad function to remove a usb task. 2001-01-23 17:04:30 +00:00
augustss a88f037c70 MAke USB_DEBUG turn on UVISOR_DEBUG. 2001-01-23 17:03:19 +00:00
augustss cbda952879 Make sure driver attach/detach events are generated in a consistent manner. 2001-01-23 14:04:13 +00:00
augustss 7fd4b01030 Change matching condition (we don't want to match on interface for this
type of device).
Don't generate a device detach event since there's no attach event.
Minor cosmetic changes.
2001-01-23 13:48:06 +00:00
ichiro 51ee272c28 simple datasheet
http://www.nisseisg.co.jp/jyouhou/_cp/@gif/2303.pdf
but not include register :<
2001-01-23 10:10:22 +00:00
ichiro 2b4a1ad203 increase size of UPLCOM{I,O}BUFSIZE
enabe uplcom_break
2001-01-23 08:15:58 +00:00
ichiro db3f510ee6 s/2000/2001 :-)
and typo.
2001-01-23 02:36:17 +00:00
augustss 3a36335ddf Don't turn on the dubug flag by default.
Don't print interface class/subclass; it's pointless since the device
doesn't follow any standard class definition.
2001-01-23 02:25:02 +00:00
ichiro 1227a240f1 driver for Prolific PL2303 serial adapter.
I/O DATA USB-USAQ2 work.
2001-01-23 01:24:10 +00:00
thorpej 69fd9caaae Don't IFQ_SET_READY() -- this driver isn't ALTQ'ified. 2001-01-22 21:38:35 +00:00
augustss 7090ce901d Defer stopping the interface on error to a process context.
XXX The cue changes have not been tested, since I don't have a cue adapter.
2001-01-21 22:09:23 +00:00
augustss dfa2282053 Change watchdog routine. (From FreeBSD.)
The only thing stopping us from getting totally rid of the evil
USBD_NO_TSLEEP hack is the (broken) assumption in the MII driver that
registers can be read and written without a process context.
2001-01-21 19:42:29 +00:00
augustss 2a7443922d Get rid of `#ifdef FreeBSD'; they maintain their own version. 2001-01-21 19:36:31 +00:00
augustss aa75661373 Use the new usb_add_task() call to execute the statistics gathering.
This gets rid of the evil USBD_NO_TSLEEP hask from the cue driver.
2001-01-21 19:30:35 +00:00
augustss 996efaa78c Ad a comment. 2001-01-21 19:00:29 +00:00
augustss df20cb2972 Change the operation of the USB event thread. Before it only performed
USB device discovery, now it can also perform (short) tasks for device
drivers that need a process context, but don't have one.
This is not pretty, but better than using busy-wait in an interrupt context.
2001-01-21 19:00:06 +00:00
augustss d8f68f3949 Add a quirk for devices that cannot handle full length INQUIRY.
From FreeBSD.
2001-01-21 18:56:38 +00:00
augustss 8502ed9498 Remove `#ifdef FreeBSD'; they maintain their own version. 2001-01-21 16:55:11 +00:00
augustss e391b64407 Change watchdog code (from FreeBSD). 2001-01-21 16:06:48 +00:00
augustss 1d6d81b317 Get rid of `#ifdef FreeBSD'; they maintain their own version. 2001-01-21 16:03:11 +00:00
augustss 25c15e3189 Regen. 2001-01-21 15:58:01 +00:00
augustss f4f53b10ea Another hub. 2001-01-21 15:57:41 +00:00
augustss b2245c50fc Several changes:
* Get rid of `#ifdef FreeBSD'; they seem to maintain their own version.
 * Change watchdog code (from FreeBSD).
 * Get rid of the horrible USBD_NO_TSLEEP hack.
 * Repair some const damage.
2001-01-21 15:55:05 +00:00
augustss e8db629494 Add code to use soft interrupt to handle USB interrupt processing.
Don't enable the code since it doesn't work with the kludgy Ethernet drivers.
2001-01-21 02:39:52 +00:00
augustss 0c40fe5115 Ad define for warm boot rev. 2001-01-21 02:35:31 +00:00
augustss 29984607e8 Trim space off both ends of device product and vendor strings. 2001-01-21 02:34:34 +00:00
augustss 8894e84df0 Use a better way to test if we are cold starting the device. (From FreeBSD) 2001-01-21 02:33:52 +00:00
augustss 60708ce539 Regen. 2001-01-21 02:28:55 +00:00
augustss 27293db05d A couple of new devices (from FreeBSD). 2001-01-21 02:28:30 +00:00
augustss 227c27096f Add some initialization to struct ifnet that seems to have become
necessary.
2001-01-21 02:22:27 +00:00
augustss 1aca8405a5 Cosmetic changes. 2001-01-21 00:07:13 +00:00
augustss f7dc96fe4c Change some splusb() to splhardusb(). 2001-01-20 23:36:02 +00:00
ichiro 541fa6ecfa regen 2001-01-20 20:53:34 +00:00
ichiro 2d5b0a4ff5 typo fix
reported by kei_sun@ba2.so-net.ne.jp
2001-01-20 20:53:07 +00:00
ichiro 88e7f62500 regen 2001-01-19 17:28:58 +00:00
ichiro ee8a058b1d add USB serial adapter
I/O DATA USB-RSAQ2 (use PROLIFIC PL2303 chip)
2001-01-19 17:28:15 +00:00
jdolecek e07a5ff574 constify 2001-01-19 08:54:21 +00:00
augustss 79c6c8ec3f Make this compile again after const-ification. 2001-01-19 04:01:10 +00:00
jdolecek 34c8ae80da constify 2001-01-18 20:28:15 +00:00
tv e58532a4bf No-op commit to force update to a non-"-kk" revision. 2001-01-18 17:47:58 +00:00
augustss 1d25789f34 Update with recent files. 2001-01-16 11:54:13 +00:00
augustss 6fe782cff1 Use the real Y@P firmware. Permission granted by Kamal Parmar,
<kamal@siliconportals.com>, at Silicon Portals.
A big thanks to Silicon Portals for being cooperative (unlike many USB
device vendors).
2001-01-16 03:10:09 +00:00
tshiozak 2ed1e48455 List two USB MIDI I/Fs; YAMAHA UX256 and Roland UM-1.
These devices, however, aren't conforming to USB-MIDI class spec.

BTW, here is very experimental version of the driver for these devices:
http://www.imou.to/~AoiMoe/UNIX-at-Random/garbage/umidi-2001-01-15.diff.gz
2001-01-15 20:26:46 +00:00
augustss 845a2d5b53 Fix comment typo. 2001-01-15 03:52:03 +00:00