pk
2c49105697
Fix #includes.
...
Remove #ifdef SUN4C & SUN4M.
1998-07-28 00:44:39 +00:00
pk
5bf04ed2be
Add `sbus' to SUBDIRS.
1998-07-28 00:36:31 +00:00
pk
783e554213
One header to install.
1998-07-28 00:33:03 +00:00
pk
315e1a28de
Fix #includes
1998-07-28 00:31:42 +00:00
pk
fd9017990f
Magma driver has been moved to <dev/sbus>
1998-07-28 00:17:47 +00:00
pk
48ca0ed59d
Lance front-ends on Sbus moved here.
1998-07-27 23:56:26 +00:00
pk
947f2424a8
Add `le at sbus', `le at lebuffer' and `en at sbus'.
1998-07-27 23:54:58 +00:00
pk
fa624fd99a
Moved to dev/sbus from arch/sparc/dev
...
Get headers from <dev/sbus>
1998-07-27 23:47:07 +00:00
tron
a79f26fe76
Regen from pcidevs.
1998-07-27 22:58:43 +00:00
tron
04affecc7a
"Brooktree Brooktree Bt848" -> "Brooktree Bt848"
1998-07-27 22:58:07 +00:00
drochner
ee4bf8991d
add support for native "Intelli" mice (wheel = z axis)
1998-07-27 22:36:23 +00:00
drochner
1b27072062
add zero z axis argument
1998-07-27 22:34:30 +00:00
drochner
87ad9bca7a
add third axis for pointing devices (flying mice)
1998-07-27 22:33:22 +00:00
tron
0d386417e9
Regen from pcidevs.
1998-07-27 21:37:17 +00:00
tron
d54ccbde1a
Add Brooktree Bt848 and BT849 video capture chips.
1998-07-27 21:34:11 +00:00
augustss
e8e8a975af
Regen.
1998-07-27 20:04:10 +00:00
augustss
6585f9ebc1
Add S3 SonicVibes.
1998-07-27 20:02:27 +00:00
pk
81ff4e8b36
qec device register definitions (from OpenBSD).
1998-07-27 19:27:19 +00:00
pk
3252d462bb
qec `bus' driver; much like lebuffer.
1998-07-27 19:26:32 +00:00
pk
08a95cc833
Change copyright.
1998-07-27 19:25:34 +00:00
pk
e68ada23e2
Move "sbusvar.h" hack in here.
...
Also define SBUS_BURST_* values here.
1998-07-27 19:15:40 +00:00
pk
3299f8cfe4
Get headers from dev/sbus.
1998-07-27 19:13:45 +00:00
pk
b1fe2da904
get headers from dev/sbus
1998-07-27 19:13:06 +00:00
pk
444f71921e
sbus configuration file.
1998-07-27 19:04:14 +00:00
augustss
47f172660c
Make ums attach to wsmouse only.
1998-07-27 18:51:32 +00:00
thorpej
e3eed5f706
Fix cfattach naming botch.
1998-07-27 18:27:36 +00:00
drochner
1e737a4010
add definition for pointing device's absolute z coordinates
1998-07-27 18:17:08 +00:00
drochner
e6f2ea1f40
define a z axis for pointing devices which support this
1998-07-27 16:59:22 +00:00
mrg
53017397ee
move these files to sys/dev/sbus. currently uses a hack to access the correct "sbusvar.h" XXX fix me.
1998-07-27 05:43:58 +00:00
thorpej
8db7ed28a4
ISA with OpenFirmware configuration glue for the CS8900 Ethernet driver.
1998-07-27 01:26:43 +00:00
thorpej
0f7ec45c46
Add CS8900 Ethernet driver, and ISA front-end.
1998-07-27 01:22:41 +00:00
thorpej
e9128957a6
ISA front-end for CS8900 driver.
1998-07-27 01:20:43 +00:00
thorpej
f68dfbe928
Sigh, make this work with the i386 bus_space functions (which have debugging
...
glue in them, and thus subtle syntax quirks).
1998-07-27 01:20:19 +00:00
thorpej
2d588abad8
Split up the Shark CS8900 driver into front-ends and core back-end (which
...
is here, since the chip can only live on an ISA bus; only the autoconfig
glue is different).
1998-07-27 01:08:51 +00:00
augustss
638fb6a638
A first stab att supporting console access with a USB keyboard.
1998-07-26 17:42:48 +00:00
explorer
ab207dc49d
add ntwo* at pci? function ?, a T1 network driver.
1998-07-26 03:28:28 +00:00
explorer
c5e450957a
add (hopefully) bus-independent hd64570 driver, for the Hitachi serial
...
controller chip.
1998-07-26 03:26:57 +00:00
augustss
4e1976a433
Use PCI class/subclass/interface to match USB host controllers instead
...
of vendor/product id. This makes the probe find more controllers
without recompilation.
1998-07-26 00:40:59 +00:00
augustss
72de215752
Use PCI class/subclass/interface to match USB host controllers instead
...
of vendor/product id. This makes the probe find more controllers
without recompilation.
1998-07-25 23:23:01 +00:00
explorer
12f40f6481
commit this so it gets the right generated from tag
1998-07-25 23:12:16 +00:00
augustss
7c50ea1e65
Insert lots of ``#if NWSMOUSE > 0'' and ``#if NWSDISPLAY > 0'' to make it
...
possible to have a wsmouse and/or wskbd without having a wsdisplay.
1998-07-25 20:02:20 +00:00
augustss
3ff58ab530
Add wscons attachments for USB keyboard.
1998-07-25 15:36:30 +00:00
augustss
6532f4f144
Add an ioctl() to get host controller statistics.
1998-07-25 15:22:11 +00:00
augustss
2c5f27cf9d
Don't print device class in attach message.
1998-07-25 15:19:09 +00:00
augustss
8bafec3cec
I forgot to commit these when usb_mem was added.
1998-07-25 15:15:39 +00:00
explorer
9043581b85
define RISCom and RISCom N2 product
1998-07-25 11:57:50 +00:00
augustss
67ec8587a0
Provide wsmouse attachment for the USB mouse driver.
...
XXX Keep /dev/ums* for now since XFree86 does not understand wsmouse yet.
1998-07-25 01:46:38 +00:00
thorpej
930937fd49
Define the CS8900 memory size, and macros to test for valid memory
...
base and IRQ.
1998-07-25 00:41:47 +00:00
augustss
b916de0f86
Add special memory allocation routines that supports allocation
...
DMA-able memory in small chunks (USB uses a lot of 8 byte chunks).
Using the bus_dma functions directly is inefficient.
1998-07-24 21:09:07 +00:00
augustss
06e7ed2009
Make sure requests are aborted properly when the pipe is aborted.
1998-07-24 21:02:51 +00:00
augustss
1a5dd77c56
Punt if the mouse reports absolute coordinates.
1998-07-24 20:59:57 +00:00
augustss
b79d954aac
Let hid_locate() return the item flags as well as the position.
1998-07-24 20:57:46 +00:00
drochner
658e297dd6
Initialize the new "dispoffset" (but don't use it for anything fancy).
1998-07-24 16:22:51 +00:00
drochner
3d545acb51
Overload the generic "copyrows" function by a private one which implents
...
a "fast scroll" by setting the display start in memory.
(Only implemented for "scroll up" because this is more used. "scroll down"
is easy to add.)
This moves the semantics of "copyrows" to something like "moverows";
the contents of the new visible lines at the bottom is undefined.
The emulations can live without the original "copy" semantics.
1998-07-24 16:20:14 +00:00
drochner
7764b57db5
allow the displayed area to start anywhere in display memory,
...
add a "dispoffset" variable to control this
1998-07-24 16:12:18 +00:00
drochner
e81ad8e2c6
add random generator hook
1998-07-24 13:42:29 +00:00
drochner
6dc9297499
remove unneeded typecast
1998-07-24 13:41:52 +00:00
sommerfe
8ba3494f9a
Deal with new pool code's changed API by rewriting this to not use pools.
...
Instead, use a manually maintained freelist in a second tailq.
Uses less data space, looks more symmetrical.
1998-07-24 03:29:29 +00:00
christos
fe7d31fe1e
First-gen
1998-07-23 19:31:36 +00:00
christos
bdb2269a46
Create a master list of pnp logical and compatibility device codes instead
...
of hard-coding it into each driver and use a centralized probe function.
1998-07-23 19:30:44 +00:00
thorpej
8d611b5f32
Remember the product ID and revision.
1998-07-23 19:25:52 +00:00
thorpej
d2bc077edb
G/c a now unsed config flag.
1998-07-23 19:03:11 +00:00
thorpej
458ba64f3a
Slight variation on last; be a bit more zealous about fixing up the
...
clock source. Now, when my EtherPower II locks up, it eventually recovers!
(Geez, I'd like to know why it does this, and only apparently in 10mb/s mode).
1998-07-23 17:37:38 +00:00
drochner
c4c3297772
update comment ("John F. Woods" <jfw@funhouse.com>, PR kern/5798)
1998-07-23 16:39:24 +00:00
drochner
56a5adfaff
Switch keyboard to "event mode" on open.
...
Nuke wskbd_set_translation(). It doesn't fit into the "screen" model.
1998-07-23 14:33:01 +00:00
augustss
d6ef9cbb33
Add some comments and a function to set the alternate settings in an
...
interface.
1998-07-23 13:44:21 +00:00
augustss
8cdf268a45
Implement bulk transfer for OHCI.
1998-07-23 13:41:04 +00:00
augustss
c263b1d26f
Don't leak memory if opening a pipe fails.
1998-07-23 09:18:37 +00:00
augustss
964fdc18b8
Use the pipe maximum packet length rather than the device max length when
...
setting up a transfer.
Update the UHCI data toggle correctly.
1998-07-23 01:46:27 +00:00
augustss
0f40401a23
Fix bug in freeing TD chain after bulk transfer.
1998-07-23 00:27:36 +00:00
thorpej
daf40e1b0b
Add common OpenFirmware network interface functions. Currently supports
...
decoding the `supported-network-types' and `chosen-network-type' properties
into ifmedia words.
1998-07-22 22:04:14 +00:00
drochner
4c50fd2165
regen
1998-07-22 17:43:11 +00:00
drochner
28f1e61164
add IDs for ACC Micro 2051 "PCI Single Chip Solution"
1998-07-22 17:41:04 +00:00
augustss
40060e366e
Loop over all configurations when trying to probe for interface drivers.
1998-07-22 12:22:08 +00:00
christos
e6efe5f7e9
Regen
1998-07-22 11:48:58 +00:00
christos
194f94bd97
Don't print bogus info about vendors in pcmciadevs_data.h
...
(Reported by John Kohl)
1998-07-22 11:47:13 +00:00
augustss
f190634e3d
Add an Acer labs USB controller.
1998-07-22 10:43:37 +00:00
thorpej
02ad0b4eda
Add support for ifmedia.
1998-07-21 22:58:31 +00:00
thorpej
d3882c1b56
Define autonegotiation bits.
1998-07-21 22:27:33 +00:00
thorpej
3db796d287
Define a couple more of the PacketPage registers.
1998-07-21 22:04:13 +00:00
thorpej
88a0132aec
Correct the name of the CS8920M id, and fix some whitespace lossage.
1998-07-21 19:54:19 +00:00
drochner
49bb9d8214
adapt to LANCE driver split
1998-07-21 17:36:01 +00:00
drochner
68f2474820
adapt to LANCE driver split; let PCNET/PCI use the 32-bit mode
1998-07-21 17:30:26 +00:00
drochner
9a59784f70
Split the LANCE driver into a part specific to the classic chip with
...
24-bit DMA addresses, and an independant part.
Implement support for the 32-bit mode in the newer (79c9xx) chips.
1998-07-21 17:26:45 +00:00
drochner
dc08679458
Fix ioctl definitions for WSKBDIO_{SET,GET}LEDS.
...
from Takuya Koumoto <takuya-k@is.aist-nara.ac.jp>
1998-07-21 09:17:33 +00:00
mycroft
3780fa036e
Add RCS IDs.
1998-07-21 07:48:36 +00:00
thorpej
0611893e60
Move the cs8900 driver's softc, etc. definitions to an MI location.
1998-07-21 01:04:01 +00:00
thorpej
0987caaee6
G/c unused definition.
1998-07-21 00:39:21 +00:00
thorpej
a083bc2950
Split the CS8900 register description from the SHARK-specific header file,
...
and place it here.
1998-07-21 00:07:33 +00:00
thorpej
9e17315847
Write the CLOCK TEST bit *at least 16 consecutive times* during initialization,
...
as the clock source will be set incorrectly otherwise! From SMC Application
Note 7-15. Thanks to Christoph Badura for the pointer!
1998-07-20 21:39:05 +00:00
thorpej
d8e4026492
Oops, unused variable warning.
1998-07-20 21:17:30 +00:00
thorpej
74fc0579eb
We're not Linux. If we still want driver version strings to be displayed
...
at boot, then I suppose DEBUG is a reasonable compromise.
1998-07-20 21:16:52 +00:00
thorpej
79f77cc9ce
The mystery bit in the TEST register is actually the CLOCK TEST bit.
1998-07-20 20:45:06 +00:00
christos
f5f944adfd
Regen
1998-07-20 07:34:11 +00:00
christos
87dc83ee69
Remove duplicate DEC card
1998-07-20 07:33:54 +00:00
mellon
7a03c42491
Fix typo.
1998-07-20 02:17:17 +00:00
drochner
fb28f87855
Remove a check which restricted raw SCSI commands to the "minor 3"
...
("CTLMODE") subdevice. There are legitimate uses for raw commands with
normal tape handles too.
[I'm not sure if this is a final solution. Administrators might want
to set up a more finegrained policy. However, this should not be mixed
with the "set defaults" semantics of the "CTLMODE" subdevice; another
flag should be used instead (eg execute permission or a minor number bit).]
1998-07-19 18:43:20 +00:00
christos
66370d4fe9
Regen
1998-07-19 17:30:02 +00:00
christos
e3bc291504
Add a devlist2h.awk so that we don't sprinkle the same constants over
...
each device driver file and use it.
1998-07-19 17:28:15 +00:00
tron
334afaa14e
Regen from pcidevs.
1998-07-19 12:25:46 +00:00
tron
463e7e6dce
Fix product ID for Matrox Mystique, add NEC PowerVR PCX2.
1998-07-19 12:23:56 +00:00
is
6054d626f9
Switching dev/ic/lpt.c to use spllpt() instead of spltty(). It doesn't use
...
tty structures, and on some machines (namely the DraCo internal lpt, and some
multi-i/o boards for Amigas and DraCos), tying spltty to the pretty high printer
interupt level would hurt serial performance.
On all affected ports but Amiga, spllpt() has been defined in machine/intr.h
to be spltty(), thus preserving old behaviour. Portmasters are encouraged to
change is, if they feel something else is better (e.g., one of its own were
possible).
1998-07-18 21:27:25 +00:00
mjacob
a455ce7531
Locking is now in the outer framework for isp_init/isp_reset- this allows
...
us to call isp_reset/isp_init internally with impunity.
Rename isp_phoenix to isp_restart and make it global. Clean it up a tad.
If we get an ASYNC_SYSTEM_ERROR code in isp_intr, call isp_restart and
return- the f/w is toasted at this point (usually), so we have to bring
things back to a known state.
In isp_mboxcmd, when we don't see the HOST_INT bit go clear, try and
find out if the isp is trying to tell us something and try again. This
may avoid a potential deadlock where the previous mailbox command hasn't
been cleared by the ISP.
In isp_init don't try and get device parameters if we already have them-
this typically doesn't work if we're in the middle of an isp_restart.
1998-07-18 21:10:16 +00:00
mjacob
9afa921bc1
roll core version number and add a global visible isp_restart function
1998-07-18 21:06:20 +00:00
mjacob
35c8fecf3a
fix headers
1998-07-18 21:05:39 +00:00
mjacob
b85bf24ed5
fix bogus comments
1998-07-18 21:05:04 +00:00
mjacob
576988940f
roll revision
1998-07-18 21:04:46 +00:00
mjacob
1aa702b8f8
fix bogus initialization
1998-07-18 21:04:22 +00:00
mjacob
99ff11f6b7
locking now out of main framework for isp_reset/isp_init
1998-07-18 21:02:06 +00:00
is
985b3e8d4d
Make this compile without USBVERBOSE.
1998-07-16 12:55:19 +00:00
mjacob
66ea6cc018
Fix for kern/3835: add an sd sense handler. If we get a check condition/sense
...
data ASC/ASCQ of 0x04/0x01 (logical unit not ready, initialization in progress),
hang out for 5 seconds and return a RETRY THE OPERATION command. If we
get a check condition/sense data ASC/ASCQ of 0x04/0x02 (logical unit not
ready, initialization command required), send a polled/nosleep START UNIT
command and return a RETRY THE OPERATION command if that succeeds.
Don't send a START UNIT to a disk quirked as SDEV_NO_START. Don't send
a START UNIT to removable media. The reason for the latter is to not
just blindly spin up new (maybe changed) media.
I should note that I've successfully made this work with the ISP host
adapter so far. Other host adapters will need some work to be able
to manage or reasonably fail NOSLEEP/POLL commands while in this
state. Alternatively, the internal SCSI midlayer structure has got
to allow for more controlled error recovery (e.g., restart queues
controlled by the target driver).
1998-07-15 20:21:12 +00:00
mjacob
bf29f419e7
part of fix for kern/3835: use of enumerated returns from target sense handlers
1998-07-15 20:13:30 +00:00
mjacob
dba811205f
1) Part of fix for kern/3835: add in enumerated return values for target
...
drivers' sense handlers to return. Coincidentally one of them ends up
being ERESTARTSYS.
2) Add a SCSI_URGENT flag to xs structure- this allows host adapters that
do command tagging to do the right thing wrt a tag.
1998-07-15 20:11:34 +00:00
mjacob
afb0e1b693
no framework
1998-07-15 19:53:57 +00:00
mjacob
e8f976016e
Some major thrashing to handle building for other than NetBSD.
...
There is one change of note- build a list of completing commands in
ispintr and then say you're done- this avoids some re-entrancy issues
that had surfaced.
1998-07-15 19:50:16 +00:00
mjacob
d96bd50c07
NetBSD OS specific routines and definitions.
1998-07-15 19:44:04 +00:00
drochner
9d504aa676
rename "LK" -> "declk" for consistency
1998-07-15 14:06:34 +00:00
drochner
8babb8290c
fix egcs warnings
1998-07-15 09:35:35 +00:00
drochner
37040ed809
support keyboards with PC interface and DEC layout (LK461)
1998-07-14 19:33:58 +00:00
drochner
bfd46dadad
fix codes delivered by "Help" and "Do" keys
1998-07-14 19:32:17 +00:00
thorpej
750e240c97
Print the "model" property.
1998-07-14 01:39:34 +00:00
thorpej
943235ed66
Those tabs sure are excitable!!
1998-07-13 16:50:56 +00:00
hpeyerl
76735d1493
Add support for ATA CD changer devices like the NEC CDR-251.
...
Evidence of managerial coding removed by Victor T. Cleaner (thorpej)
1998-07-13 12:04:29 +00:00
augustss
20106c31ca
Add some useful HID ioctl()s.
1998-07-13 10:49:41 +00:00
nathanw
dd34e06fe7
Add three more cards:
...
- USRobotics WorldPort 14.4 modem
- Mototola Personal Messenger 100c CDPD modem
- Socket Communications PageCard
Note: Most of this should be replaced with a com-port-detecting
heuristic better than the previous two.
1998-07-13 07:37:05 +00:00
mark
b34e933db8
Regen.
1998-07-13 03:29:48 +00:00
mark
22d5b20046
Add ID for ALI M1541 Host-PCI bridge.
1998-07-13 03:29:00 +00:00
augustss
7732413b58
Regen.
1998-07-12 20:44:53 +00:00
augustss
022ab523d2
Add USB.
1998-07-12 20:07:27 +00:00
augustss
deb00272b9
Add USB support. Supported so far:
...
* UHCI and OHCI host controllers on PCI
* Hubs
* HID devices withe special drivers for mouse and keyboard
* Printers
1998-07-12 19:51:55 +00:00
cgd
8f94f1a709
I went to Fry's and noticed a few more cards that probably will be
...
supportable with this driver, but currently aren't supported. Add them.
1998-07-12 02:21:56 +00:00
mjacob
0978d23cc4
Clarify that Sense Key 1 is a "RECOVERED ERROR"- not just an error.
1998-07-11 00:52:09 +00:00
tron
67eb4c3488
Regen from pcidevs.
1998-07-10 20:41:36 +00:00
tron
763b848669
Add Intel's BX chipset, 3Dfx Interactive and their Voodoo board.
1998-07-10 20:40:06 +00:00
mjacob
b5b5f16fba
hmm, char sign extension bit me
1998-07-10 19:37:18 +00:00
thorpej
902855d60e
Fix int32_t overflow with large serially concatenated components,
...
from Noriyuki SODA <soda@sra.co.jp>, PR #5729 .
1998-07-09 20:56:12 +00:00
mycroft
f37f08c48e
This doesn't need opt_compat_netbsd.h any more.
1998-07-09 09:27:33 +00:00
mycroft
401accfd7a
Don't #ifdef the encoding compatibility crud. It's needed for source
...
compatibility with other systems and much third party software.
1998-07-09 02:45:45 +00:00
mycroft
3158aca613
Fix the name of the ulinear_be mode.
1998-07-09 02:26:55 +00:00
thorpej
1b5fbe0b89
DRQ 4 is used to chain the two 8237s together. Make sure it's always
...
cascaded and that it will be unmasked when DMA is thawed after being
frozen. (This also has the effect of making sure that no device ever
erroneously gets DRQ 4.)
1998-07-08 05:23:23 +00:00
thorpej
30291f0f2f
Declare the ofisa soundblaster attachment.
1998-07-08 05:14:10 +00:00
drochner
2ba4227a6e
from OpenBSD:
...
date: 1998/06/24 20:05:03; author: deraadt; state: Exp; lines: +4 -4
initialization error; joel@wmi.com
(affects debug printout only)
1998-07-07 14:13:51 +00:00
thorpej
88139fff5a
Never, ever, ever, ever include "assym.h" in C source file.
1998-07-07 02:02:53 +00:00
augustss
8af687b575
Add mixer output selection.
...
From gson@araneus.fi (Andreas Gustafsson)
1998-07-06 11:12:21 +00:00
jonathan
3472ba67bb
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID (from unsaved buffers).
...
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 18:27:18 +00:00
jonathan
d275e56dee
* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
...
TODO: revisit interaction between native compat and emul compat usage.
1998-07-05 08:49:30 +00:00
jonathan
011f2bda08
defopt NS, NSIP.
1998-07-05 06:49:00 +00:00
jonathan
fe484937cf
defopt LLC
1998-07-05 03:14:41 +00:00
jonathan
8db0fcdbf7
defopt CCITT.
1998-07-05 02:12:22 +00:00
jonathan
3751946b97
defopt INET, NETATALK.
1998-07-05 00:51:04 +00:00