Commit Graph

4819 Commits

Author SHA1 Message Date
bouyer
c0e7b6c5cb If sense_key == UNIT_ATTENTION and ASC/ASQ == "Power On, Reset, or Bus Device
Reset", retry the command instead of returning an error. XS_RESET is useless
without this, as the retryed command will die with this unit attention.
1999-02-02 13:01:36 +00:00
bouyer
2bf6a99afb For IDE/ATAPI protocols botches, reset the bus and return XS_RESET
instead of XS_DRIVER_STUFFUP.
1999-02-02 12:59:31 +00:00
thorpej
05cbb33e4c Use pcidevs.h to get vendor and product IDs. 1999-02-02 00:32:21 +00:00
thorpej
b6a84f08e8 Take software-only structure definitions out of the register description
header.
1999-02-02 00:29:17 +00:00
thorpej
bb5edf7345 Remove support for FreeBSD from the driver; so many changes are going
to be required to make it properly portable to all of NetBSD's platforms,
that it just wouldn't be worth the effort.
1999-02-02 00:05:02 +00:00
thorpej
2bdfbafc37 Minimal changes to make this compile on the Alpha. Much more work is
needed to make this a truly portable driver.
1999-02-01 23:40:22 +00:00
marc
9231ba8603 - make sure that sc->handle[i].flags is initialized in all cases
- check PCIC_FLAG_SOCKETP before disabling the CSC_INTR.
1999-02-01 22:17:05 +00:00
wrstuden
36c50aaa14 Add the patch I floated on tech-kern. Andreas Eltrich <elchy@dahoam.de>
says it got pppd working for him.
1999-01-31 21:41:00 +00:00
mjacob
ee72ee212e darn- 7.55 seems to be a little unstable- go back to 1.31 1999-01-31 04:56:20 +00:00
minoura
8ed711f1bc MC68450 DMAC regs. 1999-01-30 14:58:26 +00:00
mjacob
6bcdc2b5d2 Implement and use Fast Posting for both parallel && fibre. Redo a bit of
the startup code. Implement a call to outer framework function so that
asynchronous events can be handled (e.g., speed negotiation, target mode).

Roll internal release tags.
1999-01-30 07:31:50 +00:00
mjacob
513722ba25 Grrr.. Do the *correct* and *usable* 1.31 firmware. You have to power
cycle to get rid of the old 1.31 firmware. *@!$&^@&$!&^&^!!!!!

But anyway comment it out and use new SBus 7.55 firmware. We get fast posting
with this as well as 32 luns and target mode support.
1999-01-30 07:18:59 +00:00
mjacob
09ce6222fc roll internal release tag 1999-01-30 07:14:26 +00:00
mjacob
5c5ac2958f roll internal release tag and finally use bus_space I/O 1999-01-30 07:10:38 +00:00
mjacob
1ece20c808 roll internal release tag 1999-01-30 07:08:04 +00:00
drochner
b6867c91a4 make the timeout for process/vt synchronization "config" settable and
ddb/gdb patchable
1999-01-29 22:24:24 +00:00
bouyer
ce870816e0 Cosmetic changes, from Soren S. Jorvan. 1999-01-29 11:36:20 +00:00
bouyer
12868a7d80 Return ENODEV instead of EIO when we are trying to open a device without media
in the drive. restrict "opening of empty drive" to character devices only
(reading a block device returns a short read instead of ENODEV, which can lead
to confusion).
1999-01-29 11:17:58 +00:00
pk
f9e92fac23 Fix bit test 1999-01-29 07:35:05 +00:00
dbj
7919e08986 wscons based console video & keyboard support for the NeXT
from Matt DeBergalis
1999-01-28 11:46:22 +00:00
augustss
d6c1a3e198 Regen. 1999-01-28 04:34:31 +00:00
augustss
864e74c18d Add S3 86C365 Trio3D. 1999-01-28 04:31:33 +00:00
mrg
59a6c3d4e7 KNF anality. 1999-01-27 10:41:00 +00:00
augustss
4146e9d547 Regen. 1999-01-26 22:32:22 +00:00
augustss
67bc102af8 Add Aladdin Knowledge Systems. 1999-01-26 22:21:55 +00:00
drochner
a7f50b8178 Debugger() -> console_debugger() to honour the ddb_fromconsole sysctl 1999-01-26 17:08:37 +00:00
drochner
309847b355 improve error handling in 2 cases:
1. If the current screen becomes invalid (ie no focus anymore), always
   set the keyboard to translating mode. Otherwise, we could get stuck
   because the command keystokes don't come through.
2. Catch errors in attaching to a process (X server) - For this,
   implement a callback mechanism similar to the detach case. Add an
   argument to report an errno via callback.
1999-01-26 14:22:14 +00:00
bouyer
f52c71b0e8 Allows the raw partition to be open()'ed, even when scsipi_start() fails
(no media or other ...) so that we can always send ioctl's to the device.
1999-01-26 13:59:44 +00:00
drochner
be7c382051 forgot to commit last week: define wsmouse type constants for busmice 1999-01-26 13:43:00 +00:00
drochner
56dd07cea5 don't wait for completion of keyboard enable/disable commands; this
might be called without process context, leading to tsleep() panics
(This is a workaround. The timeout() driven wscons glue code
should go instead.)
Fixes tsleep() panics reported by Mark Brinicombe <mark@causality.com>
and Eric Haszlakiewicz <haszlaki@UAccess.NET>.
1999-01-26 11:07:25 +00:00
bouyer
cafe97da38 Another CD drive that doesn't support REQUEST SENSE, from Patrick Welche. 1999-01-26 10:00:08 +00:00
sakamoto
fd094d79ee NetBSD RCS id. 1999-01-26 06:31:28 +00:00
oster
58f7de552d Nuke more bits of RAIDframe "demo" code. We're not "demoing" here,
we're doing the Real Thing!
1999-01-26 04:40:03 +00:00
oster
472e649cd8 More simulator bits going bye-bye. 1999-01-26 04:05:01 +00:00
oster
c52883118d This stuff is no longer needed. Mostly simulator bits. 1999-01-26 03:56:21 +00:00
oster
a37be85529 rf_ccmn.h no longer needed. Nuke it's inclusion from rf_disks.c. 1999-01-26 03:49:49 +00:00
oster
d94a2c5b2a These files are not used in the kernel driver. We don't need them any more. 1999-01-26 03:07:10 +00:00
oster
1eecf8e491 RAIDframe cleanup, phase 1. Nuke simulator support, user-land driver,
out-dated comments, and other unneeded stuff.  This helps prepare
for cleaning up the rest of the code, and adding new functionality.

No functional changes to the kernel code in this commit.
1999-01-26 02:33:49 +00:00
wrstuden
ccf442a971 Fix thinko in part of rev 1.53.
Thanks to Scott for pointing this out to me (I got his mail and figured out
this change before seeing the discussion on tech-kern) and to Charles for
the initial explanation.
1999-01-25 17:53:13 +00:00
augustss
456a96e766 Regen. 1999-01-25 01:09:13 +00:00
augustss
9c673b9bd4 Add some Entrega products. 1999-01-25 01:02:59 +00:00
drochner
b1d62d20ee -correction to PR kern/6814 from AW9K-NNK@asahi-net.or.jp
(Nonaka Kimihiro): grave accent and @ were the wrong way
-assign keysyms to the special japanese conversion keys (even if this
 doesn't help wscons - but things must have names)
1999-01-23 17:04:43 +00:00
drochner
428461ab21 add definitions for the additional modifiers on japanese keyboards
(These are not of use for wscons, but we want to give names to the keys
at least.)
1999-01-23 16:59:22 +00:00
drochner
9b2859ca00 back to the roots: rename psm->pms 1999-01-23 16:05:56 +00:00
sakamoto
57d82cd1f3 Change bootverbose 1 to 0.
Add vr_lookup.
1999-01-22 05:34:36 +00:00
sakamoto
02bb7a4233 Add VIA Rhine/Rhine II Fast Ethernet files. 1999-01-21 12:02:00 +00:00
sakamoto
4f99746d57 Add NetBSD autoconfiguration support.
KNF.
1999-01-21 12:00:25 +00:00
sakamoto
bea8f807a7 Import FreeBSD's VIA Rhine fast ethernet PCI NIC driver
written by Bill Paul <wpaul@ctr.columbia.edu>.
1999-01-21 11:55:22 +00:00
bouyer
d86a570eac Add a mitsumi CD that can't handle REQUEST SENSE command. From
Johan Danielsson <joda@pdc.kth.se>.
1999-01-21 10:31:39 +00:00
msaitoh
88176e7d20 Fix about insertion/removal event problem. 1999-01-21 07:43:32 +00:00
thorpej
c6aa25bfa1 Fix a st00p1d bug I introduced in rev 1.57, which would cause any activity
on non-0 CCD units to crash the system.
1999-01-21 00:35:15 +00:00
ragge
cb2675ff12 Fix some void pointers. 1999-01-19 22:57:47 +00:00
ragge
bef0af5311 Allocate (almost) all interrupt vectors dynamically. Simplifies much
work when adding support for new machines and devices.
1999-01-19 21:04:47 +00:00
bouyer
d8f58a3506 Move test for SDEV_NOSTARTUNIT quirk from sd.c to scsipi_start().
Add a SDEV_NOSTARTUNIT quirk entry for BCD-16X 1997-04-25", "", "VER 2.2"
CD-rom (from Michael Santos).
1999-01-19 10:57:11 +00:00
bouyer
f10115b632 "Memorex CRW-2642" CD-R can't properly handle REQUEST SENSE command.
Add it to the quick table, per PR kern/6844.
1999-01-19 09:31:58 +00:00
bouyer
a1471db64a move wd.c:print_wderror() to ata.c:ata_perror().
In wdc_probe_caps() add code to guess the ATA revision supported (if
ATA4 if Ultra-DMA, ATA2 if PIO mode > 2). We can't rely on param.atap_ata_major
here, at last one Ultra-DMA drive claims to support only ATA-3.
Use the ATA version in ata_perror(), and to try a flush cache command
in a shutdown hook for IDE drives.
1999-01-18 20:06:24 +00:00
drochner
a1038a18af remove wsdisplay_has_emulator(), this is not meaningful with virtual screens,
and it did not work with external (serial) consoles what can cause that
a display has no screen and thus no "focus"
1999-01-18 20:03:59 +00:00
mjacob
83270f242f If you're BIG_ENDIAN and use bswapXX, pull in the header file that prototypes
these functions.
1999-01-18 19:17:00 +00:00
pk
2fa7bdbccd Fix AF_NS code. 1999-01-18 13:29:01 +00:00
pk
ed55ba4db9 Need <machine/bswap.h> 1999-01-18 11:51:43 +00:00
pk
fb846bde24 Share ring buffer code and data structure for be' and qe' in
the QEC module. Adapt the QEC interrupt establish code to suit the
needs of the `qe' device.
1999-01-17 20:47:50 +00:00
pk
ad3176f350 Add `qe' network interface device. 1999-01-17 20:44:58 +00:00
pk
5e8fcd9428 Import Jason Wright's Sbus Quad ethernet (`qe') driver as found in OpenBSD.
Heavily pounded on by me to make it fit our driver model.
Also added: auto media selection; shared ring buffer code with `be'.
1999-01-17 20:44:18 +00:00
drochner
6424072ccd extend the interface for reset-like commands from the keyboard 1999-01-17 16:01:38 +00:00
drochner
3bc0bad0af adapt to "reset" interface change, pass "close all" to wsdisplay 1999-01-17 15:59:17 +00:00
drochner
b892856647 -extend the interface for reset-like commands from the keyboard,
add handling of a "close all" command
-split out code common with wsdisplay_delscreen() into
 wsdisplay_closescreen()
-add ttymodem call to signal a HUP to the application if the screen
 is closed
-add flag to force a "clear screen" on close (XXX should actually be
 controlled from userland)
-remove checks for existence of "reset" entries in the emulations - this
 is required now
1999-01-17 15:56:33 +00:00
drochner
b465a52a35 define a "close everything" keyboard command 1999-01-17 15:47:20 +00:00
drochner
b69b2fd8f4 define a "clear screen" command to the emulator and complete the
emulation's "reset" implementations as far as useful
1999-01-17 15:44:57 +00:00
pk
6d1f55bc7a Initial revision 1999-01-16 13:19:11 +00:00
pk
c830c88dd2 Convert to bus_space(9).
Add buffer allocations needed by the be driver.
1999-01-16 12:46:08 +00:00
pk
e0e761e420 Import Jason Wright's Bigmac driver, written for OpenBSD.
Heavily pounded on by me to make it fit our driver model.
1999-01-16 12:43:09 +00:00
drochner
76db984c6d regen 1999-01-16 11:28:19 +00:00
drochner
1587097426 add another NCR chip, from Dave Sainty <dave@dtsp.co.nz> per PR kern/6819 1999-01-16 11:27:40 +00:00
nisimura
e02862b167 - Don't use void pointer for arithmetic. 1999-01-16 06:36:42 +00:00
thorpej
8ce7166aa3 __pmax__ -> pmax, like other ports. 1999-01-15 23:29:55 +00:00
explorer
edd259d12e Make it so raidframe will only perform synchronous writes, and async
reads.  This avoids a problem where many writes will cause the driver
to allocate way too much memory.

This needs to change to a queueing system later, which will provide a
way to limit the memory consumed by the driver.

Without these changes, raidframe would use 24M or more on my machine when
the buffer cache dumped all its dirty blocks.  Now it uses around 200k
or so.
1999-01-15 17:55:52 +00:00
drochner
21a687eb01 add japanese keyboard map, from AW9K-NNK@asahi-net.or.jp (Nonaka Kimihiro)
per PR kern/6814
1999-01-15 16:12:25 +00:00
drochner
6efb3afd18 add definition for japanese keyboard 1999-01-15 16:00:33 +00:00
thorpej
d8f3aefec7 Use M_RAIDFRAME. 1999-01-14 22:49:05 +00:00
oster
4128f9df1e Duh... check that malloc() hasn't returned a NULL *before* we zero the buffer,
not after. Pointed out by Michael Graff.
1999-01-14 20:29:38 +00:00
drochner
5c38fcea53 map the new "reset emulator" function to CTL-ALT-Backspace
(what somehow matches the effect on X11)
1999-01-14 11:57:48 +00:00
drochner
d90442b612 add a "reset terminal emulator" command pseudo-keysym and call the
corresponding callback if one is hit
1999-01-14 11:44:54 +00:00
drochner
624d9f505f -actually reset the terminal emulator on close()
-add a callback to reset the terminal emulator by keyboard command
1999-01-14 11:40:58 +00:00
ross
5709f532d1 Random compile nits in BHADEBUG code. 1999-01-14 04:47:18 +00:00
augustss
14dff70fa3 Fix transpostion in translation table for XT scan codes. 1999-01-13 18:38:26 +00:00
drochner
23cfea8327 -implement new wscons font handling with separate download and selection
calls
-support use of 2 fonts simultanously; this costs the ability to
"highlight", ie to use the upper 8 colours
-define screen types "80x25bf" and "80x50bf" which use this ability
-add conditional code to deal with the weird mapping of pcvt's
supplemental fonts
1999-01-13 16:48:58 +00:00
drochner
58095dfd3b change the way fonts are handled: now we have a display-global ioctl
to download fonts and a per-screen call to select a font
allows easier sharing of ressources in the display driver
change the parameters to the load_font driver vector to pass all
available font information
1999-01-13 16:21:02 +00:00
drochner
b50830062b export functions to reset the emulator and the character mappings 1999-01-13 15:38:30 +00:00
drochner
2bfadc6a8d add a hook for resetting the terminal emulator completely or partially 1999-01-13 15:30:59 +00:00
christos
e79b8222a6 Put back modem control ioctl's 1999-01-13 11:55:20 +00:00
augustss
79f94410b1 Back out previous fix and apply the patch from Nick Hibma the right way. 1999-01-13 10:33:53 +00:00
augustss
8d6f121902 Fixes from Nick Hibma. 1999-01-13 10:08:59 +00:00
augustss
d0a7575025 More things to do. 1999-01-12 22:07:45 +00:00
augustss
b8f2118f7c Fix Z axis buglet. 1999-01-12 22:06:48 +00:00
christos
b62b5bc092 Make this compile again with -DDEBUG 1999-01-12 12:49:53 +00:00
kleink
a9b05361c1 Avoid arithmetic on void *. 1999-01-12 02:28:55 +00:00
thorpej
0272b2ab8e Whole lotta cleanup wrt. how configuration data is stored internally, and
just lockmgr(), not our home-grown locking functions.
1999-01-12 00:21:47 +00:00
augustss
76b8bd8961 Add a (partial) list of what's left to do. 1999-01-11 22:46:51 +00:00
tron
edd69ba694 Because memory mapped access doesn't fail only with the docking station
for the TI TravelMate 5000 but also with at least one Compaq NIC we
prefer I/O mapped access again. Fixes PR kern/6690.
1999-01-11 22:45:41 +00:00
thorpej
67e9d2a3bf Fix a few glitches in the nwscons tga driver, PR #6655, Brett Slager. 1999-01-11 22:11:36 +00:00
thorpej
ae8a556ce5 Add missing XS_SELTIMEOUT case in user command completion path, returning
SCCMD_TIMEOUT.  Based on PR #6720, Andreas Wrede.
1999-01-11 22:07:08 +00:00
drochner
1eba733d91 remove dummy "load_font" entries 1999-01-11 21:35:54 +00:00
drochner
33b1cd5328 Oops, "square root" is Unicode 221a, not 211a! 1999-01-11 20:48:10 +00:00
drochner
2379551296 add 2bpp support, for sake of NeXT monochrome displays, from
matt debergalis <deberg@mit.edu> KB1CTH per PR kern/6741 and kern/6786,
minimally corrected
1999-01-11 11:08:14 +00:00
augustss
5c5590465e Avoid `void *' arithmetic. Fixes PR 6783. 1999-01-10 21:57:19 +00:00
tron
3fbb44a7bb Make MTIOCRDSPOS, MTIOCSLOCATE, etc. work with write protected tapes.
Patch supplied by Dave Huang in PR kern/5305.
1999-01-10 21:46:39 +00:00
augustss
f963dc8ddb Some minor updates from FreeBSD. 1999-01-10 19:13:15 +00:00
augustss
af7f630631 Some patches from FreeBSD. 1999-01-10 18:42:10 +00:00
augustss
ebd59cb48c Make sure to check the modifier map for the windows keys. 1999-01-10 18:36:57 +00:00
augustss
c437dc4229 Remove redundant test if the unit numbers is in range. 1999-01-10 18:22:14 +00:00
augustss
d47a7fb7e0 Rename the "windows" keys and add the new keys to the keyboard maps. 1999-01-10 16:56:35 +00:00
augustss
17570494a7 Add back a line that was lost somehow. 1999-01-10 16:38:54 +00:00
drochner
9b1eddc4f1 - Set up the interface watchdog timer on sends. This fixes the hangups
reported by Matthias Scheler <tron@lyssa.owl.de> in PR kern/6772.
- After receiving, check whether the receive DMA pointer became 0
  what obviously happens if the list runs out of entries. Simply reinit
  in this case. This fixes receive lockups after DDB use observed
  by myself.
  Unstall the receive engine if the ELINK_UPPKTSTATUS indicates that it
  was stalled. (Don't know when this might happen. FreeBSD does so.)
1999-01-10 14:19:46 +00:00
augustss
851c51418d Add definitions for Pause and Print_Screen keys.
(Why were these keys missing?  Or am I missing something obvious here?)
1999-01-10 13:20:41 +00:00
drochner
a15a03eff2 Since ukbd has an own map, this file is not needed anymore. 1999-01-10 13:20:21 +00:00
augustss
fe099e481b Add definitions for left and right "Windows" keys and menu key. 1999-01-10 13:14:42 +00:00
augustss
3fb390a04f Fix buglets in translation to raw scancodes. 1999-01-10 13:11:25 +00:00
augustss
07e0165b97 Update/add URLs to relevant USB specs. 1999-01-10 11:13:36 +00:00
augustss
9e121cf158 Add ukbdmap.c. 1999-01-10 11:09:02 +00:00
augustss
ddb8209b40 XXX Add a disgusting hack to make the CS sound chips work in PnP mode.
XXX Read about it in isapnp.c.
1999-01-10 10:23:24 +00:00
augustss
1a68014a66 Move a declaration. 1999-01-10 10:17:54 +00:00
mjacob
ec1a086c80 Make the error condition of neither 0x70 or 0x71 error codes a tad
more informative than the lower case 'error code %d'.
1999-01-10 06:26:23 +00:00
mjacob
e618c0c7d7 turn on SBUS bursts 1999-01-10 06:22:12 +00:00
mjacob
9d702f60ed + Some basic deadchip detection.
+ Enable FIFO bursts, but also detect bogus 1040A with busted FIFO.
+ Use new MEMZERO crossplatform define.
+ Handle RQCS_QUEUE_FULL status case and let upper layer parse SCSI ststus
  byte if nonzero (should be 0x28- Queue Full status)
+ Fold ISP_NVRAM_FIFO_THRESHOLD_128 into isp_fifo_threshold tag.
1999-01-10 05:07:53 +00:00
mjacob
f1dfa06e13 bump isp_fifo_threshold tag top 3 bits 1999-01-10 05:04:46 +00:00
mjacob
b503bb5337 cross platform define MEMZERO added 1999-01-10 05:04:18 +00:00
mjacob
4401c8bdd7 oops. Forgot to turn on PCI burst. 1999-01-10 03:41:47 +00:00
augustss
b2acf0b9f2 Change from bcopy/bzero to memxxx. From PR 6778 by
Erik Bertelsen <erik@q610.ebe.uni-c.dk>.
1999-01-10 00:28:21 +00:00
augustss
17e4ccc73d Use a special map for USB key code translation instead of first translating
to an XT scancode and then to the wscons code.
XXX The XT translation is still available in "raw" mode.
1999-01-10 00:23:32 +00:00
drochner
422d1bfb5d implement the option to swap left CTL and caps lock key, from
URA Hiroshi <ura@yamato.ibm.co.jp> per PR kern/6775
1999-01-09 16:21:10 +00:00
drochner
a2b9f1ba6e add a definition for the "swap ctl and caps" option 1999-01-09 16:18:38 +00:00
drochner
5639141200 add ioctl()s for screen allocation/deallocation 1999-01-09 15:44:45 +00:00
drochner
a541ccbcb2 rename "struct wsdisplay_conf" -> "struct wsscreen_internal" to reflect
its real meaning
support allocation and deallocation of virtual screens at runtime
implement a "control device" (minor number = 255) and ioctl()s for screen
 allocation/deallocation
minor fixes to consistency checks / error handling
1999-01-09 15:42:34 +00:00
drochner
98e630dbe0 Allow to deallocate also the currently visible virtual screen (unless
it is the console).
This requires vva_show_screen() to catch the case where it has no screen
to switch from, ie no need to save the current state.
1999-01-09 15:29:26 +00:00
augustss
9b3e9f45bf A minor fix for FreeBSD. 1999-01-09 12:16:54 +00:00
drochner
c3283b267e there is no "cnattach" member in "struct wskbd_accessops" (yet?) 1999-01-09 12:10:36 +00:00
thorpej
268eb959c4 Make this compile again after the void * arith changes. 1999-01-09 03:16:17 +00:00
thorpej
1a56840ec0 Make this compile again after void * arithmetic changes. 1999-01-09 03:05:19 +00:00
thorpej
c35b8b591b One more cosmetic change, from Izumi Tsutsui. 1999-01-08 19:55:17 +00:00
augustss
0d32a9a78b Fix more `void *' arithmetic. 1999-01-08 19:22:34 +00:00
augustss
332d7c138f Avoid arithmetic on `void *' since that's not ANSI C. 1999-01-08 18:10:35 +00:00
augustss
875aa92d2c Various little fixes from the FreeBSD version. 1999-01-08 11:58:25 +00:00
augustss
d7154c29c9 Regen. 1999-01-08 11:19:57 +00:00
augustss
5ea77d0457 Remove some non-products. 1999-01-08 11:18:38 +00:00
augustss
d8a5db5c2c Regen. 1999-01-07 22:30:36 +00:00
augustss
df6da0d80b Generate appropriate RCS headers. 1999-01-07 22:18:23 +00:00
augustss
012d8f3eab Fix typo in FreeBSD part of the code. 1999-01-07 22:12:08 +00:00
augustss
86f2e214ed Add some line continuations in the FreeBSD part of the file. 1999-01-07 22:09:00 +00:00
augustss
2fba866c77 On popular demand, back out the generation of a FreeBSD ID. 1999-01-07 03:27:26 +00:00
augustss
e4b5e096e8 Fix some FreeBSD compiler warnings. 1999-01-07 02:22:50 +00:00
augustss
07b2b872de Fix some pastos. 1999-01-07 02:22:20 +00:00
augustss
8b76024ac9 regen. 1999-01-07 02:18:10 +00:00
augustss
1f1524514a Ooops, I didn't mean to commit that. Back out. 1999-01-07 02:06:05 +00:00
augustss
02369a7cd2 Add another paranoia test in the interrupt routine. 1999-01-07 01:59:24 +00:00
augustss
1e0c9685af Add a copyright header. 1999-01-07 01:57:11 +00:00
augustss
65a13df4e6 Generate FreeBSD RCS id as well. 1999-01-07 01:54:28 +00:00
augustss
028aac1137 Add Micro$oft Intellimouse. 1999-01-07 01:51:12 +00:00
thorpej
3dc31bab2f Device declaration for the PCscsi-PCI SCSI chip driver. 1999-01-06 23:25:53 +00:00
thorpej
671d0ae88d Device driver for the AMD Am53c974 PCscsi-PCI SCSI chip (i.e. the chip used
on the Tekram DC-390 SCSI cards), from Izumi Tsutsui, PR#6654.  Minor
cosmetic changes by me.
1999-01-06 23:23:33 +00:00
thorpej
71c86e3e92 Changes to NCR53c9x driver necessary to add support for the AMD Am53c974
PCscsi-PCI SCSI controller.  From Izumi Tsutsui, PR #6654.
1999-01-06 19:19:38 +00:00
drochner
69d3aa9606 don't install wskbdmap_mfii.h to userland 1999-01-06 12:24:51 +00:00
drochner
ed3f310c95 use new KS_KEYCODE macro from wsksymdef.h 1999-01-06 12:04:09 +00:00
drochner
1cd0f92455 add british keymap, from Patrick Welche per PR kern/6735
use new KS_KEYCODE macro from wsksymdef.h
1999-01-06 12:01:09 +00:00
drochner
f8402fc0be add definition for british keyboard 1999-01-06 11:45:12 +00:00
augustss
363ea8b7ff Regen. 1999-01-04 22:41:58 +00:00
augustss
67e990eed1 Add USR 56K Faxmodem, from jbernard@ox.mines.edu in PR 6729. 1999-01-04 22:39:42 +00:00
is
bfb7f2aaf3 Multisession-CD-Support, by Torsten Duwe <duwe@ns.lst.de>. 1999-01-04 15:32:08 +00:00
augustss
87121c3217 Regen. 1999-01-03 23:57:11 +00:00
augustss
c3ddc00ec9 Add an Acer scanner. 1999-01-03 23:55:01 +00:00
augustss
3744944266 Regen. 1999-01-03 11:06:31 +00:00
augustss
d621c7bd68 Add Kensington Mouse-in-a-Box. 1999-01-03 10:56:33 +00:00
augustss
497a2c58c3 Regen. 1999-01-03 01:15:01 +00:00
augustss
c5412a11a4 Minor changes. 1999-01-03 01:12:41 +00:00
augustss
302f42d891 Add more CDC definitions. 1999-01-03 01:09:18 +00:00
augustss
6d990bf7f3 Add an ugly workaround for a bug (feature) in the NetBSD open()/close()
protocol.
1999-01-03 01:03:22 +00:00
augustss
bf1154922d Add a length paarmeter to usbd_do_request_flags(). 1999-01-03 01:00:56 +00:00
ragge
d0e7a99a8a Giant change: NBPG now set to 4k and CLSIZE == 1 for vax. This change
made a whole bunch of annoying bugs disappear; mostly depending on
bad use of NBPG in non-MD code. The VAX port was the only port that
used this historical "feature".

The CL* macros should probably go away totally, there is no reason
at all to keep them.
1999-01-01 21:43:17 +00:00
christos
000c8bbf35 Regen 1999-01-01 19:30:52 +00:00
christos
512db6124c Add Xircom Netwave driver from Michael Eriksson 1999-01-01 19:30:03 +00:00
augustss
c1edefd961 Fix bug in reading from interrupt pipe.
Make read and write on bulk pipes interruptible.
1999-01-01 15:31:24 +00:00
augustss
df2d00dcff Add more structs. 1999-01-01 15:28:24 +00:00
augustss
16a2a55378 Add usbd_bulk_transfer(), a function to do interruptible transfer that
do not time out.
1999-01-01 15:25:57 +00:00
augustss
b7ae463e9f Fix bug setting up endpoint descriptors for an interface. 1999-01-01 15:21:42 +00:00
augustss
a02f8e62f5 Add uDWord type for 4 byte USB structure fields. 1999-01-01 15:18:17 +00:00
augustss
bf9647a056 Set the correct transfer count on interrupt transfers. 1999-01-01 15:15:33 +00:00
christos
dfd0f0f949 PR/6669: Michael Eriksson: pcic_chip_mem_alloc() can't handle large requests 1999-01-01 14:05:18 +00:00
augustss
87f8cbd14e Add a Communication Class header file. 1999-01-01 07:43:13 +00:00
augustss
3a16b606a6 Implement autorepeat in raw keyboard mode. 1998-12-30 19:25:27 +00:00
augustss
a971be193b Add USB keyboard type. 1998-12-30 19:15:11 +00:00
augustss
20f51aae57 Split usbd_delay_ms() into two functions, one can be used in
device drivers.
1998-12-30 18:06:25 +00:00
augustss
87fea0705b Implement raw keyboard mode for X. 1998-12-30 18:03:37 +00:00
augustss
85ff7a3234 Fold line. 1998-12-30 17:48:48 +00:00
augustss
3b9a669a7d Remove #include that slipped in at FreeBSD merge. 1998-12-30 17:46:20 +00:00
augustss
503bbd973d Allow the wsmouse device to be opened for writing even if it is already
open, this way ioctl() can be performed on it and wsconsctl works.
1998-12-30 14:02:18 +00:00
augustss
44df4dcc85 Add a wscons display type `unknown' that the generic VGA driver can
return until someone fixes it for real.
1998-12-30 13:54:03 +00:00
hwr
446f262aa5 Regen 1998-12-30 13:50:42 +00:00
hwr
4d3847e0ea Add NeoMagic MagicGraph 128ZV graphic chip. 1998-12-30 13:49:49 +00:00
augustss
a4a02fda54 Make it compile without USB_DEBUG, fixes PR 6689. Patch from
taca@sky.yamashina.kyoto.jp (Takahiro Kambe).
1998-12-30 13:25:54 +00:00
augustss
0ae031028d Add a special wsmouse type for USB mice. 1998-12-30 13:14:21 +00:00
dbj
3fec12a459 Added parens around ADD_BYTES_LIM() macro definition to protects its
use of the low precedence ?: conditional operator.  This fixes a bug
in scsipi_interpret_sense when printing out debugging info.
1998-12-30 11:17:34 +00:00
augustss
85299e125c Regen. 1998-12-30 03:55:49 +00:00
augustss
cce7071d57 Add iMac devices. 1998-12-30 03:52:30 +00:00
augustss
21e272bf01 Do not blindly assume that a device supports language id 0, instead
ask it what languages it supports.
1998-12-29 16:02:55 +00:00
augustss
c047e03d90 Update copyright to the TNF standard. 1998-12-29 15:57:46 +00:00
augustss
9bcfc24c6b Add some #if 0 code for keyboard console attachment. 1998-12-29 15:42:30 +00:00
augustss
5aa16bd113 Don't set configuration unnecessarily, some (broken) devices seem to break
if you do.
1998-12-29 15:33:10 +00:00
augustss
961d81ade7 Return more info in ioctl(USB_DEVICEINFO). 1998-12-29 15:27:16 +00:00
augustss
0f94f62616 The Peracom serial converter (like some other devices) claim to have
string descriptors, but gets very upset if you read them.
1998-12-29 15:23:59 +00:00
augustss
32f13388c5 Regen. 1998-12-29 15:21:33 +00:00
augustss
a7147eda73 Add Peracom serial converter. 1998-12-29 15:19:40 +00:00
augustss
6b5d35ee9d Minor change in a debug printf. 1998-12-29 14:29:53 +00:00
augustss
683fd3dfba Add some more useful #defines. 1998-12-29 14:27:33 +00:00
marc
9ada0bf40f check for end of tuple while reading cfe data 1998-12-29 09:03:15 +00:00
marc
0380eb8f98 added SVEC_LANCARD 1998-12-29 09:00:50 +00:00
marc
5d9e772403 added support for quirks based on cis strings, added quirk entry for SVEC_LANCARD 1998-12-29 09:00:28 +00:00
marc
0de74697c4 rebuilt from pcmciadevs 1998-12-29 08:59:14 +00:00
marc
b5f4f4dcfe add SVEC losing ethernet card 1998-12-29 08:58:37 +00:00
augustss
47ff9e7c63 Implement short transfers. 1998-12-29 05:08:57 +00:00
augustss
fe9a1b2b2d Implement short transfers. 1998-12-29 04:15:04 +00:00
augustss
3064141641 Make it possible to specify the request flags when issuing a raw USB request. 1998-12-29 03:13:10 +00:00
augustss
16b49a78c6 New USB attach args. 1998-12-29 03:09:48 +00:00
augustss
4c9147cd38 Remove part of the bigendian patch that was not supposed to be commited. 1998-12-29 03:01:44 +00:00
augustss
d4fa2978fa Imprive debugging message. 1998-12-28 21:05:47 +00:00
augustss
4386ae98b0 Send more information to USB attach routines so that they can claim
multiple interfaces.
1998-12-28 21:05:26 +00:00
augustss
dfad58d4e0 Change the host controller internal API a little and add some incomplete
support for isochronous transfers.
1998-12-28 20:13:59 +00:00
mjacob
d6cab14b00 clean up headers 1998-12-28 19:12:26 +00:00
mjacob
8ac99457db I mean *really* clean up headers 1998-12-28 19:12:04 +00:00
mjacob
b51e3fbf3c clean up headers; remove early revision 2100 workarounds 1998-12-28 19:11:32 +00:00
mjacob
e5e787230b clean up headers; move uninit/watch to outer layers 1998-12-28 19:10:43 +00:00
mjacob
9ccf227085 clean up header 1998-12-28 19:07:38 +00:00
augustss
c9cf2c5601 Fix typo. 1998-12-28 16:41:11 +00:00
augustss
1256add6be Update for new name in usb.h 1998-12-28 16:13:44 +00:00
hannken
bf9e279952 Prepare for wsconsctrl:
- clean up keycode defines.
- allow easy parse of wsksymdef.h.
- add misssing KB_IT entry.
- set layout to KB_USER after ioctl WSKBDIO_SETMAP.
1998-12-28 13:48:24 +00:00
augustss
020a909cba Add a lot of byte swapping to get the code to work on big endian machines.
Patch from Tsubai Masanari <tsubai@iri.co.jp>.
Add an extra controller reset.  According to the OHCI spec it shouldn't
be necessary, but without some machines don't work.
1998-12-28 12:56:19 +00:00
augustss
3c6b7ccc2a Cosmetics. 1998-12-28 12:52:38 +00:00
augustss
f4133e9fae Update timing again (for bad devices). 1998-12-28 12:35:27 +00:00
augustss
be8213d207 Add some isoc defines. 1998-12-28 03:27:00 +00:00
augustss
2e0dbd3cc0 Add another power up wait so that some devices (that do not follow
the spec) start up more reliably.
1998-12-28 02:23:25 +00:00
augustss
cd36ca65dd Fix typos. 1998-12-28 02:20:28 +00:00
augustss
8fe37fa62c Cosmetics. 1998-12-28 02:06:25 +00:00
augustss
6afab47ac5 Be more careful when forming the TD endpoint field. 1998-12-27 23:40:52 +00:00
augustss
5c3f51a42a Add quirk for bad version no. in audio control descriptor. 1998-12-27 23:38:13 +00:00
augustss
33f1482ece Make sure recording is started before we return EWOULDBLOCK in a read(). 1998-12-27 23:25:32 +00:00
augustss
496387c419 Fold lines to 80 chars. 1998-12-27 22:52:23 +00:00
augustss
da39a16267 Fold lines to 80 chars. 1998-12-27 13:03:58 +00:00
augustss
e0c228ae9c Merge changes to make the USB stack work with FreeBSD. The original
diffs from Nick Hibma <n_hibma@freebsd.org>, but with substantial
changes from me.
XXX Not tested on FreeBSD yet.
1998-12-26 12:53:00 +00:00
msaitoh
2718914e14 fix incorrect panic message 1998-12-25 16:50:08 +00:00
marc
ae7cea0a83 initialize a variable to avoid a false compiler warning. 1998-12-25 00:54:46 +00:00
marc
b5afabb89a check in generated files again so the included CVS id is correct 1998-12-25 00:54:11 +00:00
marc
1a6e9eab49 add quirk support for cards which lie extensively about their CIS 1998-12-24 04:51:59 +00:00