Sheldon Hearn
81dd89bf46
Add build infrastructure for a libiconv loadable kernel module.
...
This should allow the use of the smbfs module without the
requirement to rebuild the kernel with LIBICONV.
2001-07-25 19:21:06 +00:00
Jonathan Lemon
48e417eb5a
Reset the device's powerstate to d0 when resuming from a suspend
...
operation, not just when we initally attach to the device.
Submitted by: warner
2001-07-25 18:00:17 +00:00
Peter Pentchev
7ca4d05f34
Make dynamic sysctl entries start at 0x100, not decimal 100 - there are
...
static entries with oid's over 100, and defining enough dynamic entries
causes an overlap.
Move the "magic" value 0x100 into <sys/sysctl.h> where it belongs.
PR: 29131
Submitted by: "Alexander N. Kabaev" <kabaev@mail.ru>
Reviewed by: -arch, -audit
MFC after: 2 weeks
2001-07-25 17:21:18 +00:00
Peter Pentchev
107e7dc5c3
Style(9): function names on a separate line, max line length 80 chars.
...
Reviewed by: -arch, -audit
MFC after: 2 weeks
2001-07-25 17:13:58 +00:00
Mitsuru IWASAKI
44df042b35
Better checking of duplicated interrupt handler installation.
...
Reviewed by: msmith
2001-07-25 16:13:30 +00:00
Mitsuru IWASAKI
5394e6a026
Some minor fixes.
...
- Set system power profile only when AC-line status has canged.
- Get initial AC-line status after whole system is up.
Reviewed by: msmith
2001-07-25 16:08:58 +00:00
Warner Losh
dd99c79cc1
Make the multiple interrupts attachment an error not a panic.
...
Sometimes, when pccardd is restarted, it fails to realize that the
device is already attached and tries to attach it again. This leads
to bad mojo since the pccard code isn't setup to handle that, so the
panic was put in. Now it appears that it is triggering too easily, so
I'm backing it off to a non-fatal error.
2001-07-25 15:09:54 +00:00
Dima Dorfman
101f105db2
Move the kernel stuff out of snoop.h. It was only there because some
...
of the snp* functions needed to be called from tty.c, which is no
longer the case.
2001-07-25 14:47:56 +00:00
Sheldon Hearn
bba1ea063e
Fix breakage introduced in rev 1.26, with the introduction of
...
absoluate pathnames starting with /usr/src.
This fixes the installworld target for the case where the source tree is
not in /usr/src.
2001-07-25 12:21:27 +00:00
Dima Dorfman
d2b0070c6d
Note that this file was repo-copied from sys/kern/tty_snoop.c.
2001-07-25 12:07:34 +00:00
Dima Dorfman
02bd5400fe
sys/kern/tty_snoop.c is now sys/dev/snp/snp.c.
...
Repo-copy by: jdp
2001-07-25 12:06:36 +00:00
Dima Dorfman
573af706e5
Note MFC of {d,h}watch DDB commands.
2001-07-25 11:58:49 +00:00
Chris D. Faulhaber
eea11e0277
Use a safer method of creating the temporary password file.
...
Submitted by: dynamo@harvard.net
Obtained from: OpenBSD
MFC after: 3 days
2001-07-25 11:55:33 +00:00
Brian Somers
1e0a94b6a0
Change permissions from [4]554 to [4]551
...
MFC after: 3 days
2001-07-25 11:44:04 +00:00
Brooks Davis
a341cbc3fa
Fix a stupid bug which resulted in a blank line in the status output if
...
WEP is supported, but not keys are set.
MFC after: 3 days
2001-07-25 05:52:19 +00:00
Matt Jacob
f44257c29a
Remove ISP_SMPLOCK stuff- we're just using locking now.
...
Correctly reintroduce loop_seen_once semantics- that is, if we've never
seen good link, start bouncing commands with CAM_SEL_TIMEOUT. But we
have to be careful to have let ourselves try (in isp_kthread) to check
for loop up at least once.
PR: 28992
MFC after: 1 week
2001-07-25 04:23:52 +00:00
Matt Jacob
3910362ab8
Roll minor version. Remove ISP_SMPLOCK nonsense. We're using full locking,
...
and that's final.
MFC after: 1 week
2001-07-25 04:21:53 +00:00
Bill Fumerola
fd522d40d8
fix misspelling introduced in rev 1.14 (sames as -> same as)
2001-07-25 04:13:01 +00:00
Brian Somers
9088fa05ae
If an attempt is made to LISTEN for a service tag that's already being
...
LISTENed for, return EEXISTS.
Only match the magic "*" service tag if no other LISTEN service tags
match.
Require an explicit LISTEN for an empty service tag in order to match
empty service requests.
Approved by: julian
MFC after: 3 days
2001-07-25 03:34:07 +00:00
Matt Jacob
d567d6183a
Move netgraph to i386 only. Which is where it works only.
2001-07-25 00:20:33 +00:00
Brooks Davis
bbce7eba7f
IFT_8021_VLAN -> IFT_L2VLAN per if_vlan_var.h rev 1.9. With this change
...
LINT compiles, but doesn't link.
2001-07-25 00:19:59 +00:00
Brooks Davis
4d60fee22b
Allow ng_split to be compiled in staticly.
...
MFC after: 7 weeks
2001-07-25 00:15:02 +00:00
Brooks Davis
851127a276
Make ng_split part of the module building process.
...
MFC after: 7 weeks
2001-07-24 23:42:56 +00:00
Brooks Davis
bb5c977fbd
General cleanup providing better style(9) conformance and generally
...
improved readability. The two real functional changes are that
netgraph now sees this as the "split" node type rather then the
"ng_split" node type and that meta data is passed through without
processing rather then being dropped.
Reviewed by: jhb, julian
MFC after: 7 weeks
2001-07-24 23:33:06 +00:00
Brooks Davis
2997c5e24a
merged interface cloning support.
2001-07-24 19:27:22 +00:00
Andrey A. Chernov
ac06a71756
Remove non-existent (missing?) fonts.alias from beforeinstall: target
2001-07-24 19:25:19 +00:00
Andrey A. Chernov
1dab3da105
Add -I${.OBJDIR} to pick generated font*.h
2001-07-24 18:33:26 +00:00
Bill Fenner
1b2a4f7a3c
Eliminate the panic, reported by Daniel Sobral, which occurs when
...
vlan_unconfig()-ing an interface on which multicast groups have been
joined. Instead, keep the list of groups around (and, in fact, allow
changing of the membership list) and re-join them when the vlan interface
is reassociated with a lower level interface.
2001-07-24 17:14:37 +00:00
Assar Westerlund
2b3dc41c15
correct description of `vpp' for mknod/symlink: they are actually
...
returned locked
2001-07-24 16:16:00 +00:00
David E. O'Brien
a9be9be874
Expland `mymalloc' with malloc + error checking.
2001-07-24 14:15:51 +00:00
David E. O'Brien
44974a7f49
Remove the misnamed `xmalloc' and replace its uses with the realloc (along
...
with error checking) that it actually was.
2001-07-24 14:14:11 +00:00
David E. O'Brien
d54a8ce707
Remove the misnamed `emalloc' and replace its uses with calloc (along
...
with error checking) which it effectively was. (malloc+memset)
2001-07-24 14:13:34 +00:00
David E. O'Brien
f0cb953721
Remove emalloc and expand to the malloc + error checking it was, where used.
2001-07-24 14:12:05 +00:00
David E. O'Brien
ac3c230c82
Remove the misnamed `emalloc' and replace its uses with the calloc (along
...
with error checking) that it actually was.
2001-07-24 14:11:09 +00:00
David E. O'Brien
de9b3b9034
Remove the local basename in favor of the libc version.
...
Remove xmalloc and xstrdup and do the error checking at the place of use.
2001-07-24 14:09:47 +00:00
David E. O'Brien
707cb19845
Expland the emalloc to do the testing at the place of mallocing.
2001-07-24 14:08:02 +00:00
David E. O'Brien
5d79931bb0
Expand emalloc in-place, and remove the `rname' basename() implimenation.
2001-07-24 14:06:19 +00:00
David E. O'Brien
8e33c0a0f6
Expand xmalloc in-place, along with xrealloc; which wasn't even ANSI in its
...
implementation.
2001-07-24 14:05:21 +00:00
David E. O'Brien
9ebd5897b2
Replace the local rname' with the cannonical
basename'.
2001-07-24 14:04:20 +00:00
David E. O'Brien
3c5bf66cec
Expand x{malloc,calloc,realloc,strdup} in-place.
...
(even found some unchecked naked uses)
2001-07-24 14:02:07 +00:00
Hajimu UMEMOTO
0e9ea6e71e
pass any NS/NA/toobig.
...
Requested by: itojun
MFC after: 5 days
2001-07-24 13:37:06 +00:00
Brian Somers
68fe945a06
Remove redundant mtu/mru/speed settings
...
MFC after: 6 days
2001-07-24 13:11:57 +00:00
Dima Dorfman
3fd95272b3
yp_errno is an enum ypstat
.
...
PR: 29190
Submitted by: Cristan Szmajda <cristan@unsw.edu.au>
Reviewed by: md5(1)
2001-07-24 12:33:08 +00:00
Kris Kennaway
506d42c5b7
yyerror() is a printflike function
...
MFC after: 1 week
2001-07-24 12:20:17 +00:00
Thomas Gellekum
2bc50aed69
Clean up the code a bit:
...
- add $FreeBSD$;
- remove unused variables;
- add missing headers and prototypes;
- -Wshadow.
2001-07-24 11:50:23 +00:00
Thomas Gellekum
040395f4dd
Rewrite video emulation. Features:
...
- slightly more accurate VGA hardware emulation;
- more int 10 functions, especially wrt to palette handling;
- first shot at graphics support;
- mode switching.
Bugs:
- graphics too slow;
- only 16 color modes work for now;
- works only under X, and only with 16 bit TrueColor visuals;
- far from being genuinely useful (I can play an old EGA game now, though
(mahjongg.exe)).
Also, the code has been cleaned up a bit (more to come in a separate commit).
2001-07-24 11:44:20 +00:00
Kris Kennaway
55fd28c86b
sprintf -> snprintf
...
Obtained from: OpenBSD
MFC After: 1 week
2001-07-24 11:40:18 +00:00
Sheldon Hearn
745b20f712
The previous delta duplicated a significant amount of information
...
already found in the sigaction(2) manual.
As discussed with the committer of that delta, cross-reference the list
in sigaction(2) instead of duplicating the list of functions that are
safe for use within signal handlers.
2001-07-24 11:37:33 +00:00
Kris Kennaway
fd96447ad0
Replace strncpy -> strlcpy
...
Obtained from: OpenBSD
MFC after: 1 week
2001-07-24 11:36:56 +00:00
Kris Kennaway
6979f76ff6
Sync to OpenBSD (update comment and minor style change).
...
Obtained from: OpenBSD
MFC after: 1 week
2001-07-24 11:34:22 +00:00