Commit Graph

1039 Commits

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