Commit Graph

10466 Commits

Author SHA1 Message Date
kato
338316476f Sync with sys/i386/conf/options.i386 revision 1.77. 1998-04-20 13:52:44 +00:00
kato
19f503b193 Sync with sys/i386/conf/files.i386 revision 1.197. 1998-04-20 13:52:13 +00:00
kato
46d1280c68 Sync with sys/i386/isa/wd.c revision up to 1.159. 1998-04-20 13:51:34 +00:00
kato
cee05f2120 Sync with sys/i386/isa/fd.c revision 1.109. 1998-04-20 13:50:58 +00:00
kato
aede69f3c2 Sync with sys/i386/isa/npx.c revision 1.60. 1998-04-20 13:50:21 +00:00
julian
c8c70109a1 fix typo in copyright. 1998-04-20 04:55:17 +00:00
julian
8ec756211b Get rid of DEVFS_ROOT
it no longer has any effect.

SLICE is in some ways a replacement but is destined to also go away.
1998-04-20 04:30:47 +00:00
julian
cb9166e241 Make the devfs SLICE option a standard type option.
(hopefully it will go away eventually anyhow)
1998-04-20 03:57:41 +00:00
julian
0796a5c56e Add changes and code to implement a functional DEVFS.
This code will be turned on with the TWO options
DEVFS and SLICE. (see LINT)
Two labels PRE_DEVFS_SLICE and POST_DEVFS_SLICE will deliniate these changes.

/dev will be automatically mounted by init (thanks phk)
on bootup. See /sys/dev/slice/slice.4 for more info.
All code should act the same without these options enabled.

Mike Smith, Poul Henning Kamp, Soeren, and a few dozen others

This code does not support the following:
bad144 handling.
Persistance. (My head is still hurting from the last time we discussed this)
ATAPI flopies are not handled by the SLICE code yet.

When this code is running, all major numbers are arbitrary and COULD
be dynamically assigned. (this is not done, for POLA only)
Minor numbers for disk slices ARE arbitray and dynamically assigned.
1998-04-19 23:32:49 +00:00
tegge
64e2dfa0bb Disregard the values for polarity and trigger mode in the MP config table
for ISA interrupts where the IOAPIC interrupt pin number is the same as
the ISA interrupt number (i.e. partial backout of previous commit)
1998-04-19 23:19:20 +00:00
des
901c8a6cfa Backed out lseek changes. 1998-04-19 22:20:32 +00:00
brian
182404b274 o Support a compile-time -DNO_FW_PUNCH for portability
(and those of us that don't want the functionality).
o Don't assume sizeof(long) == 4.
Ok'd by: Charles Mott <cmott@srv.net>
1998-04-19 21:42:07 +00:00
ahasty
12bba62902 Forgot to add opt_bktr.h 1998-04-19 19:12:49 +00:00
phk
0f961b2277 According to:
ftp://ftp.isi.edu/in-notes/iana/assignments/port-numbers

port numbers are divided into three ranges:

	    0 -  1023 Well Known Ports
	 1024 - 49151 Registered Ports
	49152 - 65535 Dynamic and/or Private Ports

This patch changes the "local port range" from 40000-44999
to the range shown above (plus fix the comment in in_pcb.c).

WARNING: This may have an impact on firewall configurations!

PR:		5402
Reviewed by:	phk
Submitted by:	Stephen J. Roznowski <sjr@home.net>
1998-04-19 17:22:30 +00:00
bde
2a0789b275 Support compiling with `gcc -pedantic' (don't use hard newlines in
(asm) string constants).
1998-04-19 15:41:06 +00:00
bde
dff70daca0 Support compiling with `gcc -pedantic' (don't use hard newlines in
(asm) string constants or hard long long constants).
1998-04-19 15:39:26 +00:00
bde
822ce77a65 Support compiling with `gcc-pedantic' (don't declare static arrays
with no size).
1998-04-19 15:36:12 +00:00
bde
d975ccddaf Support compiling with `gcc-pedantic' (don't use hard newlines in
(asm) string constants or trailing commas in enum declarations).
1998-04-19 15:28:30 +00:00
bde
444e00c998 Support compiling with gcc -pedantic (don't use a bogus, null cast). 1998-04-19 15:22:48 +00:00
peter
538a55c242 Back out previous commit, obrien doesn't seem to be watching. The problem
is that the previous commit spammed a hacked 2.2-stable onto -current,
deleting the DMA support etc.  (I guess that's one way of minimizing diffs
between -current and -stable.. :-] )
1998-04-19 03:26:05 +00:00
des
959a007c3a Return EINVAL and do not change file pointer if resulting offset is negative.
PR:		kern/6184
1998-04-18 19:24:44 +00:00
obrien
fd66256f3f MFC (reduce diff w/-CUR, with hopes of getting DMA support into -STABLE)
1.128   (FUNCTIONAL: better sleep handling)
1.131   (STYLE: labels w/o stmt)
1.132   (STYLE: remove unused #includes)
1.141   (FUNCTIONAL: devfs bug, 2nd controler not showing)
1.144   (STYLE: dont shadow other vars)
1.150   (FUNCTIONAL: fix search bug)
1998-04-18 13:25:49 +00:00
peter
bbf574dac9 In vfs_msync(), test to see if the vnode being examined is "interesting"
(ie: it has a vm_object attached and is marked as OBJ_MIGHTBEDIRTY) before
attempting to lock it.  This should reduce the cpu hit that is incurred
when doing a sync(2) and when the syncer process is doing the 30-second
writeback of dirty mmap() data to disk.  Skip this speedup if we are
doing an unmount() to be sure to get everything - we can afford to
occasionally miss a msync while the system is running, but not at unmount.

I'm not sure about the VXLOCK and MNT_WAIT case, it seems a bit odd to skip
doing a page_clean at unmount time just because a vnode is VXLOCKed, but
that's what was being done before...
1998-04-18 06:26:16 +00:00
kato
73c489feda Sync with sys/i386/conf/majors.i386 revision 1.37. 1998-04-18 05:09:50 +00:00
kato
e3e4facc8d Sync with sys/i386/isa/syscons.c revision 1.260. 1998-04-18 05:09:07 +00:00
kato
397aae0199 Sync with sys/i386/conf/Makefile.i386 revision 1.109. 1998-04-18 05:07:43 +00:00
kato
cd825ddf9e Support compiling with `gcc -ansi'. 1998-04-18 05:01:24 +00:00
ahasty
9b24093ea7 Reviewed by: Amancio
Submitted by:	Roger Hardiman <roger@cs.strath.ac.uk>
Roger Hardiman <roger@cs.strath.ac.uk> :
	Revised autodetection code to correctly handle both
	old and new VideoLogic Captivator PCI cards.
	Added tsleep of 2 seconds to initialistion code for PAL users.
	Corrected clock selection code on format change.

--- Amancio
1998-04-18 04:58:33 +00:00
des
396b114475 Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108. 1998-04-17 22:37:19 +00:00
julian
86e1a21b79 Reserve a number for the ALTQ control devices (96) 1998-04-17 20:26:43 +00:00
des
b829336353 Stop the screensaver before switching consoles. 1998-04-17 10:03:11 +00:00
dima
8cd3cf9773 Undo my last change. 1998-04-17 07:51:36 +00:00
bde
e9db829088 Really finish supporting compiling with `gcc -ansi'. 1998-04-17 04:53:44 +00:00
kato
4929660d9c Sync with sys/i386/isa/syscons.c revision 1.259. 1998-04-16 16:35:23 +00:00
kato
243098590b Sync with sys/i386/isa/npx.c revision 1.59. 1998-04-16 16:34:46 +00:00
kato
eeffdd2af8 Sync with sys/i386/conf/Makefile.i386 revision 1.108. 1998-04-16 16:34:09 +00:00
kato
22eae29062 Sync with sys/i386/isa/pcaudio.c revision 1.40. 1998-04-16 16:33:21 +00:00
kato
2b77573f7c Sync with sys/i386/isa/lpt.c revision 1.68. 1998-04-16 16:32:49 +00:00
kato
a5633942e0 Sync with sys/i386/isa/if_ed.c revision 1.139. 1998-04-16 16:32:15 +00:00
kato
f941ac2a50 Sync with sys/i386/i386/trap.c revision 1.126. 1998-04-16 16:31:36 +00:00
peter
bee3002b7d Attempt to fix BOUNCE_BUFFERS. I cannot test these drivers, but they
seem to compile OK with the bounce buffer mods.  I have only visually
checked for missing bounce buffer support, I could have missed some.
1998-04-16 12:28:31 +00:00
peter
8c412834a4 Attempt to get bounce_buffers working again for per-process kernel stack
data targets.  At least st0 works for me again....
Also, scsi_scsi_cmd() looks like it's been exiting without a biodone() on
an attached buffer in a number of error cases, leading to locked buffers.
1998-04-16 11:15:23 +00:00
peter
b8ece98820 fix an obvious broken BOUNCE_BUFFER case. 1998-04-16 10:35:50 +00:00
des
7e960e23c8 Swapped "should we just return" and "should we stop the screensaver"
in scrn_timer() to avoid deadlock with graphical screensavers.
1998-04-16 09:41:55 +00:00
peter
a1bb161dc4 When the softdep conversion took place, the periodic vfs_msync() from
update got lost.  This is responsible for ensuring that dirty mmap() pages
get periodically written to disk.  Without it, long time mmap's might not
have their dirty pages written out at all of the system crashes or isn't
cleanly shut down.  This could be nasty if you've got a long-running
writing via mmap(), dirty pages used to get written to disk within 30
seconds or so.
1998-04-16 03:31:26 +00:00
bde
23694650fb Finish supporting compiling with gcc -ansi'. Fix missing volatile's
in __asm() statements while I'm here.
1998-04-15 18:58:09 +00:00
tegge
eb926b31ca Unlock mountlist_slock if the mount point was busy (unmount in progress)
during the attempt at lazy fsync.
1998-04-15 18:37:49 +00:00
dima
0788ce04bd Use 0440 root.kmem kermissions on kernel instead of
0555 root.wheel.

Reviewed by:	freebsd-security
1998-04-15 17:53:32 +00:00
bde
b598f559b2 Support compiling with `gcc -ansi'. 1998-04-15 17:47:40 +00:00
bde
37b60f29dd Support compiling with gcc -ansi'. Fix missing volatile's in __asm()
statements while I'm here.
1998-04-15 17:26:17 +00:00