John Birrell
1b46cb523d
Make errno finally and permanently thread-aware so that it is no longer
...
necessary to compile with _THREAD_SAFE defined. This means that people
will get thread-aware code whether they like it or not. This change
is required to allow a process to link against libpthread and libc
to use kernel threads (and prevent each thread from clobbering another
thread's errno just be doing a syscall).
This is bound to break some ports, but it is strictly allowed by ANSI C,
so anything that breaks as a result was already broken anyway 8-).
"Sorry".
1998-04-30 09:38:03 +00:00
John Dyson
83ad4e3dbc
Fix an error that I made with an optimization. In the case
...
of softupdates, we need to do vtruncbuf the old way. Luoqi
caught, found the bug and submitted this fix.
Submitted by: Luoqi Chen <luoqi@chen.ml.org>
1998-04-30 05:28:53 +00:00
Warner Losh
3f6c4fc33b
Use ${.TARGET} rather than $@. i386 tested, pc98 untested because config
...
on my box doesn't grok machine type pc98.
PR: 3272
Submitted by: jhs
1998-04-29 18:21:35 +00:00
Andreas Klemm
a2ba45e521
Fixes incorrect company and product names in uha(4) manpage and
...
LINT config file. Should be merged to -STABLE as well.
PR: closes 6447
Submitted by: Steven Plite splite@purdue.edu
1998-04-29 17:09:41 +00:00
Dmitrij Tejblum
c681be377c
Use DFLTBSIZE instead of MAXBSIZE for pm_fatblksize.
...
In msdosfs_sync: spelling fix, formatting changes; fix MNT_LAZY (sync
modified denodes, don't sync device)
Mostly submitted by (and with hints from): bde
Increase limit for maximum disk size: as far as I can see previous limit was
gratuitously too low.
1998-04-29 12:55:51 +00:00
KATO Takenori
ccf47cfced
Sync with sys/i386/i386/trap.c revision 1.127.
1998-04-29 09:45:38 +00:00
John Dyson
dda6b17151
Add a needed prototype, and fix a panic problem with the new
...
memory code.
1998-04-29 06:59:08 +00:00
Masafumi Max NAKANE
666cf86d3f
Add "flags 0x10" to the sio0 entry so that SMP-GENERIC acts in thesame
...
manner as the GENERIC kernel to the -h option.
1998-04-29 06:58:43 +00:00
John Dyson
c0877f103f
Tighten up management of memory and swap space during map allocation,
...
deallocation cycles. This should provide a measurable improvement
on swap and memory allocation on loaded systems. It is unlikely a
complete solution. Also, provide more map info with procfs.
Chuck Cranor spurred on this improvement.
1998-04-29 04:28:22 +00:00
Eivind Eklund
288078be0f
Translate T_PROTFLT to SIGSEGV instead of SIGBUS when running under
...
Linux emulation. This make Allegro Common Lisp 4.3 work under
FreeBSD!
Submitted by: Fred Gilham <gilham@csl.sri.com>
Commented on by: bde, dg, msmith, tg
Hoping he got everything right: eivind
1998-04-28 18:15:08 +00:00
John Dyson
2dbea5d2e3
Fix a pseudo-swap leak problem. This mitigates "leaks" due to
...
freeing partial objects, not freeing entire objects didn't
free any of it. Simple fix to the map code.
Reviewed by: dg
1998-04-28 05:54:47 +00:00
Julian Elischer
21a56c939e
Submitted by: Doug Ambrisko <ambrisko@whistle.com>
...
make standard links for the first detected sound card.
1998-04-28 00:10:53 +00:00
Dag-Erling Smørgrav
bf69d84c0a
Cast return values to the appropriate fp_*_t. Note that the man page
...
incorrectly refers to them as e.g. fp_except rather than fp_except_t.
PR: misc/6310
Submitted by: Niall Smart
1998-04-27 14:17:30 +00:00
Dag-Erling Smørgrav
8fc5e57330
Fixed spelling of "fictitious" in diagnostics and comments
...
PR: kern/6429
1998-04-27 11:36:06 +00:00
Brian Somers
5417a1a44a
Support more than 256 tun devices:
...
$ ls -l /dev/tun25[4-7]
crw------- 1 fax dialer 52, 254 Apr 27 02:27 /dev/tun254
crw------- 1 fax dialer 52, 255 Apr 27 02:27 /dev/tun255
crw------- 1 fax dialer 52, 0x00010000 Apr 27 02:31 /dev/tun256
crw------- 1 fax dialer 52, 0x00010001 Apr 27 02:31 /dev/tun257
1998-04-27 01:44:22 +00:00
John Dyson
e8f1b8b02a
Add the PAT cpuid feature.
1998-04-26 03:18:38 +00:00
KATO Takenori
3d9a94b05a
Sync with sys/i386/isa/wd.c revision up to 1.163.
1998-04-25 05:19:33 +00:00
John Dyson
adc78b8c71
Correct copyright.
1998-04-25 04:50:03 +00:00
KATO Takenori
012417733c
Sync with sys/i386/isa/wd.c revision 1.161.
1998-04-25 04:27:54 +00:00
KATO Takenori
3562d37f74
Sync with sys/i386/conf/GENERIC revision 1.108.
1998-04-25 04:27:15 +00:00
Matt Jacob
f05ebe7324
Oops- osreldate.h is not around like I thought it would be... hmmm.. quick fix to get around this
1998-04-24 18:23:20 +00:00
David E. O'Brien
cbcfa1ba6a
Discussed with: bde
1998-04-24 11:50:30 +00:00
David E. O'Brien
8f89f24fc3
Create virgin disklabels with 8 (MAXPARTITIONS) partitions rather than
...
three (RAW_PART + 1);
This makes ``disklabel -Brw sdN auto'' do the Right Thing.
1998-04-24 11:49:57 +00:00
David Greenman
84e33c9eea
At the request of Garrett, changed sysctl:
...
net.inet.tcp.delack_enabled -> net.inet.tcp.delayed_ack
1998-04-24 10:08:57 +00:00
David Greenman
552b7df4c1
Ensure that TCP_REXMTVAL doesn't return a value less than t_rttmin. This
...
is believed to have been broken with the Brakmo/Peterson srtt
calculation changes. The result of this bug is that TCP connections
could time out extremely quickly (in 12 seconds).
Also backed out jdp's partial fix for this problem in rev 1.17 of
tcp_timer.c as it is obsoleted by this commit.
Bug was pointed out by Kevin Lehey <kml@roller.nas.nasa.gov>.
PR: 6068
1998-04-24 09:25:39 +00:00
Julian Elischer
1667f2b3e5
slice_device.c: permissions changes for SLICE devices
...
vn.c: change time of SYSINIT scheduling.
wd.c don't revert to fully closed state. ( may require more)
all in SLICE mode only.
1998-04-24 07:54:00 +00:00
David Greenman
9351a2295a
Added kern.ipc.nmbclusters
1998-04-24 04:15:52 +00:00
Julian Elischer
1077fa97b3
When calling the open function, specify either FREAD and/or FWRITE
...
as leaving them both 0 has the same effect as not openning the device at all.
1998-04-23 22:09:55 +00:00
Julian Elischer
bdeec4c20b
Oops forgot to include opt_bootp.h
...
Bootp works a lot better with devfs if this is present.
1998-04-23 20:59:42 +00:00
Eivind Eklund
01404206b9
Convert timespecclear() back to an expression (this time without
...
sideeffects).
1998-04-23 14:12:06 +00:00
Eivind Eklund
e89652d0c4
Wrap timerclear in do { ... } while(0)
1998-04-23 00:11:32 +00:00
Eivind Eklund
57402d4df8
Add devfs support.
...
Submitted by: somebody whose name escapes me :-(
1998-04-23 00:06:43 +00:00
Tor Egge
beede91e58
Mask the interrupt before setting the corresponding bit in ipending if
...
the interrupt is already active.
Don't use lock prefix for operations on ipending.
Always use lock prefix for operations on iactive.
1998-04-22 22:49:29 +00:00
Julian Elischer
afcdc872dc
Bad144 support for the slice system (!)
...
Submitted by: luoqi@watermarkgroup.com (Luoqi Chen)
I'm amazed by this. Slice has only been checked in for 2 days..
1998-04-22 19:27:54 +00:00
Matt Jacob
8bafc2452a
Add support for the Qlogic ISP SCSI && FC/AL Adapters
1998-04-22 18:18:16 +00:00
Matt Jacob
65adb54cf1
Add support for the Qlogic ISP SCSI && FC/AL Adapters
1998-04-22 18:12:29 +00:00
Matt Jacob
6054c3f6f2
Add support for the Qlogic ISP SCSI && FC/AL Adapters
1998-04-22 17:54:58 +00:00
KATO Takenori
d6226d453f
Sync with sys/i386/conf/majors.i386 revision 1.39.
1998-04-22 13:35:21 +00:00
Julian Elischer
26d3bf5f1b
close() is no longer a SLICE method.
...
Close is simply an open with no-read and no-write once internal to SLICE
(it still exports a close to the rest of the kernel)
1998-04-22 10:25:27 +00:00
Peter Wemm
4bc57bd94f
Add a couple of missing symbols referred to in asm code.
1998-04-22 09:46:16 +00:00
Mike Smith
38f86230bd
Add a block device entry for the 'myx' driver too.
1998-04-22 05:10:51 +00:00
Mike Smith
9c25a0b542
Add 'myx' for Ulf Zimmerman's Mylex Raid driver (ulf@alameda.net>
1998-04-22 03:57:07 +00:00
Julian Elischer
6c633c343f
Don't allow an open to succeed if the device is invalidated during the
...
open process.
1998-04-22 01:51:34 +00:00
Brian Somers
4431d4ba23
- breakage of the warnings about pessimized i/o port types.
...
- pessimized i/o port types.
- other pessimized types.
- Don't use DEBUG (causes LINT warnings). Use DGB_DEBUG instead.
- commented out code.
- cloned code that doesn't apply ("Smarts" is for the cy driver only).
Submitted by: bde
1998-04-21 21:06:57 +00:00
Brian Somers
ba000fa9b4
Correct the digiboard device names in agreement
...
with the man page (POLA).
1998-04-21 21:06:22 +00:00
Julian Elischer
20e427a519
Remove the artificial limit on the size of the ipfw filter structure.
...
This allows the addition of extra fields if we need them (I have plans).
1998-04-21 18:54:53 +00:00
KATO Takenori
5e4832f65d
PC-98 does not supports DMA automode lager than 65535 bytes.
1998-04-21 09:48:45 +00:00
KATO Takenori
bb9b85aaeb
Supports PC-98 again.
1998-04-21 09:46:14 +00:00
Brian Somers
590be6b1ad
o Move debug stuff down a bit so that it doesn't try to
...
dereference uninitialized pointers.
o Fix DEVFS permissions
o Fix DEVFS minor numbers
o Add initial & lock devices for cua device.
o Fix permissions in line with sio.
1998-04-21 02:39:48 +00:00
Julian Elischer
ff1f112b1a
The 'mountroot' option is obviously pointless for an LKM
...
so allow LKM compilation to succeed by making it go away for that case.
Saves needing to include opt_devfs.h which an LKM cannot rely on anyhow.
1998-04-20 23:18:46 +00:00