Nick Sayer
5277685400
Fix APM's make_devs:
...
1. chown root:operator, chmod 660
2. Add /dev/apmctl as well as /dev/apm
1999-10-12 15:00:06 +00:00
Marcel Moolenaar
c981e3f992
Move SIG_HOLD back to signalvar.h.
...
Fix style bugs and comments while I'm here.
Submitted by: bde
1999-10-12 13:58:16 +00:00
Yoshihiro Takahashi
4b12dfb184
Initialize tp->t_stop to nottystop.
1999-10-12 13:16:48 +00:00
Marcel Moolenaar
6f841fb79d
Don't let osigaction and osigvec accept the new signal numbers.
...
Fix style bugs caused by the sigset_t in general while I'm here.
Submitted by: bde
1999-10-12 13:14:18 +00:00
Boris Popov
efef966da8
Initial import of ncp library sources.
...
Reviewed by: jdp, mdodd
1999-10-12 11:56:41 +00:00
Boris Popov
cff51c813a
Remove unnessary includes.
1999-10-12 10:37:00 +00:00
Marcel Moolenaar
38a7743afb
Now that userland, including modules don't use the osig* syscalls
...
and the kernel itself doesn't use any SYS_osig* constants, change
the syscalls to be of type COMPAT.
1999-10-12 09:33:53 +00:00
Marcel Moolenaar
b7d8512385
Now that userland including modules don't use the osig* syscalls,
...
make them of type COMPAT.
1999-10-12 09:29:53 +00:00
Brian Somers
ad128796fd
Blank out the twiddly thing when outputting the ``BTX loader'' message.
1999-10-12 06:57:26 +00:00
Bruce Evans
9e420850c6
Unremove used includes.
...
Bugs in test coverage should be fixed before removing any includes. LINT
should be configured for full profiling support.
1999-10-12 02:54:23 +00:00
Mike Smith
28663e65ca
Remember folks, it's:
...
1) test
2) commit
3) test again
Guess who forgot 1 and 3? 8)
1999-10-12 02:23:14 +00:00
Luoqi Chen
645682fd40
Add a per-signal flag to mark handlers registered with osigaction, so we
...
can provide the correct context to each signal handler.
Fix broken sigsuspend(): don't use p_oldsigmask as a flag, use SAS_OLDMASK
as we did before the linuxthreads support merge (submitted by bde).
Move ps_sigstk from to p_sigacts to the main proc structure since signal
stack should not be shared among threads.
Move SAS_OLDMASK and SAS_ALTSTACK flags from sigacts::ps_flags to proc::p_flag.
Move PS_NOCLDSTOP and PS_NOCLDWAIT flags from proc::p_flag to procsig::ps_flag.
Reviewed by: marcel, jdp, bde
1999-10-11 20:33:17 +00:00
Matt Jacob
d23245c01c
remove unnecessary includes
1999-10-11 19:30:59 +00:00
Poul-Henning Kamp
889fb68f34
remove unused #includes
1999-10-11 19:18:43 +00:00
Poul-Henning Kamp
c23f21660c
remove unused #include
1999-10-11 19:16:54 +00:00
Poul-Henning Kamp
56b5b87171
remove unused #include, add $FreeBSD$
1999-10-11 19:14:37 +00:00
Poul-Henning Kamp
66bd4eb7cf
remove unused #includes.
1999-10-11 19:12:30 +00:00
Warner Losh
d17298bf1c
Kill unused includes
1999-10-11 19:05:21 +00:00
Warner Losh
4ec8d172a9
Hid silly unknown board types message behind if (bootverbose). This
...
appears to have been lost sometime since joerge made this same fix in
1.47.
1999-10-11 18:53:59 +00:00
Peter Wemm
e6daa4d087
Oh foo. I got carried away. :-( "joy.h" is used to size an array.
...
(Incidently, there is no bounds checking...)
1999-10-11 16:09:00 +00:00
Peter Wemm
d1f088dab5
Trim unused options (or #ifdef for undoc options).
...
Submitted by: phk
1999-10-11 15:19:12 +00:00
Peter Wemm
0894f4a92c
Clean up some cruft. We don't run <= 4.3 binaries on hp300 or luna68k
...
arches using owait(2).
1999-10-11 15:15:45 +00:00
Steve Price
004348c300
Add support for the USRobotics Courier V.Everything (USR0101) modem.
...
Submitted by: Robert Blayzor <robert@superior.net>
1999-10-11 15:06:14 +00:00
Peter Wemm
3b8f07bbc3
Trim some unused #includes
...
Submitted by: phk
1999-10-11 15:00:09 +00:00
Peter Wemm
90c7f2d6a2
Zap unneeded #include (found by phk)
...
Remove useless #include "joy.h"; #if NJOY > 0 - this is always true
if it's being compiled. config arranges this.
1999-10-11 14:53:46 +00:00
Peter Wemm
01fb93b213
Zap unneeded #includes
...
Submitted by: phk
1999-10-11 14:50:03 +00:00
Peter Wemm
07bee188eb
Delete unneeded #include
...
Submitted by: phk
1999-10-11 14:42:33 +00:00
Søren Schmidt
205a52de79
Fix a bug in the isa attach code which would panic isa systems.
1999-10-11 11:04:43 +00:00
Mark Newton
34d4b8f4c3
Replace cdevsw_add() and friends with make_dev()/remove_dev().
1999-10-10 22:57:40 +00:00
Poul-Henning Kamp
7b92e9236e
I don't know if this is the correct fix, but my kernel can compile with it.
1999-10-10 20:32:48 +00:00
John Hay
6f3a7b991c
Update the comments to say we are at draft 05 now.
1999-10-10 18:41:42 +00:00
Søren Schmidt
31694ea9b0
Remove unused include files.
...
Submitted by: phk
1999-10-10 18:08:40 +00:00
Peter Wemm
de3f888991
#ifdef PPS_SYNC around "kapi" declaration to fix a -Wunused warning.
1999-10-10 16:18:36 +00:00
Marcel Moolenaar
d348b4d2a5
Use the proper #ifdef around union sigval and siginfo_t. This fixes
...
the breakage of POSIX sources (such as XFree86).
Reviewed by: bde
1999-10-10 15:52:33 +00:00
Peter Wemm
5ecac8709e
Put IPFILTER_LKM into opt_ipfilter.h and delete the other two IPFILTER
...
options that previously went there.
1999-10-10 15:24:04 +00:00
Peter Wemm
55c86d3469
Don't try and build IPFILTER in LINT.
1999-10-10 15:20:06 +00:00
Peter Wemm
029cd3ca8d
Remove ipfilter files - the hooks remain in ip_input.c and ip_output.c
1999-10-10 15:17:28 +00:00
Peter Wemm
088f7c5d38
Nuke the old antique copy of ipfilter from the tree. This is old enough
...
to be dangerous. It will better serve us as a port building a KLD,
ala SKIP.
The hooks are staying although it would be better to port and use
the NetBSD pfil interface rather than have custom hooks.
1999-10-10 15:09:59 +00:00
Poul-Henning Kamp
c6ebaa9629
Retire old and unused #includes.
1999-10-10 12:02:36 +00:00
Marcel Moolenaar
6c6df91e73
Avoid using the osig* syscalls.
1999-10-10 09:14:31 +00:00
Brian Feldman
f14a4bf818
Modify to work with the new sbreserve().
1999-10-09 23:24:59 +00:00
Poul-Henning Kamp
0939630ac5
Remove obsolete include file.
1999-10-09 23:17:04 +00:00
Poul-Henning Kamp
0c74fab736
Remove another obsolete include file.
1999-10-09 23:08:06 +00:00
Brian Feldman
ecf723083f
Implement RLIMIT_SBSIZE in the kernel. This is a per-uid sockbuf total
...
usage limit.
1999-10-09 20:42:17 +00:00
Poul-Henning Kamp
aa8239cdc7
pnpparse.c is needed for kernel builds.
1999-10-09 20:40:07 +00:00
Søren Schmidt
1a2d98541a
Add the options for the ATA driver.
1999-10-09 20:22:01 +00:00
Søren Schmidt
2b0a1c086d
Add support for the HPT366 chip, this is used on the Abit boards and
...
their HotRod controller and on SIIG PCI ultra DMA controller. These
changes also made lots of the Promise code go away, its all much more
generic this way.
Get rid of atapi_immed_cmd, instead use the queue to move atapi commands
from interrupt context if nessesary, the entire atapi layer has
gotten an overhaul.
Lots of fixes to utililize the new features in subr_disk.c etc, and
get rid of the last biots of softc arrays in the drivers, the
only one left is atadevices which cannot easily go away (yet).
Use our own malloc names, its a lot easier to track memory usage this way.
General cleanup overall.
1999-10-09 19:57:13 +00:00
Poul-Henning Kamp
7179e74f18
Give physio a makeover.
...
- Let physio take read/write compatible args and have it use uio->uio_rw
to determine the direction.
- physread/physwrite are now #defines for physio
- Remove the inversly named minphys(), dev->si_iosize_max takes over.
- Physio() always uses pbufs.
- Fix the check for non page-aligned transfers, now only unaligned
transfers larger than (MAXPHYS - PAGE_SIZE) get fragmented (only
interesting for tapes using max blocksize).
- General wash-and-clean of code.
Constructive input from: bde
1999-10-09 19:44:32 +00:00
Peter Wemm
649f6f6393
Add the 16550 programming interface code for PCIS_SIMPLECOMM_UART.
1999-10-09 16:00:56 +00:00
John Hay
b7424f2dfb
Update the PPSAPI to draft-mogul-pps-api-05.txt which is the latest.
...
NOTE: This will break building ntpd until ntpd has been upgraded to also
support draft 05. People that want to build ntpd in the meantime can
get patches from me.
1999-10-09 14:49:56 +00:00