Commit Graph

94333 Commits

Author SHA1 Message Date
christos
3b57c6607c - obey FILE_USE and FILE_UNUSE
- don't assume that non sockets point to vnodes.
2002-03-22 14:53:26 +00:00
christos
2df30ebb25 linux passes the 6th argument in %ebp; handle that so that we can get mmap2
working. Also tell us which syscall has too many args. Thanks Frank!
2002-03-22 14:49:37 +00:00
reinoud
12d0f60218 If the serial console is asked for then dont forget to define the function
prototype for connecting the serial console....
2002-03-22 13:32:51 +00:00
martin
524c49ba6a Fix some handle/tag confusion. This makes it compile on sparc64 again.
Since sparc ignores tag's (/brick sparc) this slipped through when testing
on sparc.
2002-03-22 11:52:07 +00:00
darrenr
256089809f Return EFBIG from mmap() if we try to map too much data and in the fixed
address allocation, return EOVERFLOW to match with the non-fixed error.
2002-03-22 11:06:33 +00:00
martti
db91979e36 Added etcupdate 2002-03-22 10:11:05 +00:00
martti
4f077f96a1 Added etcupdate (etcupdate-20020321 in pkgsrc) 2002-03-22 10:10:56 +00:00
martin
9cea4a0ab0 Bring the daic driver into the new ISDN world order.
Enable active card support in the ISDN subsystem. (Had been disabled since
it couldn't be tested before.)
2002-03-22 09:54:15 +00:00
martin
131f75b62b Fix reference to microcode directory.
Noticed by Jaromir Dolecek.
2002-03-22 09:45:53 +00:00
takemura
db078facf1 Added Vrc4172 USB OHCI for Pencentra 130. 2002-03-22 09:18:07 +00:00
thorpej
96776149fc Correct the "direction" of the barrier dependencies (DAEMON, LOGIN,
NETWORKING, and SERVERS) by specifying that certain things should
come BEFORE a given barrier, rather than having the barrier REQUIRE
a service.  This allows scripts to be removed without having to
edit the barrier dependencies.

As discussed on tech-userlevel, and approved by Luke.
2002-03-22 04:33:57 +00:00
lukem
4e990e2ecb add more rc.subr(8) and rc.conf(5) references 2002-03-22 04:32:10 +00:00
itojun
bd5373f4e2 no need to check in_broadaddr/IN_MULTICAST in dropwithreset label.
suggested by enami
2002-03-22 04:31:01 +00:00
lukem
1a286b1407 - Rename a bunch of "internal" run_rc_command() variables and officially
make them "externally" available:
	Previous	Current		Purpose
	--------	-------		-------
	_arg		rc_arg		Argument to command, after fast/force
					processing performed (and prefix
					removed)

	_flags		rc_flags	Flags to start the default command
					with.  Defaults to ${name}_flags,
					unless overridden by $flags from the
					environment.  This variable may be
					changed by the precmd method.

	_pid		rc_pid		PID of command (if appropriate).

	_rc_run_fast	rc_fast		Not empty is "fast" was provided.

	_rc_run_force	rc_force	Not empty is "force" was provided.

- Use rc_flags instead of _flags or ${name}_flags in various rc.d scripts,
  so that $flags from the environment overrides ${name}_flags from rc.conf(5).
  Fixes [bin/15800].
2002-03-22 04:16:38 +00:00
itojun
960e8c173d add postfix config files. PR15659 2002-03-22 04:03:44 +00:00
itojun
16bd2c3983 handle RTM_NEWADDR correctly. PR 15693. sync w/kame 2002-03-22 03:58:43 +00:00
chs
0f2018fc31 in lfs_write(), flush and invalidate any page cache pages in the range
that we're about to modify.  this weak attempt at coherency is enough
to make some applications (eg. "tail -f") happy, so it's worth having.
2002-03-22 03:57:35 +00:00
chs
72c455ce83 in genfs_compat_getpages(), clear any part of a page that
VOP_READ() doesn't fill in (eg. because it's past EOF).
2002-03-22 03:51:51 +00:00
jmc
371e95a59a Fix sparc64 so locals and args can be accessed correctly.
If one doesn't subtract the stack bias back off %fp before attempting
to access variables stored relative to %fp the wrong address is picked up for
all locals and args. So, calls to the FRAME_LOCALS_ADDRESS or
FRAME_ARGS_ADDRESS macros need a function for sparc64 specific cases.
Provide a function to check for bias's addresses and fix them up.
2002-03-22 03:33:08 +00:00
itojun
1f14081709 make sure we don't touch "ip" in IPv6 path 2002-03-22 03:21:13 +00:00
mjacob
d76d04685a Handle Port Unavailable the same as Port Logout (i.e., send a LIP).
Unconst pointer to f/w in the ispdv structure. Too many compilers get
unhappy over our walking the array. Make casts as appropriate so that
initialization in structure is still happy.

Limit length of fabric to 256. This will all go away soon.

Do a cleaner case of keeping multiple CPUs/threads from reading the
same response queue entries.
2002-03-22 02:34:05 +00:00
mjacob
2c3c2f2ca0 Cast for now non-const in ispdv structure. 2002-03-22 02:31:09 +00:00
mjacob
ff9ae73488 Forced commit so that some more detail on the previous patches can be
inserted into comments. I really think that more testing was required,
but Christos was eager.

+ Add in tape block/file position reporting support.

+ Change the prevent/allow ejection code so that if the device
  is close the tape can be ejected. This allows robots to eject
  the tape even if the tape isn't at BOT.

+ Don't do a null filemark write if we're reading block position. This
  was such an abysmal performance killer that it had to go. Assume
  that the tape will DTRT and tell you what the tape position really is
  including any buffered data. You are depending on the tape to do
  the right thing to report position at all, so the risk factors don't
  increase appreciably here. BTW- we only do this for logical block
  position. For 'hardware' block position, we still flush.

+ Some substantial tweaking in st_interpret_sense. This essentially duplicates
  the FreeBSD driver's exception handling code. This is to try and correctly
  handle EOM cases. I'm not sure that this is now correct with respect to
  the ENABLE EARLY WARNING code- I hadn't gotten around to validating that.
  Add in full 32 bit residuals- this can then be available to an update
  MTIOCGET in the future.

+ Make sure we handle SKEY_VOLUME_OVERFLOW correctly.
2002-03-22 02:03:30 +00:00
augustss
fe74b56f01 Add uvscom attachment line. 2002-03-22 00:39:40 +00:00
fredette
72eb42a61e Added files.c to SRC_sa. 2002-03-22 00:30:06 +00:00
fredette
3ba7f2074a Added missing DEV_ constants. 2002-03-22 00:28:55 +00:00
fredette
6db09399a0 Added bits to use the console code under sys/arch/sun2 and
sys/dev/sun.
2002-03-22 00:28:08 +00:00
fredette
d2550b2ba7 Added the console and zs code now found under sys/arch/sun2. 2002-03-22 00:25:56 +00:00
fredette
5268abfc97 sc_btype has been removed from struct bwtwo_softc. 2002-03-22 00:24:45 +00:00
fredette
453e503b32 Added support for the sun2 zs serial ports. As this driver
is very common on Suns, it could be made shared under sys/dev/sun.
2002-03-22 00:23:53 +00:00
fredette
ae1f6b9ea8 Added bits to complete the sun2 console code. These are
virtually identical copies of files under sys/arch/sparc/dev,
and one day they will be merged under sys/dev/sun.
2002-03-22 00:22:43 +00:00
fredette
1e9998683c Added support for differentiating between ELF executables
for the 68000, 68020, and CPU32.
2002-03-22 00:19:57 +00:00
fredette
4c30682327 Build elf2aout on m68000. 2002-03-22 00:17:56 +00:00
fredette
d617871b0c On the m68000, if and only if gcc doesn't seem to know
where libgcc.a is, fall back to one under DESTDIR.
2002-03-22 00:17:12 +00:00
fredette
d564a038af Fixed a possible overflow bug in the timeout calculation. 2002-03-22 00:15:21 +00:00
fredette
8fbc2e1699 Changed some preprocessor tests for SUN4 to test for !SUN4U
instead.  Now this file can be used by the sun2 port.
2002-03-22 00:14:37 +00:00
fredette
9b70a4cc11 Added Sun common kbd_reg.h, kbio.h, and vuid_event.h files. 2002-03-22 00:11:55 +00:00
fredette
eaddebc5f6 On m68000, don't descend into ieeefp. 2002-03-22 00:09:35 +00:00
fredette
99db91e2e0 Add m68000-specific `toolchain2netbsd' generated toolchain build/config files. 2002-03-22 00:07:45 +00:00
fredette
0e21b8d24d Added a case for m680[01]0-*-netbsdelf. 2002-03-21 23:54:43 +00:00
fredette
7a6b4d460d Pulled changes from binutils-current necessary for 68010
support.  Specifically, got the changes to md_prepare_relax_scan
from binutils' revision 1.11 of this file.  As a bonus also
now define DWARF2_LINE_MIN_INSN_LENGTH.
2002-03-21 23:53:14 +00:00
fredette
6d335bab3f Lose usr/include/sun2/cg2reg.h. 2002-03-21 23:42:29 +00:00
fredette
1a9915ab1c Have the example NFS mount options specify -r=1024. 2002-03-21 23:41:32 +00:00
ross
10b5be6ca0 Switch to constant space mode for the sysinst dialogue screen display.
There seems to be no -mdoc feature for a constant space display.
2002-03-21 23:26:03 +00:00
lukem
1193c443bb swapoff 2002-03-21 23:14:03 +00:00
lukem
3c3d3219ff Implement rc.conf(5) variable `` $swapoff ''.
If set to yes, block-type swap partitions will be deleted upon shutdown.
This can be useful if swapping onto a RAIDframe device, but may cause
unnecessary delays during shutdown for the general case, so it's
disabled by default.
Should resolve [bin/14433] and [kern/14769].
2002-03-21 23:08:35 +00:00
petrov
9305f3556c Remove excessive declarations. 2002-03-21 22:50:09 +00:00
ragge
c034dd5209 Inline functions that mostly do not need to be called. Partly
rearrange/change the code to be able to avoid some inefficient functions.
Profiling shows that the time spent in pmap now is decreased by 20%. (!)
2002-03-21 22:08:08 +00:00
veego
8bb9a08931 Add magic.mime to CLEANFILES. 2002-03-21 22:02:06 +00:00
eeh
9c8153181f Do not even bother trying to use the mappings provided by the PROM. 2002-03-21 21:33:57 +00:00