Commit Graph

9473 Commits

Author SHA1 Message Date
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
augustss 45116f2c38 Add clct driver for Cirrus Logic CrystalClear PCI Audio CS4281.
Driver written by Tatoku Ogaito.
2001-01-22 01:34:42 +00:00
augustss 22a541e778 Add a comment. 2001-01-22 01:13:47 +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
thorpej 3966e66ec8 Untangle some spl-spaghetti in cy_modem_control(). 2001-01-21 16:55:10 +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
takemura 0906d8d1fe Rasops supports 4bit depth. 2001-01-21 13:50:58 +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
thorpej 13ad8f5ba7 Pack the minor numbers like the Cyclades-Z driver does, and
make the dialout bit compatible with the other serial drivers
(and with what MAKEDEV generates for dtyCYxxx).
2001-01-20 19:29:05 +00:00
thorpej 3aef368a04 Use device_lookup() in cztty_getttysoftc(). 2001-01-20 19:10:36 +00:00
thorpej ddbaea62cb Garbage-collect some unused macros. 2001-01-20 19:08:24 +00:00
thorpej 9eefbe5b74 Regen; there is absolutely no point in having a FreeBSD RCS ID in this file. 2001-01-20 17:04:03 +00:00
thorpej 7ad2150248 There is absolutely no point in having a FreeBSD RCS ID in this file. 2001-01-20 17:03:32 +00:00