Commit Graph

28990 Commits

Author SHA1 Message Date
bad
52c3a56a05 Support routines for Token-Ring network drivers.
By Onno van der Linden.
1999-03-22 22:22:52 +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
thorpej
f2a91c9b91 Put back the code to log `mb_map full' that was lost when mbuf clusters
were converted to use the pool allocator.
1999-03-22 22:06:58 +00:00
is
2ccf15e5f3 53c810A identification 1999-03-22 19:30:57 +00:00
kleink
9ee75a4fcc Add _PC_FILESIZEBITS to pathconf vnop. 1999-03-22 19:21:07 +00:00
kleink
61c3516908 Introduce _PC_FILESIZEBITS. 1999-03-22 19:14:22 +00:00
kleink
4d282292e2 Introduce EOVERFLOW. 1999-03-22 19:03:38 +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
098b6f8e8a Disallow descriptor-passing of descriptors which are open on
directories which aren't under the recipient's root.

Clean up of many error conditions involving descriptor passing, to
eliminate infinite loops, panics, premature garbage collection of
sockets, and descriptor leaks:
 - Avoid letting unp_gc() see descriptors with a refcount of zero by
removing them from the socket's queue before releasing them.
 - Avoid socket leak in PRU_ABORT (this will also gc descriptors queued
on a not-yet accepted socket when the accepting socket goes away).
 - Put in block comment explaining how unp_gc() should work.
 - Correctly manage unp_defer count so we don't get stuck in an infinite
loop with nothing to do.
 - Don't tie MARK and DEFER bits so closely together.
 - Mark descriptors queued on not-yet-accepted sockets as well.
 - Don't call sorflush on non-socket, it doesn't work very well.
 - Deal with discard of NULL file pointer.
 - Hopefully cause GC to converge faster by only deferring sockets in
unp_mark().
1999-03-22 17:54:38 +00:00
sommerfe
2f0f84b8e8 bug fix to fdavail: be consistent about taking per-process descriptor
limit into account when checking against the limit; fdp->fd_nfiles may
be greater than the current descriptor limit, and there may be space
in fdp->fd_ofiles beyond the limit.  If we say it's available,
unp_externalize will get confused and panic when fdalloc fails.
1999-03-22 17:39:44 +00:00
sommerfe
166f97ecf3 Use regular system fchroot, now that we have it. 1999-03-22 17:30:37 +00:00
sommerfe
5effda814f Use standard system fchroot instead of emulation-specific copy. 1999-03-22 17:28:21 +00:00
sommerfe
36dc99adac vinvalbuf, called from vclean, could cause a locking-against-self
deadlock in VOP_FSYNC() if the unreferenced vnode picked for
reclamation happened to be stacked on top of a vnode the process
already had locked.  This could happen if the same filesystem was
accessed both through a union mount and directly; it seemed to happen
most frequently when the direct access was through NFS.

Avoid this deadlock by changing vinvalbuf to pass a new FSYNC_RECLAIM
flag bit to VOP_FSYNC() to indicate that a reclaim is in progress and
only a `shallow' fsync is necessary.

Do nothing in *_fsync() in umapfs, nullfs, and unionfs when
FSYNC_RECLAIM is set; the underlying vnodes will shortly be released
in *_reclaim and may be reclaimed (and fsync'ed) later.
1999-03-22 17:24:19 +00:00
sommerfe
6d0f67d6aa Regen files based on changes to syscalls.master, vnode_if.src (latter
was changes to comments only, but..)
Build vfs_getcwd.c as standard part of kernel.
Add implementation of fchroot(), since two emulations already had it.
Call vn_isunder() in fchdir(), chroot(), and fchroot() to make it harder
to escape chroot().
1999-03-22 17:13:34 +00:00
sommerfe
095cd96cd5 Change namei cache to record vnode->(parent,name) entries (for directories).
Add kernel implementation of getcwd() which uses this cache, falling
back to reading the filesystem on a cache miss.
Along for the ride: add new VOP_FSYNC flag FSYNC_RECLAIM indicating
that a reclaim is being done, so only a "shallow" fsync is needed.
1999-03-22 17:01:55 +00:00
sommerfe
75fb6d661f Include some comments with more details on the VOP_LOOKUP locking protocol 1999-03-22 16:57:37 +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
mrg
8fcaa99d1b KNF nits. 1999-03-22 13:08:51 +00:00
mark
f88d8c6a35 In the light of PRs 7122 & 7123 temporarily define __SWAP_BROKEN until
the problem these bug reports described is fixed and they are closed.
1999-03-22 10:24:04 +00:00
mark
34a92d6f82 Fix addressing problem for the aux status register. Whilst reads of this
read appear to be aliased in the address space, writes are not thus the
correct address is important in order to reset drives.
1999-03-22 10:14:12 +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
ross
be177a7fd4 PCI: +bha
+en
	+ex
	+fxp
	+le
	+pcscp
MII:	+exphy
EISA:	+ahb
	+uha
1999-03-22 09:19:57 +00:00
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
eeh
3c8b9d7307 Some devices don't have a `device-type' property we can use to allocate
an IPL.  Check for those by name.  Give the rest a default IPL of 2.
(Added `SUNW,CS4231' to the list.)
1999-03-18 03:23:53 +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
chs
a65cf876d6 VHOLD() must be called at splbio() since HOLDRELE() is called
from the iodone handler.
1999-03-18 01:45:29 +00:00
pk
848e39dd70 Shouldn't call getpropint() on old proms: only get a CPU's `mid' if needed. 1999-03-17 23:21:38 +00:00
pk
9ae1ca2595 Got a VME probe result backwards. 1999-03-17 23:20:16 +00:00
mycroft
4bd7ef0241 Adjust for structure name changes. 1999-03-17 22:19:35 +00:00
is
605bbc6a31 ISDN Master II support added.
Actually, support for this has still to be added to the isdn4bsd release.
1999-03-17 21:44:18 +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
drochner
04df246f03 identify ST_DEC_6600 (EV6) - as unsupported :-( 1999-03-17 19:00:01 +00:00
sommerfe
bc533621ed defopt MINIROOTSIZE 1999-03-17 18:59:21 +00:00
drochner
597bc445b1 add ST_DEC_6600, clean up some comments 1999-03-17 18:58:51 +00:00
sommerfe
a9a3ed03ee Build kernels -Os. Appears to generate smaller code than -O1 or -O2 1999-03-17 18:40:30 +00:00
perseant
d1afff4165 Move dlfs_pad to the end of struct dlfs (after the pad), for upward
compatibility.
1999-03-17 18:38:34 +00:00
ross
1ae12eef5a g/c proto 1999-03-17 18:28:11 +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
ross
f10b320472 XXX rm ioasicprint() & ioasic_submatch() because of <dev/tc/ioasic_subr.c> XXX 1999-03-17 17:50:06 +00:00
perseant
c5fb3ffb03 Fix pad on lfs.h so it is really 512 bytes, as advertized 1999-03-17 16:49:00 +00:00
minoura
5410a9b53b Crash dump support.
It was broken for long time because of somewhat unknown reasons.
1999-03-17 16:19:46 +00:00
bouyer
87662a89a2 Hinherit MNT_NOEXEC from the mount point. Without this a user can exec
arbitrary binaries by doing a user mount, even if the admin has carefully
setup his system to avoid arbitrary binaries execution.
1999-03-17 15:35:03 +00:00
minoura
d2721426bb Move aout2hux manpage to share/man/man1/man1.x68k/. 1999-03-17 14:52:39 +00:00
simonb
5e5bf63bc1 Don't add .abicalls if NO_ABICALLS is defined even if ABICALLS is defined. 1999-03-17 13:31:43 +00:00
minoura
64d2bc59bc MACHINE_NONCONTIG -> EXTENDED_MEMORY.
G/c and comment changes.
1999-03-17 12:31:25 +00:00
minoura
6de1aeaee6 MACHINE_NONCONTIG -> EXTENDED_MEMORY. 1999-03-17 12:29:56 +00:00
minoura
a6cf3ee3f8 Sync hp300's.
- Remove pmapvacflush debugging code (1.63)
- pmap_collect (1.60)
- Use pool allocator (1.59)
- pmap_zero_page, pmap_copy_page improvements (1.58)
- Use PMAP_DPRINTF (1.56)
- pmap_changebit() changes (1.54)
- Remove deprecated PMAPSTATS (1.53)
- Other cosmetic changes
1999-03-17 12:28:58 +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
chs
1edbaac92c when destroying a pmap, unlock it before freeing it to keep LOCKDEBUG happy. 1999-03-17 01:34:04 +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
fvdl
84c33581df ..JUKEBOX can happen on writes too. 1999-03-16 23:24:28 +00:00
fvdl
df3c103b26 The JUKEBOX error may be returned by the read operation, so don't
filter it out.
1999-03-16 23:22:57 +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
minoura
b34682dcab Typo. 1999-03-16 17:04:35 +00:00
drochner
937ba3a513 add prototype WSDISPLAY_DEFAULTSCREENS option, improve wscons related
comments
1999-03-16 16:31:54 +00:00
minoura
ba80d2c6d7 Merged minoura_x68k_bus_h branch. 1999-03-16 16:30:16 +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
mark
2ae8daf4dc Junk a load of register keywords.
Add missing type in a declaration of iobase.
1999-03-16 10:55:42 +00:00
mark
1b8eea513f _intrnames is only used in irq_release() if IRQ_STATS is defined so add an
appropriate guard.
1999-03-16 10:53:50 +00:00
nisimura
ed09809062 - Final cut of TC decoulping. 1999-03-16 05:59:01 +00:00
chs
8e61ed9705 in pmap_bootstrap4_4c(), remove any bogus mappings the PROM
left around in the mmu.
1999-03-16 03:45:36 +00:00
thorpej
8712c97205 Don't do pathname translation for file creation. The real intent here is
just for lookups of existing files.  From Matthew Green <mrg@netbsd.org>.
1999-03-15 23:50:07 +00:00
thomas
3387d026d6 Include machine/bswap.h, needed on big endian machines. 1999-03-15 20:19:57 +00:00
is
beac0bf201 /dev/log ==> /var/run/syslog.socket
This way, /dev can be made read-only on diskless clients (/dev/log was the
last item created dynamically; /dev/printer moved to /var/run/printer long
ago).
1999-03-15 16:46:13 +00:00
leo
b9cb0eefd0 First step to a framework that can be used to initialize vga-cards on the
pci-bus. The code is called early in the bootphase and tries to initialize
a known type of card into a 'standard' text mode. Wscons should be able
to handle these cards afterwards.
1999-03-15 15:47:11 +00:00
minoura
9729dbb6ad Pullin m68k/ieee.h. 1999-03-15 12:42:51 +00:00
nisimura
bfdc9ed402 - Remove a verbose local variable. 1999-03-15 12:03:50 +00:00
minoura
e518820ca8 Pullin m68k/ieee.h. 1999-03-15 11:55:53 +00:00
nisimura
eed42e945e - 'DECstation 5100' -> 'DECsysytem 5100'. 1999-03-15 11:45:16 +00:00
nisimura
5871c2b95d - Fix config option name for 3MAX+. 1999-03-15 11:41:25 +00:00
jonathan
c72be5c489 Eliminate a divide by 40 from the microtime() path on 50Mhz decstatinos
by approximation using 41/2048. Gains one bit in NTP precision.
1999-03-15 09:47:36 +00:00
jonathan
5965639381 Do lk201 non-keyclick setup even when LK_KEY_CLICK not configured. 1999-03-15 09:40:56 +00:00
chs
e2d0bfbb09 remove a debugging printf. 1999-03-15 07:55:19 +00:00
nisimura
6335e6c176 - Rearrangement for TC decoupling with some typo fixes. 1999-03-15 07:52:05 +00:00
leo
24ae5a32cf We need more 'stand' functions (From Julian Coleman). 1999-03-15 07:46:11 +00:00
nisimura
210ea7eabe - Decouple "ibus" from TURBOchannel.
- Nuke mainbus_softc definition (it's empty).
1999-03-15 07:43:05 +00:00
christos
16f90e3d2a Enable EXEC_ELF32... It only adds 4K to the kernel, and makes an ELF
install floppy to work (from Andrew Gillham)
1999-03-15 07:22:18 +00:00
jonathan
4c6134d7c8 Use merged memcpy()/memset() based on old bcopy rather than C-coded memmove.
TODO: change register usage so memcpy()/memmove() is default, put test
for back-copy before memcpy() and back-copy loop after memcpy().
1999-03-15 07:04:04 +00:00
jonathan
e22fd3b59d Fix bug in construction of word-length version of 'c'.
Preserve input string and return it as per userlevel spec.
1999-03-15 06:34:10 +00:00
nisimura
1990f5b094 - Make compilable with 32bit long integer system. 1999-03-15 05:28:07 +00:00
nisimura
cfbd3e5737 - Adjust function declarations. 1999-03-15 03:25:33 +00:00
tsubai
79c71e0bae Check the accessibility before reading from configuration space. 1999-03-15 03:03:10 +00:00
nisimura
3ac70670ef - Eliminate 'conf.h' from MIPS common code. 1999-03-15 02:47:10 +00:00
nisimura
17e168c9b3 - Nuke old leftover; round four. This file has little usefuls, and
target MIPS ports are expected to have 'machine/conf.h' if necessary.
1999-03-15 02:43:48 +00:00
tsubai
07e094073c Remove bogus comment. 1999-03-15 02:26:10 +00:00
tsubai
da1be4ffd8 Fix mkdep ``cc: No input files'' error when SFILES is empty. 1999-03-15 01:55:32 +00:00
nisimura
10b5625b87 - Nuke old leftover; round three. Remove never-used functions.
XXX Needs to eliminate TURBOchannel exposure here.
1999-03-15 01:54:56 +00:00
tsubai
b4374e3ce0 Implement badaddr() and trap machine-check in badaddr. 1999-03-15 01:29:07 +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
mrg
b0eb09de11 remove lderr in "make clean" 1999-03-15 01:15:06 +00:00
mrg
c1122adb50 delete netbsd.aout and netbsd.ecoff in "make clean" 1999-03-15 01:12:00 +00:00
perseant
e1c9a578a8 New CHANGES files that describes briefly all nontrivial changes made to
the LFS since the 4.4lite2 code was merged into NetBSD.

TODO updated to remove everything marked DONE in 4.4, and add in a list
of more current things to do.

Get rid of comments about the cleaner syscall code and missing fragment
support from README.
1999-03-15 00:46:47 +00:00
chs
462ac41141 if an mfs i/o is successful, set b_resid to 0.
this allows the vnd driver to work on mfs files.
1999-03-15 00:18:24 +00:00
jonathan
78bc84c223 Clean up initializers for pmax ioasic children. Use same struct as alpha. 1999-03-14 23:59:53 +00:00
jonathan
e662ad5ecc Clean up names for SCC interrupt bits. 1999-03-14 23:59:03 +00:00
is
ba07737bc0 Use the 1/256s-resolution when reading the DraCo battery backed clock 1999-03-14 22:42:12 +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
mycroft
deab09f540 Only need one of vga_isa and vga_pci. 1999-03-14 10:34:18 +00:00
mycroft
cac14a50bc Update to -current, switch to wscons. 1999-03-14 10:31:43 +00:00
dbj
00c8d4dd90 changed dma start alignment from 4 to 16 so that the cache flush
functions always have cache line aligned segments.
continued experimentation with scsi driver.
1999-03-14 10:31:05 +00:00
veego
58d4f7ae24 Add support for future PicassoIV's which use an autoconfig space of 64MB.
The framebuffer base address is then at a different offset.
The patch is from Klaus Burkert.
1999-03-14 09:17:19 +00:00
sommerfe
82f8a7dee9 Turn off biosboot_ser until makefile issues get worked out.. 1999-03-14 05:50:38 +00:00
jonb
6d636069d6 Allow "make depend" to work again. (It currently freaks out since the
SFILES variable is empty...)
1999-03-14 05:03:35 +00:00
kleink
4f3756d205 Define id_t, an integral type wide enough to hold a value of type gid_t, pid_t
or uid_t (SVID/XSH5).
XXX Unlike the System V definitions and pid_t, [gu]id_t are unsigned here.
1999-03-14 01:24:18 +00:00
simonb
e4dd1abb05 Merge contents of filesystem.c into conf.c, and remove declaration of
errno from conf.c and put it in boot.c.
1999-03-14 00:57:06 +00:00
fvdl
35d517b9f1 Hack to make biosboot_ser work.
XXX The makefile structure in src/sys/arch/i386/stand is very bad.
1999-03-14 00:04:06 +00:00
is
bed6716015 Identify the chip type when attaching. 1999-03-13 22:43:30 +00:00
thorpej
195403fe38 malloc the arg temporary buffer, rather than declaring it as an automatic
array of ARG_MAX size.  ARG_MAX is currently 256k, which causes a rather
serious stack overflow (kernel stacks are not very large, usually 8k).

Fixes memory corruption problems observed after accessig /proc/1/cmdline
during tests.  Problem in my case manifested itself as massive lossage
in ffs_sync(), resulting in a crash, and sometimes, pooched file systems.

XXX This could, and probably should, be rewritten to use a much smaller
temporary buffer, and a loop around uiomove().
1999-03-13 22:26:48 +00:00
is
a02a989bcf The 53c720 and up are really different. For example, the method to determine,
when disconnecting etc., how much data were transferred, has changed.
Symptom: SIOP invalid instructions when doing data transfers to disks that
disconnect.
XXX The bits etc. need to be defined correctly in the siopreg.h file, and
symbolic values used.
1999-03-13 21:30:55 +00:00
tron
32e0182e15 $(OBJS) -> ${OBJS} 1999-03-13 20:58:25 +00:00
ragge
4d77aa3c15 Avoid warning if !QBA. 1999-03-13 20:26:50 +00:00
drochner
c0433847af make complaints about missing platform support match reality 1999-03-13 19:46:58 +00:00
is
48c33b2e56 Adjust to match the assembled code 1999-03-13 19:42:52 +00:00
ragge
0c86849162 Oops, forgot this file. 1999-03-13 15:44:01 +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
ragge
9f6b94f820 Outdated files. 1999-03-13 15:14:29 +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
drochner
b2cc9c9bc2 pull in missing miscfs/procfs/procfs_cmdline.c 1999-03-13 14:29:27 +00:00