nate
fdcf922d4f
- When doing suspend/resume, only try to suspend those drivers on active
...
slots. Otherwise, we try to suspend drivers who have been disabled
already.
[
The only reason the drivers are still on the list is because of race
conditions where the card is removed while the driver is in use. We
leave the drivers on the slot list (leaving all of their structures in
place in case a process is using it) but set it's state to empty so that
further uses by the pccard code know not to expect active cards.
]
1997-10-23 02:30:39 +00:00
nate
74b704148b
Back our V1.36, due to reports of badness. (IRQ's are again allocated
...
from the 'lower' interrupts to the 'higher' interrupts.) We need to
find a way to set the interrupt for the controller in the config file.
Determined by: handy@sag.space.lockheed.com
1997-10-23 02:25:14 +00:00
ache
1252945e3a
Add (unsigned char) cast to ctype macros
1997-10-23 02:22:51 +00:00
ache
43e60f18dd
Add unsigned char cast to ctype macros
1997-10-23 02:08:16 +00:00
ache
436deeda1a
Add more (unsigned char) casts to ctype macros
...
Fix casetable usage in the same manner too
1997-10-23 02:03:43 +00:00
dg
94286bf509
Rewrote fxp_start() for better clarity and efficiency.
1997-10-23 01:45:15 +00:00
ache
c722721f8f
Add (unsigned char) casts to ctype macros
1997-10-23 01:43:00 +00:00
ache
cca19fe726
Add (unsigned char) cast to all ctype macros
1997-10-23 01:29:44 +00:00
nate
251c8be0fe
- Simplify code by removing a variable which was initialized once, never
...
modified, and was expected to have the initialized value.
1997-10-23 00:51:29 +00:00
jraynard
c6dc890586
Fix a few typos.
1997-10-22 23:12:27 +00:00
nate
bdf762c6f9
- If APM_BROKEN_STATCLOCK is defined, make sure the statcloock is
...
disabled, don't rely on the flags to set it.
1997-10-22 23:04:07 +00:00
ache
2e52ab6886
Back out part of OpenGroup specs about limiting max arg since it may break
...
compatibility.
1997-10-22 12:04:49 +00:00
ache
3cb44cbe93
Reflect usleep code changes:
...
Limit max arg
Change return type to int
1997-10-22 11:27:20 +00:00
ache
d25f1a7e1f
Change usleep return type from void to int to match OpenGroup specs.
1997-10-22 10:57:54 +00:00
ache
6591ace30d
Changes in spirit of OpenGroup Singe Unix specs:
...
1) Limit max allowed argument to 1000000
2) Change return type from void to int to indicate premature termination
(by signal)
1997-10-22 10:55:49 +00:00
joerg
1eff2f520c
Document EINVAL as a possible return value from open(2).
1997-10-22 07:29:13 +00:00
joerg
b631d52e4d
Reject attempts to call open() with an illegal combination of O_RDONLY,
...
O_WRONLY, O_RDWR.
1997-10-22 07:28:51 +00:00
charnier
90755c07f9
Use err(3). Add usage() and prototypes.
...
Hide reference to trsp(8) that does not exist.
1997-10-22 06:23:12 +00:00
charnier
f4735827f2
Use err(3).
...
Sync man page and usage string.
Strcpy -> strncpy from OpenBSD.
-Wall cleaning.
Obtained from: OpenBSD
1997-10-22 06:20:04 +00:00
brian
9060aacb1c
Fix HDLC logging (actually LogDumpBp()). It was only
...
outputting the first mbuf in the chain.
1997-10-22 01:22:51 +00:00
peter
c355e96630
Put in an initial %VERSREQ field. This will cause existing config(8)'s
...
to give a non-fatal warning about unknown directives, so there is no
hurry to rebuild config(8) yet, apart from shutting up the warning.
1997-10-22 00:48:36 +00:00
peter
cac6af7db2
For safety's sake, explicitly depend all objects on the configvers.h header
...
to make sure that it's all recompiled even if there is no 'make depend'.
This is overkill, but should be one less thing that someone can do wrong.
1997-10-22 00:44:08 +00:00
peter
b57d8acf74
Recognize a %VERSREQ=nnnnn string in the system Makefile. Both config(8)
...
and the kernel will have a 'config interface version number'. If an
incompatable change is made to the kernel that requires a rebuild of
config(8) (such as the cam devtab stuff), then the version number would be
bumped in both places. If a user neglects to rebuild config, then they
will get a nagging (but non-fatal) warning that they need to rebuild
config.
1997-10-22 00:38:48 +00:00
roberto
cb0b2ed81c
Fix the same leak as in nullfs. Now the lowervp is properly marked inactive.
...
Reviewed by: phk
1997-10-21 21:08:17 +00:00
roberto
83a98c9cc8
Fix the file leak bug. The lower layer wasn't informed the vnode was inactive
...
and kept a reference, preventing the blocks to be reclaimed.
Changed the comment in null_inactive to reflect the current situation.
Reviewed by: phk
1997-10-21 21:01:34 +00:00
nate
818a7b82e2
- Update the Adaptect SlimSCSI CIS tuple so that it works with FreeBSD's
...
default pccard daemon.
1997-10-21 18:07:36 +00:00
nate
cccd48166d
- PCCARD support to the much maligned SCSI driver. This gives up support
...
for a couple of external CD's (notably the Sony PRD-650).
Note: In order to get my CD recognized, I had to configure the CD under
Win95, but it seems to work now even if I turn it off.
Submitted by: PAO [minor mods by me]
1997-10-21 17:57:31 +00:00
phk
14ea303119
Add const to a couple of casts to silence some of the warnings Bruce
...
has let loose on us.
1997-10-21 13:28:36 +00:00
bde
c460dbf96b
Oops, comment lines can't be indented either.
1997-10-21 10:39:27 +00:00
bde
da0f70fc69
Oops, comment lines can't be continued.
1997-10-21 10:36:07 +00:00
jmg
b389f452d8
a few code style changes:
...
o start function names in column 1
o sort order of flags in getopt and switch
o don't try to reference progname
o unspam some changes introduced by a 2.2.1-R build box instead of a
-current build box
doc changes:
o document when these commands first appeared
o put email address in angle brakets
o minor mdoc clean up
1997-10-21 09:59:26 +00:00
kato
c48e941245
Merge from RELENG_2_2. Bandaid for 'lockmgr panic' on the VN device.
1997-10-21 09:51:47 +00:00
kato
adfbefbc66
Synchronize with sys/i386/isa/fd.c revision 1.105.
1997-10-21 09:48:38 +00:00
bde
ea35ce8d73
Sorted lists.
1997-10-21 08:41:15 +00:00
msmith
0d9f4e4f4d
Reference the DMI table inside the SMBIOS table correctly, not using a variable
...
that won't be initialised until a later test.
Submitted by: bde via -Wunused
1997-10-21 07:40:22 +00:00
bde
1c795f36be
Don't install mount_msdos setuid root. Lite2's mount(2) handles
...
permissions centrally and a setuid root mount utility just breaks
its security. There was no new breakage in practice because
mfdosfs_mount() still checks the ruid.
1997-10-21 07:26:50 +00:00
bde
4004e38e8b
Added -Wuninitialized to CWARNFLAGS. Warnings about uninitialialized
...
variables were lost when we removed -W, and 23 new ones including at
least one serious one have crept in for LINT.
Restored -Winline to CFLAGS. This gives only 3 old warnings and 1 new
for LINT.
1997-10-21 06:53:24 +00:00
danny
868b6abbca
MF22 - make firewall_type a little more robust
1997-10-21 00:54:08 +00:00
joerg
fe9a1c7666
MF22: rev 1.246.2.65, put the bootstrap files onto the fixit floppy.
1997-10-20 21:57:14 +00:00
phk
286bd820cc
I belive this fixes MFS after I broke it.
1997-10-20 19:53:26 +00:00
ache
29c8244921
Fix returned sleep period for large values
...
Submitted by: bde
1997-10-20 18:43:49 +00:00
ache
8e1cafde9c
Remove terminfo manpage we don't have it
1997-10-20 17:53:55 +00:00
charnier
a9eeb3d932
Cosmetic in usage string.
1997-10-20 12:55:49 +00:00
charnier
a9b89e1f31
Use err(3). Change err(-1,... to err(1,...
1997-10-20 12:53:54 +00:00
charnier
951a274309
Use err(3). Remove progname.
1997-10-20 12:51:34 +00:00
charnier
a0d3c902e1
Use err(3). Remove progname. Remove stli.4 with is a duplicate of stl.4,
...
use MLINKS instead.
1997-10-20 12:50:57 +00:00
charnier
47824fa253
Fix usage in man page. Remove progname.
1997-10-20 12:44:53 +00:00
charnier
2c674948c9
Typo.
1997-10-20 12:43:03 +00:00
charnier
6d5fb19194
Hardcode progname in usage string.
1997-10-20 12:41:41 +00:00
danny
0f800fa826
Make rc.conf man page reflect reality w.r.t firewall_{*}.
1997-10-20 08:37:59 +00:00