ross
60fe60deaa
Enable fuword(9), fuiword(9).
1999-03-22 09:17:11 +00:00
minoura
c36508e32b
Use bus_dma(9) for DMA bouncing.
...
The code is dirty. It should be rewritten in the future.
1999-03-22 08:54:14 +00:00
chs
31839fe71d
fix previous, I got carried away with cut+paste.
1999-03-22 08:44:37 +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
df7eadf2d6
More PnP/audio goo. Need an Alpha joystick driver. B-)
1999-03-22 07:55:14 +00:00
mycroft
8e621ce2ee
Add MIDI and sequencer devices. They seem to work, even.
1999-03-22 07:52:56 +00:00
mycroft
a873302b17
Add a SonicVibes.
1999-03-22 07:51:28 +00:00
mycroft
2fba0f875b
More sound cards for testing...
1999-03-22 07:50:29 +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
eeh
2343b503e6
Need to set up the pointers properly for partial FPU register stores.
1999-03-22 06:47:01 +00:00
eeh
7fba1d4a21
Add FS_SIZE.
1999-03-22 06:45:15 +00:00
eeh
f0503a65c8
Flush D$ on bypass accesses.
1999-03-22 05:35:39 +00:00
ad
3ce634a350
Added support for cursor keys, function keys and friends. kbdMapChar now
...
returns 'char *' to do this. Codes returned for the various keys match
what 'rcons' termcap entry expects.
1999-03-22 03:25:29 +00:00
minoura
4da31bd7f1
Use intio_debug flag variable.
1999-03-22 03:21:35 +00:00
minoura
c9e79552c8
Check unit.
...
This bug seems to be introduced on merging the bus.h patches.
1999-03-22 03:20:51 +00:00
thorpej
49d0b5de2b
Define the PPPoE Discovery and PPPoE ethertypes.
1999-03-20 03:37:52 +00:00
thorpej
a77ccfe460
Garbage-collect.
1999-03-20 01:40:25 +00:00
thorpej
4c847c9dd7
Install cdefs_{aout,elf}.h
1999-03-20 01:39:54 +00:00
thorpej
d3300d8006
Factor out a.out vs. ELF cdefs from the various <machine/cdefs.h> files,
...
and place them in cdefs_{aout,elf}.h as appropriate. Rearrange cdefs.h
to account for this.
1999-03-20 01:39:22 +00:00
erh
fc841e81b5
Get the index on the buffer (in addition to the descriptor) correct.
1999-03-19 22:43:11 +00:00
perseant
247156f4d2
Apply patch from kern/5538:
...
Fix group mapping so members of group 0 get other group-ids mapped as well.
Avoid rename panic by checking (*this_vp_p) against NULLVP before
dereferencing it (same change as to NULLFS some time ago).
1999-03-19 21:46:25 +00:00
is
be73d82871
Yet more kernel startup debug code
1999-03-19 21:40:24 +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
10af862bf7
move isa/isa_machdep.h to include/isa_machdep.h. (can't do it via
...
repository copy because alpha already had an include/isa_machdep.h in
the attic.)
1999-03-19 05:04:42 +00:00
cgd
37d2c204a7
Moved to arch/i386/include/isa_machdep.h,v
1999-03-19 05:02:11 +00:00
cgd
7b5fe5e402
Moved from arch/i386/isa/isa_machdep.h,v
1999-03-19 05:02:10 +00:00
cgd
f822fd675f
Moved to arch/bebox/include/isa_machdep.h,v
1999-03-19 05:02:03 +00:00
cgd
a4033465f4
Moved from arch/bebox/isa/isa_machdep.h,v
1999-03-19 05:02:02 +00:00
cgd
3f7f974ec8
Moved to arch/atari/include/isa_machdep.h,v
1999-03-19 05:01:58 +00:00
cgd
3f10df3001
Moved from arch/atari/isa/isa_machdep.h,v
1999-03-19 05:01:57 +00:00
cgd
b47008cec9
Moved to arch/arm32/include/isa_machdep.h,v
1999-03-19 05:01:52 +00:00
cgd
04216fffa4
Moved from arch/arm32/isa/isa_machdep.h,v
1999-03-19 05:01:51 +00:00
cgd
d00106ee06
if you pull in isavar.h, you don't need isa_machdep.h.
1999-03-19 04:58:45 +00:00
cgd
8e85aac1ce
move pci/pci_machdep.h to include/pci_machdep.h. (can't do it via
...
repository copy because alpha already had an include/pci_machdep.h in
the attic.)
1999-03-19 03:40:46 +00:00
cgd
ff42ff62e8
pull pci_machdep.h in from machine/
1999-03-19 03:37:52 +00:00
cgd
284689634e
Moved to arch/macppc/include/pci_machdep.h,v
1999-03-19 03:36:19 +00:00
cgd
49e6daa992
Moved from arch/macppc/pci/pci_machdep.h,v
1999-03-19 03:36:18 +00:00
cgd
6d371b2fa9
Moved to arch/i386/include/pci_machdep.h,v
1999-03-19 03:36:14 +00:00
cgd
2ee7faa480
Moved from arch/i386/pci/pci_machdep.h,v
1999-03-19 03:36:13 +00:00
cgd
8649cea317
Moved to arch/bebox/include/pci_machdep.h,v
1999-03-19 03:36:07 +00:00
cgd
99633b3ef3
Moved from arch/bebox/pci/pci_machdep.h,v
1999-03-19 03:36:06 +00:00
cgd
ed47999c60
Moved to arch/atari/include/pci_machdep.h,v
1999-03-19 03:35:59 +00:00
cgd
bd032fb46a
Moved from arch/atari/pci/pci_machdep.h,v
1999-03-19 03:35:58 +00:00
cgd
f753c9860f
Moved to arch/arm32/include/pci_machdep.h,v
1999-03-19 03:34:22 +00:00
cgd
4b75fd0ceb
Moved from arch/arm32/pci/pci_machdep.h,v
1999-03-19 03:34:21 +00:00
cgd
a6eca03c65
pull ofisa_machdep.h in from machine/
1999-03-19 03:30:35 +00:00
cgd
6ce0de2b8e
Moved to arch/arm32/include/ofisa_machdep.h,v
1999-03-19 03:29:50 +00:00
cgd
9c73a61eca
Moved from arch/arm32/ofw/ofisa_machdep.h,v
1999-03-19 03:29:49 +00:00
cgd
1f2cf84892
pull isapnp_machdep.h in from machine/
1999-03-19 03:24:19 +00:00
cgd
d6d5f13551
Moved to arch/i386/include/isapnp_machdep.h,v
1999-03-19 03:18:54 +00:00
cgd
6d9d9e12e2
Moved from arch/i386/isa/isapnp_machdep.h,v
1999-03-19 03:18:53 +00:00
cgd
190d23ee40
Moved to arch/bebox/include/isapnp_machdep.h,v
1999-03-19 03:18:34 +00:00
cgd
0af0341ff6
Moved from arch/bebox/isa/isapnp_machdep.h,v
1999-03-19 03:18:33 +00:00
cgd
14498c628f
Moved to arch/atari/include/isapnp_machdep.h,v
1999-03-19 03:18:01 +00:00
cgd
096f58d900
Moved from arch/atari/isa/isapnp_machdep.h,v
1999-03-19 03:18:00 +00:00
cgd
b95dc1d904
Moved to arch/arm32/include/isapnp_machdep.h,v
1999-03-19 03:14:17 +00:00
cgd
126a9a68b7
Moved from arch/arm32/isa/isapnp_machdep.h,v
1999-03-19 03:14:16 +00:00
cgd
08eb14f874
Moved to arch/alpha/include/isapnp_machdep.h,v
1999-03-19 03:14:06 +00:00
cgd
0d0fd78b4e
Moved from arch/alpha/isa/isapnp_machdep.h,v
1999-03-19 03:14:05 +00:00
cgd
49f4da1c43
pull tc_machdep.h in from machine/
1999-03-19 03:13:21 +00:00
cgd
e962a59308
move tc/tc_machdep.h to include/tc_machdep.h. (can't do it via
...
repository copy because alpha already had an include/tc_machdep.h in
the attic.)
1999-03-19 03:12:31 +00:00
cgd
6ac54498c7
pull eisa_machdep.h in from machine/
1999-03-19 03:01:50 +00:00
cgd
88590a9cd1
move eisa/eisa_machdep.h to include/eisa_machdep.h. (can't do it via
...
repository copy because alpha already had an include/eisa_machdep.h in
the attic.)
1999-03-19 02:59:49 +00:00
cgd
a12c0565ed
Moved from ../eisa/eisa_machdep.h,v
1999-03-19 02:56:59 +00:00
cgd
67ba5610b9
Moved to eisa_machdep.h,v
1999-03-19 02:56:58 +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
perry
199f30f23d
change pathname to /var/run/log as in FreeBSD. discussed with ig.
1999-03-19 00:15:45 +00:00
pk
1e0c7c3ed1
Fix various things that kept this bus front-end from functioning..
1999-03-18 21:33:14 +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
minoura
7cc089a5dd
Correct rnd_attach_source args.
1999-03-18 16:15:53 +00:00
minoura
815f84a789
Shut up gcc -Wall
1999-03-18 12:31:58 +00:00
minoura
701942e794
G/C.
1999-03-18 12:27:59 +00:00
minoura
f0dda99d19
Remove extra ;. Extended memory could not be added correctly.
1999-03-18 12:27:07 +00:00
augustss
0cdb143eaf
Initialize pipe structure properly. From Joel Chen <jchen@nc.com>
1999-03-18 12:08:43 +00:00
scottr
4982fb8fdb
Fix an obscure bug in send_adb_cuda() found be comparison with
...
the macppc version.
1999-03-18 09:10:19 +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
simonb
46c6663ce4
Don't prototype ioasicprint() - the prototype is now in
...
dev/tc/ioasicvar.h and we don't use it here anyway.
1999-03-18 06:37:35 +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
ross
4281edcb66
Enable this lkm on alpha.
1999-03-18 06:01:42 +00:00
chs
ab7269f62a
if uvm_fault() fails with KERN_RESOURCE_SHORTAGE, send a SIGKILL
...
and print a message about it. this will be used to recover from
out-of-swap conditions.
1999-03-18 04:56:01 +00:00
mycroft
039246b8d5
Add support for polling.
1999-03-18 04:31:36 +00:00
chs
bb8971afc3
for emul_sunos processes, don't change vmspace->vm_maxsaddr
...
for faults within a fudge factor of the end of the stack.
the sunos ld.so maps some zero-fill memory there and uses
it while loading shared libs. ignoring these shenanigans
allows ps to report the correct stack usage for sunos programs.
1999-03-18 04:27:54 +00:00
eeh
4d538d5ab9
Fix problem w/FPU use in the kernel.
1999-03-18 03:25:55 +00:00