]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoRemove the local basename in favor of the libc version.
obrien [Tue, 24 Jul 2001 14:09:47 +0000 (14:09 +0000)]
Remove the local basename in favor of the libc version.
Remove xmalloc and xstrdup and do the error checking at the place of use.

22 years agoExpland the emalloc to do the testing at the place of mallocing.
obrien [Tue, 24 Jul 2001 14:08:02 +0000 (14:08 +0000)]
Expland the emalloc to do the testing at the place of mallocing.

22 years agoExpand emalloc in-place, and remove the `rname' basename() implimenation.
obrien [Tue, 24 Jul 2001 14:06:19 +0000 (14:06 +0000)]
Expand emalloc in-place, and remove the `rname' basename() implimenation.

22 years agoExpand xmalloc in-place, along with xrealloc; which wasn't even ANSI in its
obrien [Tue, 24 Jul 2001 14:05:21 +0000 (14:05 +0000)]
Expand xmalloc in-place, along with xrealloc; which wasn't even ANSI in its
implementation.

22 years agoReplace the local `rname' with the cannonical `basename'.
obrien [Tue, 24 Jul 2001 14:04:20 +0000 (14:04 +0000)]
Replace the local `rname' with the cannonical `basename'.

22 years agoExpand x{malloc,calloc,realloc,strdup} in-place.
obrien [Tue, 24 Jul 2001 14:02:07 +0000 (14:02 +0000)]
Expand x{malloc,calloc,realloc,strdup} in-place.
(even found some unchecked naked uses)

22 years agopass any NS/NA/toobig.
ume [Tue, 24 Jul 2001 13:37:06 +0000 (13:37 +0000)]
pass any NS/NA/toobig.

Requested by: itojun
MFC after: 5 days

22 years agoRemove redundant mtu/mru/speed settings
brian [Tue, 24 Jul 2001 13:11:57 +0000 (13:11 +0000)]
Remove redundant mtu/mru/speed settings

MFC after: 6 days

22 years agoyp_errno is an `enum ypstat`.
dd [Tue, 24 Jul 2001 12:33:08 +0000 (12:33 +0000)]
yp_errno is an `enum ypstat`.

PR: 29190
Submitted by: Cristan Szmajda <cristan@unsw.edu.au>
Reviewed by: md5(1)

22 years agoyyerror() is a printflike function
kris [Tue, 24 Jul 2001 12:20:17 +0000 (12:20 +0000)]
yyerror() is a printflike function

MFC after: 1 week

22 years agoClean up the code a bit:
tg [Tue, 24 Jul 2001 11:50:23 +0000 (11:50 +0000)]
Clean up the code a bit:

- add $FreeBSD$;
- remove unused variables;
- add missing headers and prototypes;
- -Wshadow.

22 years agoRewrite video emulation. Features:
tg [Tue, 24 Jul 2001 11:44:20 +0000 (11:44 +0000)]
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).

22 years agosprintf -> snprintf
kris [Tue, 24 Jul 2001 11:40:18 +0000 (11:40 +0000)]
sprintf -> snprintf

Obtained from: OpenBSD
MFC After: 1 week

22 years agoThe previous delta duplicated a significant amount of information
sheldonh [Tue, 24 Jul 2001 11:37:33 +0000 (11:37 +0000)]
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.

22 years agoReplace strncpy -> strlcpy
kris [Tue, 24 Jul 2001 11:36:56 +0000 (11:36 +0000)]
Replace strncpy -> strlcpy

Obtained from: OpenBSD
MFC after: 1 week

22 years agoSync to OpenBSD (update comment and minor style change).
kris [Tue, 24 Jul 2001 11:34:22 +0000 (11:34 +0000)]
Sync to OpenBSD (update comment and minor style change).

Obtained from: OpenBSD
MFC after: 1 week

22 years agoSync to OpenBSD:
kris [Tue, 24 Jul 2001 11:32:29 +0000 (11:32 +0000)]
Sync to OpenBSD:

Clarify that if strlcat() does not find a NUL within siz byte it
will not NUL terminate either.

Document boundary condition when size < strlen(dst).

"of", not "on" (from Henric Jungheim)

Obtained from: OpenBSD
MFC After: 1 week

22 years agoAdded the txp driver into the list for SMALL kernel.
kato [Tue, 24 Jul 2001 11:32:18 +0000 (11:32 +0000)]
Added the txp driver into the list for SMALL kernel.

22 years agoMerged from sys/i386/conf/GENERIC revision 1.315.
kato [Tue, 24 Jul 2001 11:24:58 +0000 (11:24 +0000)]
Merged from sys/i386/conf/GENERIC revision 1.315.

22 years ago- Do not call VGLEnd() and exit() to terminate the program
yokota [Tue, 24 Jul 2001 11:15:20 +0000 (11:15 +0000)]
- Do not call VGLEnd() and exit() to terminate the program
  immediately when a signal is caught.  Instead, defer
  program termination until the next call to VGLCheckSwitch().
  Otherwise, the video card may not be restored correctly
  if the signal is seen while inside libvgl functions.

MFC after: 1 week

22 years agoThe delta introduced in the previous revision and attributed to the
sheldonh [Tue, 24 Jul 2001 11:15:13 +0000 (11:15 +0000)]
The delta introduced in the previous revision and attributed to the
OpenBSD project had grammar problems and made no attempt to motivate
the practice of saving errno.  Replace it with something better.

22 years agoAdd ports for sshell, ldaps, rsync, ftps-{data|control}, ircs, and
dougb [Tue, 24 Jul 2001 09:28:18 +0000 (09:28 +0000)]
Add ports for sshell, ldaps, rsync, ftps-{data|control}, ircs, and
correct some ommissions of udp ports.

Update IANA web page.

Clean up/correct some comments. I went a little further than the PR.

PR: conf/23416
Submitted by: Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>

22 years agomdoc(7) police: remove hard sentence breaks and wrap lines over 80
dd [Tue, 24 Jul 2001 09:20:37 +0000 (09:20 +0000)]
mdoc(7) police: remove hard sentence breaks and wrap lines over 80
characters.

22 years agoFix or add types where appropriate.
dd [Tue, 24 Jul 2001 09:19:58 +0000 (09:19 +0000)]
Fix or add types where appropriate.

22 years agoThis commit was generated by cvs2svn to compensate for changes in r80260,
kris [Tue, 24 Jul 2001 09:05:00 +0000 (09:05 +0000)]
This commit was generated by cvs2svn to compensate for changes in r80260,
which included commits to RCS files with non-trunk default branches.

22 years agoImport updated/clarified license for tcp_wrappers.
kris [Tue, 24 Jul 2001 09:05:00 +0000 (09:05 +0000)]
Import updated/clarified license for tcp_wrappers.

+* Redistribution and use in source and binary forms, with or without
+* modification, are permitted provided that this entire copyright notice
+* is duplicated in all such copies.

Obtained from: ftp://ftp.porcupine.org/pub/security/tcp_wrappers_license

22 years agoImprove markup.
dd [Tue, 24 Jul 2001 08:48:50 +0000 (08:48 +0000)]
Improve markup.

Reviewed by: ru

22 years agoNote that this list should follow the docproj dependency list as much
dd [Tue, 24 Jul 2001 08:47:00 +0000 (08:47 +0000)]
Note that this list should follow the docproj dependency list as much
as possible.

22 years agoeps2png -> peps
dd [Tue, 24 Jul 2001 08:43:44 +0000 (08:43 +0000)]
eps2png -> peps

Submitted by: Alexey V. Neyman <avn@any.ru>

22 years agoFinish the sweep of changes that fix doubled 'the'.
sheldonh [Tue, 24 Jul 2001 08:30:55 +0000 (08:30 +0000)]
Finish the sweep of changes that fix doubled 'the'.

22 years agoAdd the list of signal-handler safe functions here too, so people can
kris [Tue, 24 Jul 2001 08:26:37 +0000 (08:26 +0000)]
Add the list of signal-handler safe functions here too, so people can
find it more easily

Obtained from: OpenBSD
MFC After: 1 week

22 years agoAdd a few more functions which are safe to call from signal handlers,
kris [Tue, 24 Jul 2001 08:24:50 +0000 (08:24 +0000)]
Add a few more functions which are safe to call from signal handlers,
and give a bit of advice.

Obtained from: OpenBSD
MFC After: 1 week

22 years agoUnify SEE ALSO sections of the kld*.2 and mod*.2 manpages.
yar [Tue, 24 Jul 2001 07:59:54 +0000 (07:59 +0000)]
Unify SEE ALSO sections of the kld*.2 and mod*.2 manpages.
Previously, some useful xrefs were missing.
Now each of the pages refers to all remaining section 2 pages,
to the kld(4) page, and to a related utility's (section 8) page.

22 years agoSimplify the implementation of pmap_emulate_reference(). The new version
dfr [Tue, 24 Jul 2001 07:13:07 +0000 (07:13 +0000)]
Simplify the implementation of pmap_emulate_reference(). The new version
simply manipulates the pte which faulted instead of traversing the mapping
list for that page. This makes it possible to complete the trap without
needing locks and incidentally improves the accuracy of some statistics
used by the VM system.

22 years agoSave errno in signal handler
kris [Tue, 24 Jul 2001 05:41:13 +0000 (05:41 +0000)]
Save errno in signal handler

Obtained from: OpenBSD
MFC After: 1 week

22 years agoBruce gave me a little too much credit ;-), stf didn't get the full
brooks [Tue, 24 Jul 2001 05:34:18 +0000 (05:34 +0000)]
Bruce gave me a little too much credit ;-), stf didn't get the full
treatment along with gif so it doesn't support cloning yet.

22 years agoFix four </para> tags that were either missing or misspelled as </para>.
brooks [Tue, 24 Jul 2001 04:27:54 +0000 (04:27 +0000)]
Fix four </para> tags that were either missing or misspelled as </para>.

Found by: make lint
Reviewed by: bmah

22 years agoInstall this mode 4550 owned by group dialer; there is unsafe code
kris [Tue, 24 Jul 2001 02:37:48 +0000 (02:37 +0000)]
Install this mode 4550 owned by group dialer; there is unsafe code
in the signal handlers which may pose a risk when executable by untrusted
users.

Submitted by: Przemyslaw Frasunek <venglin@freebsd.lublin.pl>
MFC After: 3 days

22 years agoAdd txp(4) devices to the supported hardware list.
bmah [Tue, 24 Jul 2001 01:14:00 +0000 (01:14 +0000)]
Add txp(4) devices to the supported hardware list.

22 years agoNew release notes: txp(4) driver.
bmah [Tue, 24 Jul 2001 00:32:51 +0000 (00:32 +0000)]
New release notes:  txp(4) driver.

Updates:  Cross-reference SA-01:49 for telnet(8) buffer overflow fix,
binutils upgrade to snapshot, tcpdump 3.6.3, OpenSSL 0.9.6b.

22 years agoUse the IANA assignment IFT_L2VLAN directly instead of indirecting through
fenner [Tue, 24 Jul 2001 00:03:51 +0000 (00:03 +0000)]
Use the IANA assignment IFT_L2VLAN directly instead of indirecting through
 a privately #defined IFT_8021_VLAN.

MFC after: 3 days

22 years agoGrrrr: s/DFS-538TX/DFE-538TX/
bmah [Mon, 23 Jul 2001 23:35:31 +0000 (23:35 +0000)]
Grrrr:  s/DFS-538TX/DFE-538TX/

22 years agoQuiet a [useless] compiler warning.
obrien [Mon, 23 Jul 2001 23:27:28 +0000 (23:27 +0000)]
Quiet a [useless] compiler warning.

22 years agoMerge tcpdump 3.6.3
fenner [Mon, 23 Jul 2001 23:15:44 +0000 (23:15 +0000)]
Merge tcpdump 3.6.3

22 years agoThis commit was generated by cvs2svn to compensate for changes in r80231,
fenner [Mon, 23 Jul 2001 23:15:13 +0000 (23:15 +0000)]
This commit was generated by cvs2svn to compensate for changes in r80231,
which included commits to RCS files with non-trunk default branches.

22 years agoVirgin import of tcpdump.org tcpdump v3.6.3
fenner [Mon, 23 Jul 2001 23:15:13 +0000 (23:15 +0000)]
Virgin import of tcpdump.org tcpdump v3.6.3

22 years agoBasically rewrite the dofork() routine, to add more error-checking and
gad [Mon, 23 Jul 2001 23:13:39 +0000 (23:13 +0000)]
Basically rewrite the dofork() routine, to add more error-checking and
correct the error-checking that was there.  With the old code, an error
return from getpwuid(daemon_user) could turn the lpd process into a very
effective fork-bomb...

Reviewed by: freebsd-audit freebsd-print (a little...)
MFC after: 6 days

22 years agoTurn on __STRICT_ALIGNMENT. We need this to fix up alignment so the alpha
wpaul [Mon, 23 Jul 2001 22:27:17 +0000 (22:27 +0000)]
Turn on __STRICT_ALIGNMENT. We need this to fix up alignment so the alpha
won't trap.

22 years agoMFcrypto/telnet/telnetd: Correct semantics of output_data*() and netflush()
kris [Mon, 23 Jul 2001 22:00:51 +0000 (22:00 +0000)]
MFcrypto/telnet/telnetd: Correct semantics of output_data*() and netflush()
to ensure deterministic operation

22 years agooutput_data(), output_datalen() and netflush() didn't actually guarantee
kris [Mon, 23 Jul 2001 21:52:26 +0000 (21:52 +0000)]
output_data(), output_datalen() and netflush() didn't actually guarantee
to do what they are supposed to: under some circumstances output data would
be truncated, or the buffer would not actually be flushed (possibly leading
to overflows when the caller assumes the operation succeeded).  Change the
semantics so that these functions ensure they complete the operation before
returning.

Comment out diagnostic code enabled by '-D reports' which causes an
infinite recursion and an eventual crash.

Patch developed with assistance from ru and assar.

22 years agoSimplify IPv4 mapped IPv6 address handling.
ume [Mon, 23 Jul 2001 21:42:22 +0000 (21:42 +0000)]
Simplify IPv4 mapped IPv6 address handling.

Reviewed by: brian
MFC after: 5 days

22 years agoAdd an external function to unlink a netgraph type from the types list.
julian [Mon, 23 Jul 2001 21:14:57 +0000 (21:14 +0000)]
Add an external function to unlink a netgraph type from the types list.

22 years agoAIEEE! Commit the firmware image too. *blush*
wpaul [Mon, 23 Jul 2001 21:01:36 +0000 (21:01 +0000)]
AIEEE! Commit the firmware image too. *blush*

22 years agoGrrr. Module depends on vlan.h, and I committed the wrong version
wpaul [Mon, 23 Jul 2001 20:54:31 +0000 (20:54 +0000)]
Grrr. Module depends on vlan.h, and I committed the wrong version
of if_txpreg.h, which didn't have sc_rxbufprod defined in the softc
struct.

22 years agoYou were knocked senseless by the Boomerang, spun around by the Cyclone,
wpaul [Mon, 23 Jul 2001 20:44:54 +0000 (20:44 +0000)]
You were knocked senseless by the Boomerang, spun around by the Cyclone,
blown over by the Hurricane and had a house dropped on you by the Tornado.
Now it's time to have your parade rained on by... the Typhoon!

This commit adds driver support for 3Com 3cR990 10/100 ethernet
adapters based on the Typhoon I and Typhoon II chipsets. This is actually
a port of the OpenBSD driver with many hacks by me.

No Virginia, there isn't any support for the hardware crypto yet. However
there is support for TCP/IP checksum offload and VLANs.

Special thanks go to Jason Wright, Aaron Campbell and Theo de Raadt for
squeezing enough info out of 3Com to get this written, and for doing
most of the hard work.

Manual page is included. Compiled as a module and included in GENERIC.

22 years agoAdd D-Link DFE-538TX to list of rl(4)-supported devices.
bmah [Mon, 23 Jul 2001 19:11:33 +0000 (19:11 +0000)]
Add D-Link DFE-538TX to list of rl(4)-supported devices.

While I'm here, fix a typo:  s/DGE=500SX/DGE-500SX/.

Submitted by: Christian Greisen <csg@fakse.dk>

22 years agoFix removal of at jobs.
ghelmer [Mon, 23 Jul 2001 18:25:45 +0000 (18:25 +0000)]
Fix removal of at jobs.

PR: bin/23052
Submitted by: Mike Sellenschuetter <mike.sellenschuetter@bankofamerica.com>
MFC after: 1 week

22 years agoRemind people to document bumps in the Porter's Handbook.
obrien [Mon, 23 Jul 2001 17:51:02 +0000 (17:51 +0000)]
Remind people to document bumps in the Porter's Handbook.

22 years agoAvoid a NULL pointer derefence introduced in rev. 1.129.
ru [Mon, 23 Jul 2001 16:50:01 +0000 (16:50 +0000)]
Avoid a NULL pointer derefence introduced in rev. 1.129.

Problem noticed by: bde, gcc(1)
Panic caught by: mjacob
Patch tested by: mjacob

22 years agochange the default for isdn_fsdev to NO.
hm [Mon, 23 Jul 2001 14:28:36 +0000 (14:28 +0000)]
change the default for isdn_fsdev to NO.
PR:             26818
Submitted by:   Clement Ballabriga <clement@asso.ups-tlse.fr>

22 years agochange the default for isdn_fsdev to NO. specifying a device here
hm [Mon, 23 Jul 2001 14:24:31 +0000 (14:24 +0000)]
change the default for isdn_fsdev to NO. specifying a device here
results in a potential conflict with a getty running on that device.
PR: 26818
Submitted by: Clement Ballabriga <clement@asso.ups-tlse.fr>

22 years agoIntegrate fdc.h into fd.c.
nyan [Mon, 23 Jul 2001 13:07:24 +0000 (13:07 +0000)]
Integrate fdc.h into fd.c.

22 years agoremove emalloc,ecalloc,erealloc,estrdup
assar [Mon, 23 Jul 2001 12:42:07 +0000 (12:42 +0000)]
remove emalloc,ecalloc,erealloc,estrdup

22 years agoBack out WARNS commenting - local fault
ache [Mon, 23 Jul 2001 12:38:00 +0000 (12:38 +0000)]
Back out WARNS commenting - local fault

22 years agomake vm_page_select_cache static
assar [Mon, 23 Jul 2001 12:34:31 +0000 (12:34 +0000)]
make vm_page_select_cache static

Requested by: bde

22 years agos/adress/address/
kris [Mon, 23 Jul 2001 12:05:27 +0000 (12:05 +0000)]
s/adress/address/

Inspired by:    OpenBSD
MFC After:      1 week

22 years agoTypo fix: fasion -> fashion
kris [Mon, 23 Jul 2001 11:03:48 +0000 (11:03 +0000)]
Typo fix: fasion -> fashion

Inspired by: OpenBSD
MFC After: 1 week

22 years agoby by -> by
kris [Mon, 23 Jul 2001 11:00:31 +0000 (11:00 +0000)]
by by -> by

Obtained from: OpenBSD
MFC After: 1 week

22 years agoUnbreak world - comment out WARNS=2 - deadly warning on tgetstr
ache [Mon, 23 Jul 2001 10:46:01 +0000 (10:46 +0000)]
Unbreak world - comment out WARNS=2 - deadly warning on tgetstr

22 years agomdoc(7) police: mark up kernel options in .Dv, rc.conf variables in
dd [Mon, 23 Jul 2001 10:25:38 +0000 (10:25 +0000)]
mdoc(7) police: mark up kernel options in .Dv, rc.conf variables in
.Va, and use .Pp instead of blank lines all over the place.

22 years agoConsistently capitalize the first letter of the first word in the
dd [Mon, 23 Jul 2001 10:20:35 +0000 (10:20 +0000)]
Consistently capitalize the first letter of the first word in the
variable descriptions.

22 years agoBreak the list of parameter expansions into two lists so that
sheldonh [Mon, 23 Jul 2001 10:18:05 +0000 (10:18 +0000)]
Break the list of parameter expansions into two lists so that
the paragraph introducing the prefix and suffix pattern expansions
does not appear as part of the explanation for the string length
expansion.

22 years agoDocument syslogd_program and inetd_program.
dd [Mon, 23 Jul 2001 10:06:59 +0000 (10:06 +0000)]
Document syslogd_program and inetd_program.

22 years agoDon't use the pronoun "you".
dd [Mon, 23 Jul 2001 09:46:17 +0000 (09:46 +0000)]
Don't use the pronoun "you".

Reviewed by: sheldonh, mpp

22 years agoFix typos
kris [Mon, 23 Jul 2001 09:39:55 +0000 (09:39 +0000)]
Fix typos

Obtained from: OpenBSD
MFC After: 1 week

22 years agosprintf -> snprintf
kris [Mon, 23 Jul 2001 09:22:21 +0000 (09:22 +0000)]
sprintf -> snprintf

22 years agoAdd scripts and Makefile support for building ISO images automatically
jkh [Mon, 23 Jul 2001 09:01:46 +0000 (09:01 +0000)]
Add scripts and Makefile support for building ISO images automatically
as part of the release if MAKE_ISOS is set.  Will also build the
first CD with packages (in addition to the "minimal" CD) if CD_EXTRA_BITS
points to them.  This probably need a bit more work to get fully useful,
but it at least covers the basics for now.

22 years agoAdded the linux_sysinfo function to implement sysinfo(2).
pirzyk [Mon, 23 Jul 2001 06:22:10 +0000 (06:22 +0000)]
Added the linux_sysinfo function to implement sysinfo(2).

PR: kern/27759
Reviewed by: marcel
Approved by: marcel
MFC after: 1 week

22 years agoAdded the proper arguments the sysinfo system call
pirzyk [Mon, 23 Jul 2001 06:17:34 +0000 (06:17 +0000)]
Added the proper arguments the sysinfo system call

PR: kern/27759
Reviewed by: marcel
Approved by: marcel
Obtained from: Linux man page sysinfo(2)
MFC after: 1 week

22 years agoIf the user sets SENDMAIL_MC to /etc/mail/sendmail.mc, install is told to
gshapiro [Mon, 23 Jul 2001 02:19:02 +0000 (02:19 +0000)]
If the user sets SENDMAIL_MC to /etc/mail/sendmail.mc, install is told to
install /etc/mail/sendmail.cf to /etc/mail/sendmail.cf and exits with an
error:

===> etc/sendmail
install -c -o root -g wheel -m 644 /etc/mail/sendmail.cf /etc/mail/sendmail.cf
install: /etc/mail/sendmail.cf and /etc/mail/sendmail.cf are the same file
*** Error code 64

Catch this in the Makefile and don't call install if the source and target
are the same file.

Reported by: Alexandr Listopad <laa@reis.zp.ua>
MFC after: 1 week

22 years agoNew make knob, SENDMAIL_M4_FLAGS, modifies the flags passed to m4 when
gshapiro [Mon, 23 Jul 2001 01:33:54 +0000 (01:33 +0000)]
New make knob, SENDMAIL_M4_FLAGS, modifies the flags passed to m4 when
building a .cf file from a .mc file.

Include -D_FFR_TLS_O_T to enable tls policy control since the sendmail binary
build enables that FFR as well.

PR: conf/28361
MFC after: 1 week

22 years agoGet rid of a compile-time warning by casting to (size_t).
gad [Mon, 23 Jul 2001 01:19:59 +0000 (01:19 +0000)]
Get rid of a compile-time warning by casting to (size_t).

MFC after: 1 week

22 years agoGet rid of a compile-time warning by casting to (size_t).
gad [Mon, 23 Jul 2001 01:13:20 +0000 (01:13 +0000)]
Get rid of a compile-time warning by casting to (size_t).

MFC after: 1 week

22 years agoFix a few more minor compile-time warnings, mainly by using size_t where
gad [Mon, 23 Jul 2001 01:08:15 +0000 (01:08 +0000)]
Fix a few more minor compile-time warnings, mainly by using size_t where
appropriate, and using '("%lu", (unsigned long)asizeval)' when printing
something of type size_t.

MFC after: 1 week

22 years agoGet rid of some compile-time warnings by defining (or casting) variables
gad [Mon, 23 Jul 2001 00:15:37 +0000 (00:15 +0000)]
Get rid of some compile-time warnings by defining (or casting) variables
as size_t where appropriate.

MFC after: 1 week

22 years agoFix two compile-time warnings by defining fromlen as socklen_t.
gad [Mon, 23 Jul 2001 00:13:02 +0000 (00:13 +0000)]
Fix two compile-time warnings by defining fromlen as socklen_t.

MFC after: 1 week

22 years agoadd %option nounput
assar [Sun, 22 Jul 2001 23:15:14 +0000 (23:15 +0000)]
add %option nounput

22 years agorevert last commit. using %option nounput is better
assar [Sun, 22 Jul 2001 23:14:33 +0000 (23:14 +0000)]
revert last commit.  using %option nounput is better

noted by: Seth Kingsley <seth.kingsley@windriver.com>

22 years agoadd ecalloc, emalloc, erealloc, estrdup - versions of the e-less
assar [Sun, 22 Jul 2001 22:26:37 +0000 (22:26 +0000)]
add ecalloc, emalloc, erealloc, estrdup - versions of the e-less
functions that exit instead of failing

22 years agoAdd a few missing spl calls in preparation for an MFC of the miibus
iedowse [Sun, 22 Jul 2001 21:39:54 +0000 (21:39 +0000)]
Add a few missing spl calls in preparation for an MFC of the miibus
support.

22 years agoNote that the umass device requires scbus and da
kris [Sun, 22 Jul 2001 21:35:02 +0000 (21:35 +0000)]
Note that the umass device requires scbus and da

22 years agoRemove an old hack that remembered if the card type was Linksys by
iedowse [Sun, 22 Jul 2001 21:31:44 +0000 (21:31 +0000)]
Remove an old hack that remembered if the card type was Linksys by
storing a flag in the global variable 'linksys' during the probe
routine and reading it during the attach routine. We now have the
ED_VENDOR_LINKSYS vendor code stored in sc->vendor, so check that
instead.

22 years agomake driver compile under 4.3-STABLE
hm [Sun, 22 Jul 2001 19:55:05 +0000 (19:55 +0000)]
make driver compile under 4.3-STABLE

22 years agoDon't do sleep state transition if specified sleep state is not
iwasaki [Sun, 22 Jul 2001 19:13:54 +0000 (19:13 +0000)]
Don't do sleep state transition if specified sleep state is not
supported by the system.

22 years agoAttach the miibus for Linksys/Dlink cards from the attach routine,
iedowse [Sun, 22 Jul 2001 18:58:44 +0000 (18:58 +0000)]
Attach the miibus for Linksys/Dlink cards from the attach routine,
not from the probe routine. This was an oversight when I originally
ported the miibus support to -current, though it was mostly harmless.

We now set the vendor code to the new value ED_VENDOR_LINKSYS in
ed_pccard_Linksys() at probe time. Then ed_pccard_attach() checks
the vendor code, and sets up the miibus if appropriate.

Reviewed by: imp

22 years agoAs per further discussions on hackers redo the SIGCHLD patch to not generate
dillon [Sun, 22 Jul 2001 18:47:31 +0000 (18:47 +0000)]
As per further discussions on hackers redo the SIGCHLD patch to not generate
an unexpected user-visible side effect with the sigaction flags.  Also cleanup
a minor union issue.

Submitted by: Rudolf Cejka <cejkar@dcse.fee.vutbr.cz>
MFC addendum: MFC will be combined w/ original commit
MFC after: 3 days

22 years agoFix a bug I introduced in Rev. 1.21 that prevented 'whois test' from
mike [Sun, 22 Jul 2001 18:23:24 +0000 (18:23 +0000)]
Fix a bug I introduced in Rev. 1.21 that prevented 'whois test' from
working.

Reviewed by: des
Approved by: des

22 years agoAdd entry for SMC 2632W card.
imp [Sun, 22 Jul 2001 18:13:19 +0000 (18:13 +0000)]
Add entry for SMC 2632W card.

Submitted by: lots of people, most recently by Mike Buchanon

Also, Tried to clean up the comments about IRQs to match the new world
order.

22 years agoRemove namespace pollution.
mike [Sun, 22 Jul 2001 18:10:08 +0000 (18:10 +0000)]
Remove namespace pollution.

PR: 14327
Reviewed by: des
Approved by: des
MFC after: 7 days

22 years ago- Fix "off by one" error in VT_WAITACTIVATE. Correctly accept
yokota [Sun, 22 Jul 2001 13:58:23 +0000 (13:58 +0000)]
- Fix "off by one" error in VT_WAITACTIVATE. Correctly accept
  0 as meaning the requesting vty.
- Accept 0 as the requesting vty in VT_ACTIVATE as in VT_WAITACTIVE.

PR: 24423
MFC after: 10 days