mycroft
97de30ff26
Several things:
...
* Rearrange the speed mapping table and adjust the code so that the highest
rate can actually be used. Previously we ended up rounding up slightly
lower speeds and then losing because set_params couldn't set the mode
back to the current one.
* Allow 260 as a valid I/O address, since the SB1 can be jumpered to this.
* Change the MPU-401 code so it can be attached as a separate device.
(XXX Really, the SB code ought to just attach a subdevice itself.)
* Do not attach an OPL on the SB1. Writing to the OPL registers at
SB_base+0 on this card wedges my machine.
(XXX Should we access it at 388 instead? The Creative web site claims
that this board *does* have an OPL2, but I haven't played with this
extensively.)
* Allocate the SB DMA channels at open time, rather than attach time, so
that a single DRQ can be used for multiple cards (if only one is in use
at a given time).
(XXX Let me tell you why this is a horrible hack. If the ISA DMA code
tries to allocate a bounce buffer after boot time, it will generally fail,
because there is no contiguous memory below 16MB and the code to allocate
contiguous pages doesn't know how to move things around. Now, we
shouldn't ever be using bounce buffers here, because we use
isa_dmamem_alloc(). So we just turn off BUS_DMA_ALLOCNOW and we don't
actually try to. That's cool, and it even works, but isa_dmamem_alloc()
has the same problem. It just happens that we allocate the ring buffers
at boot time, and whenever we reallocate them (due to the buffer size
changing), we just deallocated the previous (contiguous) buffer, so we get
lucky. This is absolutely disgusting and needs to be fixed.)
1999-03-22 07:37:35 +00:00
mycroft
1337db796b
Adjust the probe routine to work on chips where the mic preamp bit is shared
...
between register I0 and I1.
1999-03-22 07:27:46 +00:00
mycroft
ee5f90d04c
If bus_dmamap_create() fails, free the DMA channel.
1999-03-22 07:06:09 +00:00
erh
fc841e81b5
Get the index on the buffer (in addition to the descriptor) correct.
1999-03-19 22:43:11 +00:00
ad
14c68aa23d
Defined KEY_CAPSLOCK.
1999-03-19 18:34:01 +00:00
christos
036ec6601c
Add FDC_HEADSETTLE to wait for the heads to settle timeout
1999-03-19 16:09:57 +00:00
mycroft
5b00b99bef
Allow DRQ[A-C] to be used on the 1888 as well.
1999-03-19 12:40:21 +00:00
mycroft
f60907c286
Regen.
1999-03-19 06:40:11 +00:00
mycroft
4e92fb2fd1
Add AudioPCI 97 (a.k.a. Creative Ensoniq AudioPCI).
1999-03-19 06:39:32 +00:00
cgd
fa26744c04
don't need isa_machdep.h, since isavar.h is included
1999-03-19 05:42:00 +00:00
cgd
d324c9f2f6
pull isa_machdep.h in from machine/ instead of from $(MACHINE)/isa/
1999-03-19 05:13:16 +00:00
cgd
ff42ff62e8
pull pci_machdep.h in from machine/
1999-03-19 03:37:52 +00:00
cgd
a6eca03c65
pull ofisa_machdep.h in from machine/
1999-03-19 03:30:35 +00:00
cgd
1f2cf84892
pull isapnp_machdep.h in from machine/
1999-03-19 03:24:19 +00:00
cgd
49f4da1c43
pull tc_machdep.h in from machine/
1999-03-19 03:13:21 +00:00
cgd
6ac54498c7
pull eisa_machdep.h in from machine/
1999-03-19 03:01:50 +00:00
eeh
b71ea6aad4
Use correctly bus_space_*() macros to access device registers.
1999-03-19 02:32:48 +00:00
mycroft
270a41c358
We only have one IRQ.
1999-03-19 01:21:24 +00:00
mycroft
b45b384ea1
Also fix ia_iosize.
1999-03-18 20:57:11 +00:00
mycroft
5a20d4df8d
Some fixes to the IRQ/DRQ configuration, and the probe output.
1999-03-18 20:55:50 +00:00
drochner
43b95688fe
regen
1999-03-18 17:07:51 +00:00
drochner
f5489c46e2
aic at isapnp is reported to work with AVA-1505A boards too
...
(by "Elephant's Root" <root@elephant.nervana.montana.edu>,
PR kern/7179),
add the device id and the compat id used by this board
1999-03-18 17:07:09 +00:00
augustss
0cdb143eaf
Initialize pipe structure properly. From Joel Chen <jchen@nc.com>
1999-03-18 12:08:43 +00:00
mycroft
813fb95309
The chip is only rated for 44.1KHz, and will not record faster that 46.794KHz,
...
so adjust ESS_MAXRATE. ESS_MINRATE was also wrong, not that anyone cares.
1999-03-18 07:11:21 +00:00
mycroft
b6ee330d4e
dmapos should start at 0, in theory.
...
Also experimentally force polling mode.
1999-03-18 06:04:21 +00:00
mycroft
81d2718d5b
Add support for polling.
1999-03-18 06:03:31 +00:00
mycroft
039246b8d5
Add support for polling.
1999-03-18 04:31:36 +00:00
oster
efe288e520
Correct a component label problem where a RAID 1 set with a
...
failed component would not configure properly in certain situations.
1999-03-18 03:02:38 +00:00
mycroft
ff4754d6e5
Confirm that there was an interrupt before handling it. Allows IRQs to be
...
shared with other devices.
1999-03-18 02:44:27 +00:00
mycroft
4bd7ef0241
Adjust for structure name changes.
1999-03-17 22:19:35 +00:00
dean
ce18d4bd84
corrected the "generated from" lines by running make -f Makefile.isapnpdevs
...
AFTER committing isapnpdevs.
1999-03-17 21:11:57 +00:00
thorpej
1954300d6c
Regen.
1999-03-17 19:21:49 +00:00
thorpej
0d433f490b
Add Silicon Integrated Systems SiS900 10/100 Ethernet.
1999-03-17 19:20:51 +00:00
ross
4ca95ee66e
prototype ioasicprint
...
XXX pmax XXX I think someone is using the MD proto and the MI func on pmax
1999-03-17 18:24:57 +00:00
bouyer
af9df0ab31
Revert to a 10s timeout, 1s is too low for drives in sleep mode.
1999-03-17 10:13:56 +00:00
mjacob
c312dfb410
prototype 1080/1240 support caused register offset rewhack
1999-03-17 06:17:16 +00:00
mjacob
d596b20f1e
prototype 1080/1240 support
1999-03-17 06:16:42 +00:00
mjacob
008b51d0a6
Update the driver with some infrastructure for the 1080. Fix an embarrassing
...
clock botch bug. Additional infrastructure for PDB change stuff.
1999-03-17 06:15:47 +00:00
mjacob
690045798e
roll internal tag
1999-03-17 05:11:57 +00:00
mjacob
72c7f98bd8
add in 1080/1240 f/w, plus options to not compile stuff in
1999-03-17 05:11:13 +00:00
mycroft
8ace2247cb
Fix a couple of other places we should avoid the Audio2 DRQ on the 1788.
1999-03-17 02:39:59 +00:00
mycroft
81a1ade358
More redux:
...
* Use a single routine to halt both input and output on Audio1.
* Reduce the number of register reads/writes used to set up a channel.
* A few other minor things.
1999-03-17 01:06:17 +00:00
dean
16ef4e3349
Add entries for USR Sportster 14.4K and 33.6K
1999-03-16 22:58:17 +00:00
mjacob
e380eb62d5
Tron whacked my you-know-what because I didn't follow procedure.
...
So I insered his description of the 'procedure' in the most likely
place a developer will find it.
1999-03-16 22:41:56 +00:00
tron
ddbc34d638
Regen from "pcidevs".
1999-03-16 22:32:58 +00:00
erh
f4ccb35266
Add a "+1" in sca_start which should fix the limit of 2 transmit buffers. Also, kill some duplicate code.
1999-03-16 21:29:23 +00:00
mjacob
f50c9fa8ea
add Qlogic 1080 && 1240 product IDs
1999-03-16 21:24:46 +00:00
mycroft
84f100d175
Audio1 does not support 16-bit DMA. Eliminate some code that tried to handle
...
that case.
1999-03-16 14:17:00 +00:00
simonb
16cc2ad23b
Uncomment ioasic_subr.c.
1999-03-16 14:07:22 +00:00
simonb
79f173e5f3
Add NetBSD RCS id on first line.
1999-03-16 13:53:39 +00:00
mycroft
13d43eb62b
Fix old typo.
1999-03-16 13:37:23 +00:00
mycroft
e085a0c921
A little more cleanup.
1999-03-16 13:32:25 +00:00
mycroft
28e080a143
Minor fix to some debugging output.
1999-03-16 13:24:27 +00:00
mycroft
9e041fd850
Adjustments for structure name changes.
1999-03-16 13:07:45 +00:00
mycroft
3e404912dc
Clean up the previous:
...
* Separate the interrupt handlers based on which channel (audio1/audio2)
rather than which direction (input/output). Only register the handler for
audio1 on the 1788.
* Since the input sides are actually the same, GC the duplicated code.
* Re-KNF in a bunch of places.
* Make this work again on the 1887 in the Shark.
1999-03-16 13:06:35 +00:00
thomas
3387d026d6
Include machine/bswap.h, needed on big endian machines.
1999-03-15 20:19:57 +00:00
jonathan
ef79649fc1
MI ioasic softc and child-device structs, gc duplicate struct definitions.
...
Add MI ioasic functions, but dont enable on alpha until tested.
1999-03-15 01:25:26 +00:00
jonathan
69d2d27c1b
Use bus_space tags and handles, embedded in MD hooks AM7930_{READ_WRITE}_REG
...
to handle MD delay and bus padding. Tested on sparc2 by David Brownlee.
Should use regmaps, but that breaks sparc pDMA assembly code.
1999-03-14 22:29:00 +00:00
oster
2ec2c2045f
Cleanup rf_RewriteParity() and rf_VerifyParity(). Nuke unused stuff,
...
and make more readable.
1999-03-14 22:10:46 +00:00
oster
414b788837
Disallow interrupting parity re-writes or copybacks by removing PCATCH
...
from the tsleep()'s (they probably shouldn't have been there in the
first place!). Making parity re-writing and copybacks interruptable
will require re-designing how a few things are done (e.g. how memory
is freed for structures shipped off to routines that run asynchronously
relative to the calling routine). Fix a few other tsleep's while we're at it.
1999-03-14 21:53:31 +00:00
minoura
1ff51fea1a
Some x68k conditionals (I don't know why these are needed...).
1999-03-14 16:14:54 +00:00
ragge
4d77aa3c15
Avoid warning if !QBA.
1999-03-13 20:26:50 +00:00
ragge
f9b0eec83a
Change vsbus to take a locator for all devices.
...
Figure out interrupt vector/mask on vsbus by forcing all devices to
generate interrupts in the match routine, like on unibus.
1999-03-13 15:16:47 +00:00
drochner
7cfac216d7
Don't initialize any virtual screens (except the system console) at
...
autoconfiguration time; this can be done better from rc.local.
(For INSTALL kernels, WSDISPLAY_DEFAULTSCREENS can be defined which
sets up that many screens with default parameters.)
1999-03-13 14:46:20 +00:00
sakamoto
23903bfc0e
Regen.
1999-03-11 05:17:54 +00:00
sakamoto
272f5b609d
Add several VIA Technologies chipsets.
1999-03-11 05:17:24 +00:00
drochner
b241f995f0
don't erase the characters moved over on a <TAB>, a real VT100 doesn't
...
do this - thanks Bill Sommerfeld (PR kern/7124)
1999-03-10 19:54:52 +00:00
bouyer
a6365676fa
Add a new disk flag: DRIVE_OLD for pre-ATA disks. probe routine will now set
...
DRIVE_OLD, DRIVE_ATA or DRIVE_ATAPI based on register signatures.
The attach routine will issue a IDENTIFY command for ATA/ATAPI disk,
to detect flase matches by the probe routine.
probe/attach should now be fully compliant with ata-4/ata-5. As a side
effect, ATAPI drives which improperly use ATA register signatures should now
be attached as ATAPI.
1999-03-10 13:11:43 +00:00
kleink
a6d726254d
Un-nest __P().
1999-03-10 12:58:00 +00:00
mrg
1cfd38fb3e
oops, fix previous.
1999-03-10 02:19:04 +00:00
drochner
5704ad4969
regen
1999-03-09 11:48:59 +00:00
drochner
2987883f07
add 2 ISDN cards, from Martin Husemann per PR kern/7110
1999-03-09 11:48:03 +00:00
oster
cd0a696176
Cleanup raidattach: move rf_boot's functionality to raidattach, and
...
nuke rf_boot(). Cleanup raidopen().
1999-03-09 03:53:18 +00:00
oster
e39fe5e2fe
Cleanup unused cruft.
1999-03-09 03:52:41 +00:00
oster
29daf0c77d
rf_update_component_labels() now lives here. Re-work clean-bit
...
support a little: clean-bits now also get frobbed on partition
opening/closing, rather than just at device configuration and device
unconfiguration. Schedule shutdownhooks() stuff for nukage at a later
date, since it isn't really necessary any more.
1999-03-09 02:59:25 +00:00
oster
585c77594e
Move rf_update_component_labels() from here to rf_netbsdkintf.c.
1999-03-09 02:57:29 +00:00
mrg
ab80268653
no need to use __P inside __P.
1999-03-09 00:42:41 +00:00
mrg
fbda6bed6d
make this compile on SUN4U. XXX icky, reader beware.
1999-03-09 00:42:20 +00:00
bouyer
ba74f49e60
Keep track of CRC errors in Ultra-DMA mode. If we noticed a CRC error and we
...
need to downgrade, downgrade to PIO, as it has been shown if we got CRC errors
in Ultra-DMA mode, we will have silent data corruption in multiword DMA mode
(isn't IDE wonderfull ? :).
Set timeout to 1s for "normal" ata I/O, to minimise the effects of missed
interrupts.
1999-03-07 14:02:53 +00:00
drochner
1b9cb332aa
Don't try to selftest the keyboard port. PC keyboard controllers have
...
shown up which break in 3 different ways, so the test is becoming
pointless.
1999-03-05 10:40:54 +00:00
pk
df7a15e33c
* sparc => __sparc__
...
* wrap Sun disklabel code in `#if __sparc__ || __sun3__' for now.
1999-03-05 10:38:16 +00:00
dante
199f99d192
fix second level interrupt handler to allow 64 bits pointers
1999-03-04 20:15:53 +00:00
mjacob
fefcc128bf
a kindler gentler fix
1999-03-04 02:38:19 +00:00
mjacob
7790083b17
adjust format args for compiler changes
1999-03-04 02:20:13 +00:00
nisimura
439c3fc0cb
- Nuke "PMAD-BA " match string because it is an internal name of IOASIC
...
assisted LANCE circuit found only in IOASIC DECstations. This file is
for 3MAX builtin and PMAD-AA TURBOchannel option card.
1999-03-04 01:39:04 +00:00
pk
80b321b11a
sparc => __sparc__
1999-03-03 12:58:14 +00:00
nathanw
bd7b26e37d
Add ISA attachment for ess chips.
1999-03-02 20:42:10 +00:00
nathanw
64fffdfef9
Add support for the 1788 AudioDrive chip.
...
Some minor cleanup; refer to more registers by macros rather
than raw hex constants.
1999-03-02 20:36:50 +00:00
oster
98d8c12355
Update for recent changes including component label support, clean
...
bits, rebuilding components in-place, adding hot spares, shutdownhooks, etc.
1999-03-02 03:18:48 +00:00
nisimura
e19cedee17
- Make sfb_emulops standard feature of sfb wscons. Scrolling is now
...
acceptable. Still lacks of horizontal copy and glyph rendering with
SFB ASIC assistance. TGA could be benefitted in the similiar way.
1999-03-02 00:22:42 +00:00
nisimura
f85c9832ac
- Fix cursor image validity check error in set_cursor().
1999-03-01 02:45:04 +00:00
explorer
729bfc4dd7
undo commit made in error
1999-02-28 19:03:11 +00:00
explorer
c1ab1c57fb
don't collect or estimate on network devices by default
1999-02-28 19:01:30 +00:00
explorer
6b24c4b0fd
Cleanup (in preparation for using gzip to estimate entropy)
...
(1) remove unused and probably bad (from an API POV) ioctls,
(2) split tyfl into type and flags,
(3) collect an array of samples, and add them all at once. Soon, this
will be using gzip to estimate the entropy, but for now the original
estimation methods are still used.
(4) kill rnd_add_data() -- it compliated the API for little benefit
1999-02-28 17:18:42 +00:00
explorer
3ebb419571
Update to slightly altered rnd_attach_source() api
1999-02-28 17:08:05 +00:00
pk
87ae97e3f0
Fix what is probably a past-o.
1999-02-28 17:01:49 +00:00
drochner
0d46b0d0fd
Make "1" an acceptable result in port tests.
...
This is a workaround for crappy hardware, normal keyboard controllers
return a "0".
Should fix PR port-i386/6636 by Krister Walfridsson and problems
reported by chopps and fvdl.
1999-02-28 14:26:38 +00:00
augustss
9929e72099
Fix some buglets pointed out by "Brett D. Slager" <bds@snarf.thnet.com>
1999-02-28 10:05:00 +00:00
pk
5c062abb64
Fix the bus print function.
1999-02-27 22:21:13 +00:00
pk
331694119a
Our device name differs from the PROMs node name.
1999-02-27 13:17:08 +00:00
oster
ee9187f136
After a vn_close(), set the vnode * to NULL so we don't try closing it
...
again later.
1999-02-27 03:43:20 +00:00
oster
a76f56098c
Do the VOP_UNLOCK() on an initialized vp, rather than random garbage.
1999-02-27 01:48:13 +00:00
nathanw
ea0550413c
Make these compile on the alpha when AUDIO_DEBUG is defined.
1999-02-26 01:18:09 +00:00
dante
198f1f5c48
Fix AdvanSys Narrow driver to work on Alpha
1999-02-25 20:21:33 +00:00
dante
ceef7fa3d7
Fix AdvanSys Narrow driver to work on Alpha
1999-02-25 20:20:30 +00:00
jwise
8ef8f5c8fb
Fix typo.
...
Fixes last part of PR bin/6883 from Soren S. Jorvang <soren@t.dk>.
1999-02-24 18:54:03 +00:00
rh
46e61f2db1
regen to correct "generated from" as pointed out by Matthias Drochner, thx!
1999-02-24 18:26:37 +00:00
rh
5ff2e5a369
Add entry for Terratec AudioSystem EWS64 CoDec.
1999-02-24 15:37:34 +00:00
oster
65be57243f
Minor cleanups and code rearranging. Now knows a little about component
...
labels and how to deal with hot-adding spare components. Still work in
progress -- component labels and hot-adding are not enabled (yet).
1999-02-24 00:00:03 +00:00
oster
be9eca67c8
Cleanup/remove unused cruft. First kick at component labels and clean bits.
...
Still work in progress. New code is there, but not enabled yet.
1999-02-23 23:57:53 +00:00
oster
07b6b89dce
Move vnode cleanup code into one place. Cleanup a bit.
1999-02-23 23:55:29 +00:00
oster
0d29172def
Do a VOP_UNLOCK() before a vn_close().
1999-02-23 23:53:37 +00:00
nathanw
281bba9355
Update for minor changes in the ad1848 back end.
1999-02-23 21:16:27 +00:00
dante
eab52d94b3
Fixed AdvanSys Ultra Wide driver to work on Alpha.
1999-02-23 20:18:16 +00:00
nathanw
fad6371a16
Update for recent changes in wssvar.h.
1999-02-23 09:14:05 +00:00
nisimura
d6715660b7
- Introduce the first cut of faster wsdisplay_emulops exploiting SFB
...
accelerator potential. Need more work to finish replacing rcons.
Premilinary tests were done with DECstation and TC Alpha.
1999-02-23 06:34:49 +00:00
bouyer
71036465a5
In cy693_setup_channel(), setup timings for IOR too (they were left to 0,
...
which is a way too higth timing for some devices). Thanks to Ken Wellsch
for trying the multiple debug kernels until the problem was located.
1999-02-22 10:12:00 +00:00
mycroft
71eb5693e6
Use DMAMODE_DEMAND.
1999-02-22 03:24:33 +00:00
mycroft
10817df7f0
Oops; remove obsolete code.
1999-02-22 02:33:48 +00:00
mycroft
bd575a4ff6
Add support for demand mode with auto-init.
1999-02-22 02:32:43 +00:00
mycroft
529c6c50aa
Use DMAMODE_LOOPDEMAND. Tested on a CS4231 in a WSS clone.
1999-02-22 02:25:20 +00:00
mycroft
7da867ec93
Use DMAMODE_LOOPDEMAND. Tested on a ViBRA16.
1999-02-22 02:16:40 +00:00
mycroft
ea50d6f672
Use DMAMODE_LOOPDEMAND.
...
Fixes the audible glitches (due to FIFO underruns) when receiving network
packets on the Shark.
1999-02-22 01:57:33 +00:00
scw
fc658e2d3e
Don't update the CORx registers unless they really have changed.
...
Also make console Tx handling wait until the Tx FIFO has drained and
the shift-register is empty before sending console characters.
1999-02-21 14:01:50 +00:00
abs
b86f85e1cc
wdcwait is called initially without any device on my thinkpad.
...
This breaks the first WDCDEBUG_PRINT. Handle this case.
1999-02-21 02:07:52 +00:00
hubertf
ed418e30a2
Only define WDCDEBUG if not already define (e.g. by kernel option)
1999-02-21 00:52:04 +00:00
hubertf
37a9e5bb67
Only define WDCDEBUG if not already defined (e.g. by some kernel option)
1999-02-21 00:15:42 +00:00
hubertf
99626f33a3
Only #define WDCDEBUG if it isn't already defined (e.g. by some options
...
in the kernel config file).
1999-02-20 23:47:52 +00:00
mycroft
b81ad0de61
Fix the halt_input and halt_output routines to actually disable the channel,
...
not just the DMA FIFO. Fixes problems with sample misalignment.
1999-02-20 23:28:37 +00:00
augustss
5113c5b9c0
Move the bus reset up. This makes the VIA chipset work. From FreeBSD.
1999-02-20 23:26:16 +00:00
drochner
bd047d30a0
complete mapping table for pcvt fonts, make dual-font selection work
...
as intended
1999-02-20 18:27:53 +00:00
drochner
9ad8930d16
complete mapping tables a bit so that ASCII (ie vt100) art looks better
...
even without extra fonts loaded
1999-02-20 18:26:13 +00:00
drochner
cc294f2cc5
complete the font tables for the DEC special fonts; assign some codes
...
from the private Unicode area (0xe000 ff.) to stuff I didn't find in
the Unicode database
1999-02-20 18:20:02 +00:00
scw
3a5b0d88ca
That #define splserial() really didn't want to be there...
1999-02-20 16:23:39 +00:00
ross
ea05c3b739
Fix typo.
1999-02-20 07:07:07 +00:00
scw
0ed9dc11d7
Delay serial port parameter changes until the Tx FIFO has emptied.
1999-02-20 00:27:29 +00:00
abs
ab9ab83d05
Add ID for IBM 'PCMCIA Portable CD-ROM Drive'. We only have one of these and it
...
may be broken (it choked under Windows), but it at least now probes.
1999-02-19 21:49:43 +00:00
leo
e54f78017e
This one needs <machine/bswap.h> too.
1999-02-19 20:58:51 +00:00
thorpej
598b05da47
Regen.
1999-02-19 19:12:09 +00:00
thorpej
d9c29083d4
Improve descriptions for DEC Ethernet chips.
1999-02-19 19:11:33 +00:00
mycroft
35399992bb
Indicate whether the decive is full or half duplex at attach time.
1999-02-19 17:09:16 +00:00
mycroft
1790450d8c
Fix structure names.
1999-02-19 16:59:36 +00:00
minoura
38803874bb
Translated Japanese comments.
1999-02-19 16:19:53 +00:00
mycroft
4449a6ef39
Kill vestiges of isa_establish().
1999-02-19 16:15:06 +00:00
mycroft
4822d3d0b0
Move IRQ setup into frontend. Need to move DRQ handling as well.
1999-02-19 16:10:44 +00:00
pk
c6c74098d0
Don't try to use the MII routines for the internal PHY.
1999-02-19 14:57:00 +00:00
thorpej
3f8a09bba4
Improve product descriptions, and add 3c905-FX and 3c980 Server Adapter
...
products.
1999-02-19 06:58:42 +00:00
thorpej
7248c3be19
Improve card descriptions.
1999-02-19 06:57:56 +00:00
thorpej
02df2bd5a5
Regen.
1999-02-19 06:56:53 +00:00
thorpej
1128dd593e
Improve the descriptions of 3Com Ethernet cards, and add the 3c905B-FX
...
and 3c980 Server Adapter products.
1999-02-19 06:55:15 +00:00
thorpej
3a63b5db2a
Regen.
1999-02-19 05:53:36 +00:00
thorpej
f43c45889a
Add several Tulip clone chips.
1999-02-19 05:53:00 +00:00
nisimura
c07be2882b
- Make sure SFB ROP register initialized with value 3.
...
- Turn off video signal during hardware initialization.
1999-02-19 03:42:42 +00:00
mycroft
28bc4dfeca
Oops; PCIC_INTR_ENABLE does something *very* different.
1999-02-19 03:14:00 +00:00
nathanw
58d4d7e933
Regen.
1999-02-19 02:53:06 +00:00
nathanw
6b150eb8f6
Fix typo.
...
XXX fix Makefile.pcmciadevs to catch this sort of thing.
1999-02-19 02:52:17 +00:00
mycroft
bd4cd051b9
This is an utterly revolting hack to work around the previously mentioned
...
lossage. On the Alpha, we force the buffers to be allocated through the SGMAP
so that the PCI bus addresses are low enough.
At least it's only one line of code...
1999-02-19 02:27:59 +00:00
nathanw
6e788dfcb5
Regen.
1999-02-19 00:44:15 +00:00
nathanw
3300c6ba4b
Add Fujitsu SCSI 600 card
1999-02-19 00:43:00 +00:00
mycroft
70d4ac07b6
Yet another path where we need to set PCIC_INTR_ENABLE.
1999-02-19 00:27:45 +00:00
mycroft
f2c4e7f8bd
Use the correct interrupt sharing type, and set PCIC_INTR_ENABLE(!).
1999-02-18 23:41:40 +00:00
mycroft
74028ea9fd
Regen.
1999-02-18 22:32:27 +00:00
mycroft
b71baddba7
Add ID for MagicRam SwapBox PCMCIA controller card.
1999-02-18 22:31:32 +00:00
thorpej
a473ed5477
Fix omission in previous.
1999-02-18 19:24:39 +00:00
mycroft
18e341a954
Add separate halt_input and halt_output methods in ad1848_isa, which disable
...
the DMA channel.
1999-02-18 17:27:39 +00:00
mycroft
9907eda026
spaces -> tabs
1999-02-18 16:09:01 +00:00
mycroft
81bc49921a
Remove some superfluous softc elements.
1999-02-18 15:47:29 +00:00
bouyer
7e5acb7709
Don't print an extra newline if the controller doesn't support 32 bits access.
...
Pointed out by Dave Huang.
1999-02-18 14:45:31 +00:00
bouyer
e96144a012
Add a missing ':'. pointed out by Dave Huang.
1999-02-18 14:44:34 +00:00
mycroft
699a815751
Pass the correct address (PCI bus address, not PA) to the card.
...
Also fix some typos and add more debugging printf()s.
This would work on the Alpha, but the card I have appears to have the upper
address bits chopped off, and the ring buffer gets mapped using the DGMAP,
which uses the upper bits. Boom.
1999-02-18 09:22:17 +00:00
mycroft
e0b748e50c
Pass the correct address (PCI bus address, not PA) to the card.
...
Works on an Alpha now.
1999-02-18 07:59:30 +00:00
mycroft
5e2fc07a14
Add separate halt_output and halt_input routines.
1999-02-18 07:08:35 +00:00
mycroft
c02bf3c4d7
Minor code munging.
1999-02-18 05:46:38 +00:00
thorpej
cfb2342145
Fix the code in epic_attach() that frees resources when the attach fails.
1999-02-18 02:24:30 +00:00
thorpej
5c457e71fe
Only do the multicast filter bug work-around if in 10Mbps mode. Also,
...
don't reset the interface if the multicast list changes. Just reprogram
the multicast hash table.
1999-02-18 02:12:09 +00:00
thorpej
982603ce5b
Don't reset the interface when the media changes.
1999-02-18 01:24:29 +00:00
thorpej
78e18b8d8c
Back out to the previous stable revision of the fxp driver. The latest
...
one had too many stability problems.
1999-02-18 01:23:41 +00:00
mycroft
6ce15ae4e3
spaces -> tabs
1999-02-18 00:55:36 +00:00
mycroft
f1e84a4ec5
A few things:
...
* Use the trigger interface.
* Permit different encodings for record and playback.
* Set AUDIO_PROP_INDEPENDENT.
* Fix the mmap(2) hole again.
* Use 16-bit mode for a-law and u-law playback.
1999-02-18 00:54:19 +00:00
mycroft
8b7b7cccc7
Fix a silly type.
1999-02-17 23:55:18 +00:00
mycroft
27963c294a
Use the trigger interface, and clean up a pile of cruft.
1999-02-17 23:05:28 +00:00
mycroft
71105fbda7
Update comments.
1999-02-17 21:44:55 +00:00
thorpej
6d0cb6e410
Change a straggling splimp -> splnet.
1999-02-17 09:11:29 +00:00
thorpej
69a4436f8b
Avoid initializing the interface in the SIOCSIFFLAGS if ! UP and ! RUNNING.
1999-02-17 03:40:59 +00:00
mycroft
7741cae143
Fix slight ommission in previous.
1999-02-17 02:43:13 +00:00
mycroft
e5f5e628d2
Pass the direction to the allocm and round_buffersize methods.
...
Some drivers need this to properly allocate DMAable memory.
1999-02-17 02:37:38 +00:00
mycroft
88ad3aa42b
If we have an 8-bit DRQ, always pass that to isa_malloc().
1999-02-17 01:22:47 +00:00
is
2c7fa23c38
Fix Copyright dates
1999-02-16 23:34:10 +00:00
is
dc068e0d1f
Assign my files to The NetBSD Foundation, Inc.
1999-02-16 22:46:55 +00:00
bouyer
2ccd5cde74
Correctly compute PIO/DMA mode for sis and acer chips when the drive support
...
a DMA mode with higther capabilities than PIO mode.
1999-02-16 18:11:52 +00:00
bouyer
d683e62685
Be less strict on ATAPI signature, at last one CD puts 0x00 in sc instead
...
of 0x01.
1999-02-15 18:47:59 +00:00
bouyer
13e811e874
Revert to 1.23, this was not supposed to be checked in yet.
1999-02-15 18:43:08 +00:00
bouyer
18496766b2
For CDIOCCLOSE, ignore media changes, as some drive seems to return this
...
info here.
1999-02-15 18:41:04 +00:00
bouyer
379429d4df
If the REQUEST_SENSE command fails, issue a reset instead of XS_DRIVER_STUFFUP.
...
If REQUEST_SENSE succeeds but doens't return any data, return XS_SHORTSENSE
as the sense field will just contain a copy or the error register.
1999-02-15 18:40:01 +00:00
hubertf
56f2d188fc
RCS ID police
1999-02-15 04:54:34 +00:00
augustss
fd9002550c
Make the reset even longer do cater for really bad devices.
1999-02-15 00:32:16 +00:00
tron
210b267f84
Regen from pcidevs.
1999-02-14 22:44:36 +00:00
tron
acb24b6080
Add 3Dfx's Voodoo II. Fixes PR kern/7000 by Brett Lymn.
1999-02-14 22:38:18 +00:00
thorpej
e523f4968b
Make sure full-duplex is reflected in TXCON, and don't reset the interface
...
when the media changes.
1999-02-13 21:08:08 +00:00
minoura
4d5a04afc4
MI version of the Fujitsu MB89352 SCSI Protocol Controler (SPC) driver.
...
Based on experimental NetBSD/pc98 ISA/PISA version, which was derived
from the MD /sys/arch/x68k/dev/spc.c.
1999-02-13 17:33:14 +00:00
scw
94719c7b9a
New MI front-end for the Cirrus Logic CD240[01] Multi-protocol
...
Communications Controller.
This is still a work in progress, but it is functional enough to
be usable.
1999-02-13 17:05:19 +00:00
thorpej
70b91539e9
Restructure the interrupt handler and 1-second timer a bit, and tidy up
...
the lazy-transmit-interrupt logic, fixing a few minor logic problems.
Now unable to reproduce the lockup problem described in PR #6767 . Changing
PR's state to "feedback".
1999-02-13 02:12:59 +00:00
drochner
960dfa5227
oops - forgot to convert the trivial case (ASCII) to "match levels"
1999-02-12 15:49:43 +00:00
drochner
525932e022
make the probe stricter to catch cases where the chipset doesn't pull
...
the data lines to "high" for not-existant devices
1999-02-12 12:45:48 +00:00
drochner
b515442160
Display the danish o-slash as phi/Theta as proposed by
...
Soren S. Jorvang <soren@t.dk>, with a lower match level.
Display the other accented characters which are not present in the IBM
character set by their non-accented equivalents, with an even lower
match level.
1999-02-12 11:32:50 +00:00
drochner
dbdaf91650
change the "mapchar" interface to return a "quality" or "match level"
...
arguments which allows to find approximations for characters which are
not present in a font
1999-02-12 11:25:23 +00:00
drochner
2414f4ac80
"NEXT" is a keyboard type, not a keymap variation.
1999-02-12 11:14:49 +00:00
thorpej
e8823cc3f3
Cleanup of the EPIC/100 driver I did while hacking on the Rhine driver:
...
* Macroize hardware and software descriptor access (much easier to read).
* Simplify and optimize the transmit loop a bit, and use IFF_OACTIVE as
appropriate.
* Fix a potential race condition in the transmit loop. This change has
made the driver significantly more stable (almost completely eliminated
the "device timeout" errors that have plagued this driver).
* Implement transmit interrupt pacing.
* Add missing bus_dmamap_sync() calls (on transmit and receive descriptors
and fraglists). (Draining the write buffer when accessing these structures
may have also contributed to the increased stability of this driver on
the Alpha.)
1999-02-12 05:55:27 +00:00
thorpej
873e1d2a51
Fix printf format problems on Alpha.
1999-02-12 01:51:37 +00:00
thorpej
1ab6db8e5f
Fix printf format problems on Alpha.
1999-02-12 00:50:09 +00:00
thorpej
94962b67c7
Fix some printf format problems on Alpha.
1999-02-12 00:46:11 +00:00
thorpej
f83663b7ba
Garbage-collect some unneeded definitions.
1999-02-12 00:37:07 +00:00
thorpej
7b516b31bd
Major overhaul of the Rhine/Rhine-II driver, structuring it a little more
...
like the SMC83C100 EPIC/100 driver:
* Rather than using pointers to the head and tail of the transmit and
receive rings, use wrapping indexes into arrays. This is a little more
obvious when reading the code.
* More cleanly separate the hardware descriptor from the software descriptor.
* bus_dma it everywhere.
* Implement interrupt pacing and avoid a potential race in the transmit
loop.
Now this looks more or less like the Rhine driver I was working on when
this driver was committed :-) Update copyright notice to reflect that.
1999-02-12 00:36:48 +00:00
oster
6d72c8f0e7
Minor cleanups that got missed last time through.
1999-02-11 01:23:32 +00:00
minoura
c5847e98a9
void* -> u_int32_t
1999-02-10 16:00:54 +00:00
bouyer
6dd47fe65f
Abort transfer if b_blkno is negative. Closes PR kern/5553 by Johan Danielsson.
1999-02-10 12:29:50 +00:00
sakamoto
0b4e481612
add "mii" to vr driver.
1999-02-09 02:04:36 +00:00
mjacob
1a911bb798
roll internal release level
1999-02-09 00:54:07 +00:00
mjacob
3c21a2493b
Roll internal release tag. Print out if we're in a 64 bit PCI slot.
...
Use fast memory timing NVRAM parameter. Clean up and fix establishment
of default target parameters. Don't use NVRAM if are flagged as not to
do so (I had a busted NVRAM setup which I couldn't edit that enabled SYNC
mode but disabled disconnect/reconnect and wide!!). Fix delays after
resets. BUS resets not done in isp_init anymore- relegated to OS
specific outer layers. Fix a buglet where you can get in a loop for
a NULL xs in the completion list in isp_intr. Add in some defines that
can disable fast posting. Add in code for Loop Up/Loop Down events that
call into the outer layers as to what to do.
1999-02-09 00:52:23 +00:00
mjacob
0cf98e4e12
Roll internal release tag. Roll core version minor. Fix broken DPARM_DEFAULT
...
define. Add a new config flag param (ISP_CFG_NONVRAM) whose intent it is
to cause NVRAM to be ignored. Add ISPASYNC_LOOP_DOWN and ISPASYNC_LOOP_UP
isp_async enums.
1999-02-09 00:46:25 +00:00
mjacob
d8d9458410
fix a couple of NVRAM defines
1999-02-09 00:44:42 +00:00
mjacob
c1adc949c2
roll internal release tag
1999-02-09 00:44:06 +00:00
mjacob
6a8ebccd6a
Do SCSI Bus resets in this layer (now). Don't do it for Fibre Channel yet
...
(we get LOOP DOWN events, and we'll hang on that at this time).
Add other isp_async cases- ISPASYNC_LOOP_DOWN and ISPASYNC_LOOP_UP. DOWN
will cause internal queuing until UP, whereupon a timeout will fire up
any pending xfers. It doesn't really keep commands from getting destroyed
by loop down events, but at least minimizes the damage. This was much
easier to implement with CAM.
1999-02-09 00:42:22 +00:00
mjacob
ee45547dde
Roll platform revision level. Add blocked flag and waitq to osinfo structure.
1999-02-09 00:37:35 +00:00
mjacob
c47d6855db
clean up pci configuration a bit
1999-02-09 00:35:35 +00:00
tls
e8690f9bd1
Fix ESS/SB confusion for 1868 and 1869 chips: because isapnpdevs is parsed by an awk script, you *must* comment out each line separately, which is why ess was still trying to attach chips it couldn't cope with. Note that this leaves isapnp ess with no matches -- shouldn't the 188X be in here? Also, add another isapnp PCIC.
1999-02-08 22:10:09 +00:00
bouyer
f6f9f8a965
Change DIOCEJECT to do what's needed to eject a device before the eject
...
command (unlock for sd and cd) if no other partitions are open, return
EBUSY otherwise. DIOCEJECT will have the old semantic if its argument is not
0. The old ioctl has been renamed to ODIOCEJECT for binary compatibility.
1999-02-08 16:33:16 +00:00
bouyer
1e0e78854a
There's no ATA draft where it is required for the drive to set DRDY | DSC when
...
the disk is ready to transfer data, and in ATA-5 the DSC has been obsoleted.
So only wait for DRQ to transfer data. This can be made conditional on the
ATA version if it's proven to break with some drives (worked with all the
drives I have access to).
While I'm there correct a few typos.
1999-02-08 15:22:28 +00:00
sommerfe
999d27da77
Don't bother copying output queue into automatic buffer; instead, pass
...
contiguous chunk of outq to emulation routine. Fix based on patch
from M. Drochner, modified to call output routine once with each
contiguous chunk when the ring buffer wraps around.
1999-02-08 14:48:07 +00:00
sommerfe
95ee03319d
Change WSDISPLAYBURST from OBUFSIZ-1 to OBUFSIZ*4, for a ~15x
...
improvement in the "cat /usr/share/misc/termcap" benchmark on 486/75
ttwrite queues data for us in OBUFSIZ chunks. If we only consume
OBUFSIZ-1 bytes per call to wsdisplaystart(), we're *guaranteed* to
fall behind when given maximum-sized reads (which will defer
processing the leftovers until ttrstrt gets called, after a timeout)
Note that OBUFSIZ*4 may be overkill; OBUFSIZ*3 may be sufficient to
get maximal performance; OBUFSIZ*2 resulted in only about a 2.5x
performance improvement, but it's 2am and I've done enough tweaking
for the night.
1999-02-08 07:05:51 +00:00
sommerfe
0d3a9dfce7
Don't bring scsi/atapi common files in under the "atapi" attribute.
...
Bring them in under atapibus since they're not needed unless something
attached to an atapibus is also attached.
Tested on i386 and arm32.
1999-02-07 22:58:43 +00:00
jonathan
c9d036d796
defopt MEMORY_DISK_{HOOKS,SERVER,IS_ROOT}.
1999-02-07 09:34:58 +00:00
thorpej
6eedee5c9d
Add entropy gathering.
1999-02-07 01:54:50 +00:00
cgd
6b77f11d67
put in better name/description for Simon G's board
1999-02-06 06:55:15 +00:00
cgd
04046c6dd7
add code to cope with multiple ports per BAR, as are found, for instance,
...
on the 8 port card Simon Gerraty has. In general, cards which have
this lots of ports also have a separate interrupt status register, but
this change is just to talk to the various ports independently. It works,
but it's not optimal. (XXX still need a good name for the card in the
comments, and to update the manual page.)
1999-02-06 06:29:54 +00:00
thorpej
23382bdfcb
Regen.
1999-02-05 22:55:40 +00:00
thorpej
0955479f29
Add some Olicom Ethernet device IDs, from FreeBSD's tl driver.
1999-02-05 22:55:19 +00:00
thorpej
d95d5b1488
Make this driver work on the Alpha. Apparently the receive DMA mechanism
...
has the same 4-byte alignment requirement that the transmit side does. This
causes the packet payload to be misaligned. So, on systems which require
strict alignment, we must copy the incoming frame to a new packet buffer,
suitably aligned.
1999-02-05 22:09:46 +00:00
thorpej
b52d1e44d0
Fix the interrupt handler to actually acknowledge the interupt to the
...
dispatch code (!!!). How did this work even on the i386 before?
1999-02-05 21:20:31 +00:00
thorpej
58beb19c16
Regen.
1999-02-05 20:20:04 +00:00
thorpej
53089c1ade
Add oui for Davicom Semiconductor, and add Davicom DM9101 10/100 PHY.
1999-02-05 20:19:44 +00:00
thorpej
dde3694c4c
Fix some formatting nits.
1999-02-05 08:42:03 +00:00
thorpej
82a54250be
Remove some duplicate softc members, and comment some of the softc
...
fields.
1999-02-05 08:27:46 +00:00
thorpej
8bf66d3eb2
Remove some unnecessary splnet's.
1999-02-05 08:21:31 +00:00
thorpej
50faf19d7d
splimp -> splnet
1999-02-05 07:53:24 +00:00
thorpej
adc9c40688
Use the generic MII support code, not our own.
1999-02-05 02:58:38 +00:00
thorpej
f9467ddb8e
Some PHYs are really braindead, and report incorrect IDs. Simplify the
...
test for this, and probe for PHYs based on media in the BMSR.
1999-02-05 02:46:34 +00:00
thorpej
ebf3a97519
Use MII command opcodes from <sys/dev/mii.h>
1999-02-05 01:17:24 +00:00
augustss
eade8dcad9
Don't use ess driver for ESS186[89], it doesn't work.
1999-02-05 01:15:01 +00:00
thorpej
909b90d2d4
Rename VR_MIICMD_DATAIN and VR_MIICMD_DATAOUT to actually match what the
...
data sheet says. (The names and their usage were exactly reversed in the
code.)
1999-02-05 01:10:30 +00:00
oster
0014588545
Phase 2 of the RAIDframe cleanup. The source is now closer to KNF
...
and is much easier to read. No functionality changes.
1999-02-05 00:06:06 +00:00
mycroft
0c7afe477d
Separate the tiocm code into functions, like the z8530 code, and fix the same
...
DTR bug.
1999-02-03 23:57:27 +00:00
mycroft
568f4aa704
Minor changes to tiocm code.
1999-02-03 23:51:06 +00:00
pk
6db0ff6627
Update last prototyping change.
1999-02-03 23:40:22 +00:00
mycroft
9be96dda95
Fix an inconsistency: PPS was turned off on first open, but the mode may have
...
still claimed it was enabled.
1999-02-03 23:22:11 +00:00
mycroft
535f59cc81
Slight redux in PPS code.
1999-02-03 23:20:33 +00:00
mycroft
b3a56d0097
Catch up with a change to the stint interface.
1999-02-03 20:22:28 +00:00
mycroft
b63b0fd80b
Redo the N previous changes, plus a couple of other things:
...
* Move the printf() delay to just after the printf(), where it actually makes
sense.
* Use zstty_stint() and zstty_softint() from zsparam(), to force an immediate
update of the carrier and flow control status. Abuse this in the attach and
open functions to defer all of that work. This insures that we don't lose
any status updates.
* Don't screw with register 1 when closing the console.
* Fix bugs in TIOCM??? (stay semicolon, clearing DTR while transmitting).
* Add comments in a couple of places.
1999-02-03 20:15:51 +00:00
mrg
4553ce553c
use <dev/sbus/sbusvar.h> not <sparc/dev/sbusvar.h>
1999-02-03 06:03:37 +00:00
pk
4bd6ed2a8b
Make this pass the `strict prototype' test.
1999-02-02 22:23:44 +00:00
ragge
13daba04a1
Another giant change: Allocate register space dynamic instead of compiled-in.
...
This is done on a physical page size basis, instead of virtual (as the
(on vax yet non-existing) bus_* routines does). This is similar to the
way uba allocation is done.
1999-02-02 18:37:20 +00:00
bouyer
5888b4354e
channel_map is called before setup_chip, so whe need to enable the channel
...
status bits in acer_channel_map().
1999-02-02 17:06:05 +00:00
bouyer
ca240ca7b5
Support for Acerlab M5229 IDE controller. Thanks to Thilo Manske for testing
...
the code, and to Takahiro Kambe who run several tests and finally found the
bug by himself :)
1999-02-02 16:13:59 +00:00
bouyer
0075c51a23
Bump CDRETRIES to 4. Now if a DMA error occurs, the driver should downgrade
...
to PIO mode and the command be retried properly.
1999-02-02 13:02:49 +00:00
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
marc
2636bc951d
add code to permit pcmcia intr debugging
1998-12-24 04:50:43 +00:00
marc
2cf34a47e0
The PCMCIA_PRODUCT_3COM_3CXEM556 requires the same CCR hack as the
...
3c562.
1998-12-24 03:59:00 +00:00
marc
b6a56aac7f
add an entry to the products array for the
...
PCMCIA_PRODUCT_3COM_3CXEM556.
This device requires the same CCR hack as the 3c562.
1998-12-24 03:57:45 +00:00
marc
c9ffa39a53
add product id for 3Com/Megahertz 3CXEM556
1998-12-24 03:55:54 +00:00
oster
e392d933c8
Clean up some debugging stuff, and make it compile without warnings
...
with -DDEBUG on alphas.
1998-12-22 20:03:14 +00:00
leo
c81639d273
Change quirk entry: "FX320S", "", " q01" to: "FX320S", "", "q01". This
...
space does seem to matter...
1998-12-21 21:40:12 +00:00
drochner
71fa656b19
use a symbolic definition for the PCI subsystem ID
1998-12-21 20:56:06 +00:00
drochner
c896b644ba
use a symbolic definition for the PCI subsystem ID
1998-12-21 20:40:01 +00:00
drochner
ac7ba300c0
add two of the newer register definitions
1998-12-21 20:31:54 +00:00
augustss
ebbe6623e2
Regen
1998-12-21 17:22:33 +00:00
augustss
2da45b8352
Fix typo.
1998-12-21 17:18:29 +00:00
augustss
84f4ab4fd0
Regen.
1998-12-21 15:45:20 +00:00
augustss
3c75aecaf5
Add ADS ethernet adapter.
1998-12-21 15:42:59 +00:00
drochner
45b5108fb1
regen
1998-12-21 13:43:11 +00:00
drochner
70a2fcddc2
change name of 82443BX according to Intel's data sheet
...
correct "no AGP" case to real topology of the chip
clarification: s/AGP Device/AGP Interface/
1998-12-21 13:37:00 +00:00
christos
ce816d0c65
Regen
1998-12-21 07:57:17 +00:00
christos
e0bd7401e6
PR/6619: Rick Byers: Add Motorola ModemSurfr
1998-12-21 07:57:00 +00:00
christos
981a2987e6
Regen
1998-12-20 18:54:52 +00:00
christos
b8041892e9
Add another modem.
1998-12-20 18:54:37 +00:00
nathanw
788ff053de
Fix up support for PCI attachments of pcic devices on i386 in general,
...
and the Cirrus Logic CL-PD6729 in particular.
From danw@mit.edu in PR port-i386/6436.
1998-12-20 17:53:28 +00:00
drochner
2e81b6b5f8
regen
1998-12-20 16:06:25 +00:00
drochner
6eb0418fdb
add a Zoran multimedia controller chip
1998-12-20 16:05:32 +00:00
drochner
6292c7eda0
Make midi_attach_mi() and audioprint() available also if MIDIBUS
...
(but not necessarily MIDI) is defined.
Fixes PR port-i386/6615 (Krister Walfridsson <cato@ulysses.df.lth.se>).
(XXX this should probably go into a separate file to get rid of
the #ifdef mess)
1998-12-20 14:26:44 +00:00
nathanw
e3504362c9
Regen.
1998-12-20 03:53:03 +00:00
nathanw
7003241eab
Add IBM Wireless LAN Entry and Xircom CreditCard Ethernet+Modem.
1998-12-20 03:52:40 +00:00
nathanw
d114556e2a
Avoid using "generic" configuration table entries during first
...
resource allocation attempt - would crash system if a generic entry
preceded a workable specific entry.
Rearrange a little for clarity.
1998-12-20 03:49:53 +00:00
nathanw
9670878a82
Regen.
1998-12-19 23:48:39 +00:00
nathanw
f920aee0b3
Add original Xircom CreditCard Ethernet.
1998-12-19 23:47:51 +00:00
thorpej
d15dc38fd9
Changes from FreeBSD:
...
Implemented a more sophisticated mechanism for handling transmitter
interrupts which now defers them until the transmit queue if filled
up with completed buffers. This has two advantages: first, it reduces
the number of transmitter interrupts to just 1/120th of the rate
that they occured previously, and two, running down many buffers
at once has much improved cache effects.
Defer rundown (m_freem) of completed transmit buffers for no longer
than 1 second.
This brings us up-to-date with the most recent "fxp" driver in FreeBSD.
1998-12-19 01:14:37 +00:00
thorpej
cb707caaeb
Add the Compex Linkport ENET-B Ethernet card, PR #6349 , Ingolf Koch.
1998-12-18 22:10:29 +00:00
thorpej
95b5eb860d
Regen.
1998-12-18 22:07:53 +00:00
thorpej
fc685b5db5
Oops, tyop.
1998-12-18 22:07:39 +00:00
thorpej
e2614a90c2
Regen.
1998-12-18 22:07:00 +00:00
thorpej
1142e9ca93
Add the Compex vendor ID, and product ID for the Compex Linkport ENET-B.
...
PR #6349 , Ingolf Koch.
1998-12-18 22:04:48 +00:00
thorpej
f64a09cf13
Replace a use of << with the LSOP macro, to fix a specific problem on
...
little-endian machines. PR #6390 , Ben Harris.
1998-12-18 21:59:34 +00:00
thorpej
875666be42
Add the SVEC/Hawking Tech. Combo card. PR #6461 , Rafal Boni.
1998-12-18 21:54:14 +00:00