bad
f44fb0d91c
A backend for Databook's TCIC family of PCMCIA chips.
...
Thanks to Andreas Lohrum, O'Reilly Verlag, Terry Moore, and Holger Czukay
for hardware, documentation, and support.
1999-03-23 20:04:14 +00:00
drochner
5575305f99
If no screen got the "focus" (which happens with serial console or if
...
the current screen is deleted), automatically give focus to the next
screen created. Saves the need to switch to a usable screen manually.
1999-03-23 15:56:56 +00:00
pk
b0de87c45f
To clear a chunk of bus memory use bus_space_set_regionN().
1999-03-23 12:01:45 +00:00
pk
54ae4d24b8
Call bus_dma_[un]load() at splbio.
1999-03-23 00:38:15 +00:00
pk
c3eb74e089
Check for Sbus slave access errors.
...
Call bus_dma_load() with elevated priority.
1999-03-23 00:32:27 +00:00
pk
d86e93c62a
Fix promiscuous modes - patches from Jason Wright.
1999-03-23 00:27:09 +00:00
bad
a4e508928f
Oops. RcsID police.
1999-03-22 23:01:36 +00:00
bad
e09c06e04d
Regen.
1999-03-22 22:36:49 +00:00
bad
579b0fce1b
Recognise IBM and 3COM Token-Ring PnP cards and associate them with the tr
...
driver.
1999-03-22 22:36:10 +00:00
bad
ce0465b40f
config(8) glue for Token-Ring and TROPIC drivers.
1999-03-22 22:33:35 +00:00
bad
a8e47bd29b
Add TLINK_619_POLY.
1999-03-22 22:26:27 +00:00
bad
2c16793ee5
Chipset driver for TROPIC based Token-Ring cards.
...
Frontends for IBM and 3COM ISA cards.
By Onno van der Linden <onno@simplex.nl>.
1999-03-22 22:21:26 +00:00
garbled
f124765044
More and more .Os cleanups. .Os is defined in the tmac.doc-common file,
...
so we shouldn't override it with versions in the manpages. Many more to
come.
1999-03-22 18:25:43 +00:00
drochner
b2c812d776
set "fontset" variables to 0 if no appropriate font was found for a
...
freshly allocated screen, should fix panic if "vga_mapchar()" it
attempted later
1999-03-22 18:24:23 +00:00
sommerfe
d48e548abb
defopt WSDISPLAY_DEFAULTSCREENS
1999-03-22 16:50:54 +00:00
mycroft
330c5ea7a2
Create DMA maps at open time.
1999-03-22 14:54:01 +00:00
mycroft
9e4bd01bff
Make sure we clean up any DMA maps if the open fails.
1999-03-22 14:38:02 +00:00
mycroft
41d5307e95
One minor change to previous.
1999-03-22 14:32:59 +00:00
mycroft
f887d74c45
Nuke sc_iooffs from orbit. This is exactly what bus_space_subregion() is for.
1999-03-22 14:29:14 +00:00
mycroft
6ada3afd8b
Reject variant numbers which are too large (so that a new version of isapnpdevs
...
with an old driver will not lose mysteriously).
1999-03-22 10:00:09 +00:00
mycroft
2cccf3bd4a
Update callers of isapnp_devmatch().
1999-03-22 09:44:12 +00:00
mycroft
cbd5623c72
Add support for switching Aztech chips into WSS mode.
1999-03-22 09:43:12 +00:00
mycroft
86d586012a
Regen.
1999-03-22 09:41:58 +00:00
mycroft
8e0df99c1e
Add variants numbers, and Aztech AZT2320 bindings.
1999-03-22 09:41:10 +00:00
mycroft
77274e73c6
Add a `variant number' to the tables, so we can handle slight variations in
...
the chipset without doing something substantially more gross.
1999-03-22 09:38:57 +00:00
mycroft
cfe7413adb
Make 48KHz output work.
1999-03-22 07:58:55 +00:00
mycroft
5f6bb6237b
Do the splaudio()/IPL_AUDIO hack here, too, so that MPU attachments can see
...
it.
1999-03-22 07:57:15 +00:00
mycroft
878708a06b
Adjust for MPU attachment change.
1999-03-22 07:41:36 +00:00
mycroft
fd400e0ddc
Add a kluge to ignore I/O and memory ranges with a size of zero, so we don't
...
blow up in bus_space_{map,unmap}(). At least one card uses this to `disable'
a logical device.
(XXX There's probably a better way to do this.)
1999-03-22 07:40:57 +00:00
mycroft
ccbad3061c
Add a mpu_isapnp attachment.
1999-03-22 07:39:33 +00:00
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