Commit Graph

9506 Commits

Author SHA1 Message Date
tshiozak
ca8eb9d318 correct MUX-MIDI state machine. (EXCL_2 state) 2001-01-31 16:02:38 +00:00
tsutsui
32692a53f2 Add kbc on news68k. 2001-01-31 10:48:18 +00:00
thorpej
3c0c1146ac Use a 16K receive buffer on the SEGA Dreamcast (XXX should be
done differently than it is).
2001-01-31 07:44:51 +00:00
thorpej
56d0d6ce83 Match the SEGA Dreamcast Broadband Adapter, and use PCI memory
space on that device (XXX should be done differently than it is).
2001-01-31 07:44:04 +00:00
thorpej
615bf08f21 Regen; add SEGA Dreamcast Broadband Adapter. 2001-01-31 07:24:58 +00:00
thorpej
98182357a2 Add the SEGA Dreamcast Broadband Adapter. 2001-01-31 07:24:32 +00:00
augustss
eaeb1e44f5 Ad umidi. 2001-01-31 04:17:27 +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
tshiozak
61250c9635 some changes for midi_start_output() under PROP_OUT_INTR devices.
- protect the buffer even though ointr occur until exiting
    from hw_if->output().
  - allow this function to send multiple bytes to hw_if->output()
    at the same time.  it's necessary for umidi.
2001-01-30 23:02:18 +00:00
thorpej
4e7ff09e27 Make sure to clear sysmon_armed_wdog once the watchdog timer
is disarmed.
2001-01-30 22:24:31 +00:00
thorpej
9710d432c2 Power management support for the CardBus Etherlink XL cards.
From Masanori Kanaoka <kanaoka@ann.hi-ho.ne.jp>.
2001-01-30 19:27:39 +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
itohy
5ce651390d Fix problem where tsleep() is used not on the cardbus thread.
This change makes PCMCIA cards work again on my machine.

Unfortunately, some of the DELAY_MS() are called when the current
process is not the cardbus thread, that is, on interrupt contexts.
I confirmed these are actually used in interrupt context and replaced
them with delay()s.  However, I haven't confirmed other DELAY_MS()s
are always on the cardbus thread.

This shall be a temporary fix.  The driver needs being rewritten
not to use such delay()s, of course.
2001-01-30 07:23:14 +00:00
tsutsui
013511e442 Use ether_crc32_be() for multicast hash calculation. 2001-01-29 12:04:10 +00:00
ichiro
f83bca2bbb Contec FLEXLAN/FX-DS110-PCC work
reported by Shingo WATANABE(nabe@nabechan.org)
2001-01-29 11:26:28 +00:00
ichiro
4d076b5e9b regen 2001-01-29 11:23:43 +00:00
ichiro
012109227d add products
Contec FLEXLAN/FX-DS110-PCC wavelan card
2001-01-29 11:23:13 +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
5e870d500f COMPAQ Agency NC5004 Wireless Card(Prism2) work. 2001-01-28 07:18:40 +00:00
ichiro
afeced92a0 regen. 2001-01-28 07:15:07 +00:00
ichiro
b74006da99 add product id
COMPAQ Wireless Card NC5004(Prism2)
2001-01-28 07:14:47 +00:00
ichiro
1225c5883f USB-RSAQ work
but this product was discon.
2001-01-28 03:44:46 +00:00
nathanw
d460e9b43e Minor grammar/spelling fixes in comments. 2001-01-28 01:49:54 +00:00
oster
cc2a28f2c0 Un-'__P'ify. 2001-01-27 20:42:20 +00:00
oster
1949425ffc Nuke some bogus debug code that was already '#if 0'ed out. 2001-01-27 20:18:55 +00:00
oster
e6d8ca0dee Cosmetic cleanup of some comments, and nuke an unused #define. 2001-01-27 20:10:49 +00:00
oster
75ea8b428e Having moved some of the bits needed by raidctl into rf_configure.c, we
no longer need those bits here.  In particular, this file is now only
used in the kernel, and that allows us to clean up a lot of cruft.
2001-01-27 19:34:43 +00:00
augustss
532934d5f1 ANSIfy. 2001-01-27 18:53:33 +00:00
augustss
d13e6a84f2 Sleep a little when closing the midi device to allow the UART to drain. 2001-01-27 18:37:01 +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
oster
3edd34f0be More #if's. This needs some serious rototillage, but a few #if's will
suffice for now.
2001-01-27 02:13:34 +00:00
bouyer
22189b442b Add a few siop_table_sync() calls. 2001-01-26 22:00:01 +00:00
bouyer
05b5119cdf Fix a 4 byte ovferflow in an array:
resel[sizeof(load_dsa) / sizeof(load_dsa[0])] is 25, not 24.
2001-01-26 21:58:56 +00:00
ad
01c89cec5c No need to submit before poll any more. 2001-01-26 19:53:15 +00:00
oster
c4a426333f My.. what a twisty little maze of #defines and dependencies. Some of this
code is used for more than anticipated, and I missed a few checks last
night.  Thanks to Bernd Ernesti for poking me about this.
2001-01-26 14:06:16 +00:00
is
cf9b8e8210 Contribution by Ryoji Kato: I-O DATA IFML-560 56K modem device ID. 2001-01-26 11:04:20 +00:00
is
2b15bcc35b Contribution by Ryoji Kato: I-O DATA IFML-560 56K modem support. 2001-01-26 11:02:18 +00:00
rh
6939097e75 Add left/right reversal quirk entry for Toshiba Protege 7020 2001-01-26 10:04:43 +00:00
rh
30dcc3b36e regen 2001-01-26 10:04:12 +00:00
rh
2f324bf9a0 Add Toshiba Protege product code 2001-01-26 10:03:47 +00:00
rh
8ec736c069 Add quirk for Compaq Armada M700 to fix left/right channel reversal.
Quirk entry provided by Joachim Koenig-Baltes <koenig@cms.tecmath.com>
2001-01-26 09:22:18 +00:00
rh
095bcc2e62 regen 2001-01-26 08:04:40 +00:00
rh
f6dbeb0440 Add product code for the Compaq Armada M700 Notebook 2001-01-26 08:02:46 +00:00
oster
e47b177bc0 Nobody calls these bits if we arn't doing RAID5 with rotated spare stuff.
Add an #if.
2001-01-26 05:16:58 +00:00
oster
1763f954c7 These bits are only needed for the interdecluster stuff.. wrap them
with an #if.
2001-01-26 05:09:13 +00:00
oster
7833c33e99 Whoops.. Leave them on.. (for now.) 2001-01-26 04:43:16 +00:00
oster
a40eef11ac Give the parity declustering code their own 'RAID arch' types, and
allow us to turn them off if desired.
2001-01-26 04:40:03 +00:00
oster
61a2ee28fb Lots of stuff here that is only used for some of the 'fancier' RAID types.
Don't compile it if we arn't going to use it.
2001-01-26 04:27:16 +00:00
oster
bcc70a3f37 Clean up some INDENT warnings. (yes, these have been there for a while!) 2001-01-26 04:14:14 +00:00
oster
0a5ca1547d Various parts of this file are only needed by the even/odd and PQ
RAID types.  Don't include those bits if we arn't doing even/odd or PQ stuff.
2001-01-26 04:05:08 +00:00
oster
9880e186ec Don't build the stuff in this file if RF_INCLUDE_EVENODD is not defined. 2001-01-26 03:50:53 +00:00
oster
c77d3c20a8 Ensure we update the 'partitionSize' field of the component labels
when doing a reconstruct or a copyback.  If we don't, junk might be
there, and that could cause the component to be not correctly
autoconfigured on reboot.  Thanks to Simon Burge for helping track this down.
2001-01-26 02:16:24 +00:00
toshii
b8569c0b8e The previous revision was my fault. audio_calcwater() needs to be
called at every open.
Thanks Witold J. Wnuk for pointing out this problem.
2001-01-25 15:25:34 +00:00
tsutsui
b2457f9a76 Move NEWS keymap file into MI place to share with news68k. 2001-01-25 13:13:59 +00:00
ichiro
fa52d46203 more datasheet
but same...
2001-01-24 14:46:49 +00:00
haya
c54894efe9 IMPROVEMENT: use tsleep() instead of delay(). Kernel do not stop
during card insertion, deletion and power change.
2001-01-24 10:10:04 +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
ad
7bb669ca3e Fix up license. 2001-01-23 20:51:01 +00:00
ad
c5fe587d24 Oops, be sure to clear the ATTN interrupt on error. 2001-01-23 20:47:02 +00:00
chuck
10ca4fd232 cause the "delete" key to actually send \177 like it used to
(and still does with pccons) rather than \033[3~ ...
2001-01-23 19:25:14 +00:00
tv
82a01b7eeb Regen. 2001-01-23 19:24:19 +00:00
tv
af31089a6d Re-add $FreeBSD$ RCS Id for the purposes of synchronization tracking.
This is not unprecedented, as we do it in >100 places in the tree.
If you disagree with this philosophy, take it to tech-kern for a discussion
FIRST before reverting; TNF, not one particular person, owns this file.
2001-01-23 19:24:00 +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
hpeyerl
f11510dd0a add missing Weasel command. 2001-01-23 17:18:23 +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
thorpej
bcb0a27722 Regen; added Xircom CreditCard Token Ring II. 2001-01-23 05:42:43 +00:00
thorpej
ad4bfb4606 Add Xircom CreditCard Token Ring II (woo, I found my card!) 2001-01-23 05:42:12 +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
augustss
d324979aed Add uplcom. 2001-01-23 02:18:30 +00:00
ichiro
1227a240f1 driver for Prolific PL2303 serial adapter.
I/O DATA USB-USAQ2 work.
2001-01-23 01:24:10 +00:00
bjh21
fe3273fbb4 Patch from PR kern/8001, submitted by Rafal Boni.
This adds support for EtherExpress/16 cards with 16k of RAM, and in the
process adds general support for PIO mode on these cards.  This entails
changing the way the i82586 driver handles bus barriers, since it doesn't
allow for strange cases like this.

This has been tested on the i386 port with the 'ix' driver in both
16KB (which was the source of the problem) and 32KB modes, as well
as with the 'ef' driver.  I've tested it (briefly) with 'ei' on arm26
as well.  In theory, drivers other than 'ix' should follow precisely the
same code paths as before.
2001-01-22 22:28:43 +00:00
ad
e055513a28 Nuke useless argument to ld_twe_dobio(). 2001-01-22 21:56:11 +00:00
thorpej
69fd9caaae Don't IFQ_SET_READY() -- this driver isn't ALTQ'ified. 2001-01-22 21:38:35 +00:00
ad
7575649e53 Minor optimisation. 2001-01-22 17:44:28 +00:00
ad
03463e18f1 opt_twe.h isn't needed any more. 2001-01-22 17:40:14 +00:00
ad
8771c04bd1 Don't artificially clamp the maximum number of outstanding commands. 2001-01-22 17:38:23 +00:00
ad
9c7e523b64 - Complain if interrupt-driven retrieval of AENs fails somehow.
- Clamp the number of outstanding commands to 129.
- Other tweaks.
2001-01-22 17:32:11 +00:00
jdolecek
9e7736f1dc make patches[] const 2001-01-22 14:30:43 +00:00
jdolecek
29d563fd5b regen: US Robotics (3Com) 56K Voice Internal PCI Modem (WinModem) entry added 2001-01-22 14:18:42 +00:00
jdolecek
0f1dba40c7 add US Robotics (3Com) 56K Voice Internal PCI Modem (WinModem) entry
I wish I'd been less foolish and not bought this device ...
2001-01-22 14:15:24 +00:00
mjl
5d9e997522 Regen for stallion. 2001-01-22 13:58:37 +00:00
mjl
c77d1a22c4 Add stallion products. 2001-01-22 13:57:54 +00:00
toshii
577ac6e31c Remove the line in audio_open which zeroes sc_[pr]r.blksize.
Because zeroing them causes zero division panic with devices which don't
support 8kHz mulaw, and the effect of this line was to force calling
audio_calcwater even when unnecessary.
2001-01-22 08:37:54 +00:00
mycroft
f2d987f8a4 Force certain commands (i.e. DVD authentication) to PIO mode. They are
explicitly not supported in DMA mode, and generally return an `illegal field
in CDB' error.
This should have been done ages ago.
2001-01-22 07:00:39 +00:00
augustss
135068fdc8 Add clct. 2001-01-22 02:22:35 +00:00
augustss
972d156775 Clean up a little. 2001-01-22 01:44:56 +00:00