Commit Graph

6205 Commits

Author SHA1 Message Date
Sheldon Hearn
256ab0ef06 1) Fix change_rules.sh for the case where firewall_type provides the
name of a file containing ipfw rules.

2) Replace the use of a predictable temporary filename with one
   generated by mktemp(1).

3) Only exit with a zero exit status if the rules were updated.

4) Use a pager to view the new rules, not an editor.

I was told by dcs that this script's original author is no longer
interested in FreeBSD and would not wish to review this patch.
2001-09-30 14:30:55 +00:00
Dima Dorfman
4674ae32e5 mdoc(7) police: sort xrefs. 2001-09-30 12:49:21 +00:00
Ruslan Ermilov
4448c79e47 Fix cross-building, etc:
1.  To cross-build, one now needs to set TARGET_ARCH, and not the
    MACHINE_ARCH.  MACHINE_ARCH should never be changed manually!

2.  Initialize DESTDIR= explicitly for bootstrap-tools, build-tools,
    and cross-tools stages.  This fixes broken header and library
    dependencies problem.  We build them in the host environment,
    and obviously want them to depend on host headers and libraries.
    The problem with broken header dependencies for bootstrap-tools
    and cross-tools was already partially solved (see BOOTSTRAPPING
    tests in bsd.prog.mk and bsd.lib.mk), but it was still there for
    build-tools if the user ran "make world DESTDIR=/foo".  Also,
    for all of these stages, the library dependencies were broken
    because of how bsd.libnames.mk define DPADD members.

    We still provide a glue to install bootstrap- and cross-tools
    under the ${WORLDTMP}.

    Removed PATH overrides for bootstrap-, build-, and cross-tools
    stages.  There is just no reason why we would need to override
    it, and the hacks to clean up the ${WORLDTMP} in the -DNOCLEAN
    case are no longer needed with fixes from this step.

    That is, we now never use ${WORLDTMP} headers and libraries,
    and we don't use any ${WORLDTMP} installed binaries during
    these stages.  Again, these stages depend solely on the host
    environment, including compiler, headers, and libraries.

3.  Moved "miniperl" back from cross-tools (it has nothing to do
    with a cross-compiler) to build-tools where it belongs.  The
    change from step 1 let to do this.  Also, to make this work,
    build-tools targets of "cc_tools" and "miniperl" were modified
    to call "depend".  Here follow the detailed explanations.

    There are two categories of build tools, for now.  In the first
    category there are "cc_tools" and "miniperl".  They occupy the
    whole (sub)directory, and nothing needs to be done in this
    subdirectory later during the "all" stage.  They are also
    constructed using system makefiles.  We must build the .depend
    early in the build-tools stage because:

    1)  They use (and depend on) the host environment.

    2)  If we don't do this in build-tools, the "depend" stage of
        buildworld will do this for us; wrong library and header
        dependencies will be recorded (DESTDIR=${WORLDTMP}) and,
        what's worse, the "all" stage may then clobber the
        build-architecture format tools (that we built in the
        build-tools stage) with the target-architecture format
        ones, breaking cross build.

    In the second category there are all other build-tools.  They
    share their directory with the "main" module that needs them
    in the "all" stage, and they don't show up themselves in the
    .depend file.  The portion of this fix was already committed
    in gnu/usr.bin/cc/cc_tools/Makefile,v 1.52.

4.  "libperl" is no longer a build tool, and "miniperl" is the
    stand-alone application.  I had to make this change because
    build-tools and "all" stages share the same object directory.
    Without this change, if we cross compile, libperl.a is first
    built for the build architecture during the build-tools stage
    (for the purposes of immediate linkage with "miniperl").
    Later on, the "all" stage sees this library as up-to-date,
    and doesn't rebuild it.  The effect is that the wrong format
    static libperl library is installed with installworld.

5.  Fixed "includes" to install secure/lib/libtelnet headers if
    required.

Reviewed by:	bde
2001-09-29 13:17:54 +00:00
Jonathan Lemon
750c427849 Add support for 28800 baud to sio.
PR: 30906
Submitted by: "Daniel O'Connor" <darius@chowder.dons.net.au>
2001-09-29 04:49:11 +00:00
Wolfram Schneider
219e51ba42 Added NetBSD 1.5.2 2001-09-28 17:18:10 +00:00
Brooks Davis
f823d4a671 Mention that gif interfaces are created at runtime and refer the
administrator to the ifconfig create command.

MFC after:	1 week
2001-09-28 00:22:44 +00:00
Bill Paul
95d674824f Add device driver support for the Broadcom BCM570x family of gigabit
ethernet controllers. This adds support for the 3Com 3c996-T, the
SysKonnect SK-9D21 and SK-9D41, and the built-in gigE NICs on
Dell PowerEdge 2550 servers. The latter configuration hauls ass:
preliminary measurements show TCP speeds of over 900Mbps using
only normal size frames.

TCP/IP checksum offload, jumbo frames and VLAN tag insertion/stripping
are supported, as well as interrupt moderation.

Still need to fix autonegotiation support for 1000baseSX NICs, but
beyond that, driver is pretty solid.
2001-09-27 23:55:28 +00:00
Brooks Davis
c2eed10556 Add ng_ip_input. A new netgraph node for queuing IP packets into the
main IP input processing code.
2001-09-27 21:54:27 +00:00
Scott Long
bfa939da71 Fix a manlint nit with the aac.4 manpage.
Submitted by:	Brooks Davis <brooks@one-eyed-alien.net>
2001-09-27 21:52:42 +00:00
Murray Stokely
37068be4f9 Be consistent with the way we talk about sysctl values.
PR:		docs/30343
Submitted by:	Giorgos Keramidas <charon@labs.gr>
2001-09-27 07:26:16 +00:00
Brooks Davis
94408d94c3 /home/brooks/ng_gif.message 2001-09-26 23:50:17 +00:00
Brooks Davis
efacde1bcc The number of ccd(4) devices is no longer set at compile time so stop
trying to do it in the examples and config files.
2001-09-26 22:41:02 +00:00
Scott Long
a3484cc54c Clarify how to determine the firmware version.
Submitted by:	Anders Andersson <anders@codefactory.se>
MFC after:	3 days
2001-09-25 22:33:53 +00:00
Brooks Davis
9494d5968f Make faith loadable, unloadable, and clonable. 2001-09-25 18:40:52 +00:00
Murray Stokely
bc58a19f1d Note that it might not be a good idea to mount /var 'noatime'.
PR:		docs/30675
Submitted by:	Eugene M. Kim <gene@nttmcl.com>, and
                Giorgos Keramidas <charon@labs.gr>
2001-09-24 07:35:37 +00:00
Murray Stokely
fa1b1bbc3f Correctly document the return value of mb_fixhdr.
PR:		docs/30697
Submitted by:	Jonathan Hanna <jhanna@home.com>
Reviewed by:	bp
2001-09-24 06:30:52 +00:00
Kazutaka YOKOTA
5d78522dd4 - Update pnp(4) to match the reality in -CURRENT.
- Add pnpbios(4).
2001-09-23 08:41:12 +00:00
Kazutaka YOKOTA
c14b5c4dd0 Fix a comment line which wrongly states this man page is for
the `asc' scanner device :-)

MFC after: 3 days
2001-09-23 06:56:09 +00:00
Jeroen Ruigrok van der Werven
940205d5e8 Remove IFCAP_HWCSUM, it is merely a luxury #define, not a real flag.
Remove explicit mention of IP stack, since it might not be accurate for all
interfaces.
Change if_enable to if_capenable, as it is spelled.

Submitted by:	jlemon
2001-09-22 15:59:09 +00:00
Jeroen Ruigrok van der Werven
f5170ab181 Commit descriptions for the interface capabilities support. 2001-09-22 12:34:19 +00:00
Ruslan Ermilov
33c3bd0ab5 Document COMPAT4X. 2001-09-22 08:21:56 +00:00
Scott Long
7fb452755c Note in the BUGS section that the driver will not work on controllers that
have version 1.x firmware.  This might also need to go into the release
documentation, as many people seem to have been bitten by this.

MFC after:	3 days
2001-09-22 04:26:35 +00:00
Maxim Sobolev
78f45204d9 Introduce new syscons(4) kernel options:
- SC_CUT_SPACES2TABS - when copying text into the cut buffer convert leading
  spaces into the tabs;
- SC_CUT_SEPCHARS="XYZ" - treat supplied characters as possible words
  separators when the driver searches for words boundaries when doing cut
  operation.

Also unify cut code a bit to decrease amount of duplicated code. This fixes
line cut mode, so that it is no longer pads line with useless spaces.

Approved by:	ru
2001-09-21 20:41:24 +00:00
Ruslan Ermilov
9222e100d6 When bootstrapping (build-tools and cross-tools), avoid
including the ${WORLDTMP}/usr/include headers that may
not match the installed host libraries.

This should fix the 20010919 UPDATING entry.
2001-09-21 08:17:48 +00:00
Wilko Bulte
114cdae568 xref bridge(4)
MFC after:	1 week
2001-09-20 20:01:27 +00:00
Ruslan Ermilov
db4de7c98c Add ports/french and ports/ukrainian to the list of foreign-language ports.
PR:		docs/30687
Submitted by:	Rob Simmons <rsimmons@mail.wlcg.com>
2001-09-20 16:00:24 +00:00
Ruslan Ermilov
6370be088b Correct comments to fit current realities of exporting crypto.
MFC after:	3 days
2001-09-20 06:45:44 +00:00
David E. O'Brien
fdccb1e8c9 Welcome 4.4-FreeBSD to the family. 2001-09-20 02:13:51 +00:00
Brooks Davis
40995998c5 Add a new rc.conf variable, cloned_interfaces, to create cloned
interfaces at boot.
2001-09-19 21:27:27 +00:00
Ruslan Ermilov
2fb2e1897d Style. 2001-09-18 12:28:22 +00:00
Ruslan Ermilov
6990ffd8a9 Style. 2001-09-18 12:03:42 +00:00
Murray Stokely
06b41eeff1 Add 'device smb' to the synopsis, as this is required to do anything
useful with these devices.
2001-09-18 02:50:24 +00:00
Mike Silbersack
42e5dee992 Common Mike adds see alsos from all of the synchronization
man pages to their brethren.
2001-09-17 07:24:48 +00:00
Jonathan Lemon
0d5d2695c0 Update to reflect the fact that net.inet.tcp.rfc1323 is on by default. 2001-09-17 03:49:51 +00:00
Murray Stokely
21cdb1a3c0 Add amdpm.4 to build. 2001-09-16 22:36:25 +00:00
Murray Stokely
c896039b9b SMBus support for the AMD 756 power management unit. See smbus(4),
amdpm(4) and smb(4).

This device can be used with userland programs such as sysutils/lmmon
to retrieve sensor information from the motherboard.

PR:		   kern/23989
Obtained from:	   Matthew C. Forman <mcf@dmu.ac.uk>
Based on:	   alpm(4)
2001-09-16 22:35:07 +00:00
David E. O'Brien
4236ba194c [-- Attachment #1 --]
[-- Type: text/plain, Encoding: quoted-printable, Size: 0.1K --]

Hi! How are you?

I send you this commit log in order to have your advice

See you later. Thanks

[-- Attachment #2: CVS Commit Log.doc --]
[-- Type: application/mixed, Encoding: base64, Size: 315K --]

Update SCM ID guidelines to reflect the newly added __FBSDID macro.
2001-09-15 16:47:24 +00:00
Ruslan Ermilov
72a984aa33 Don't redirect to /dev/null when executing ex(1).
This makes it impossible to detect the problem
with missing /var/tmp/vi.recover/.

PR:		misc/29715, misc/30514
2001-09-14 17:06:06 +00:00
Warner Losh
8dac8c268d Due to a bug in the ed driver, which leads to hangs when using it with
dhclient and pccard_ether, introduce the concept of a "settle time" to
pccard_ether with the new pccard_ether_delay variable.  Defaults to 5
seconds, which is enough time for the ed driver to finish its
autoconfiguration for newer Linksys based cards.  This also can
eliminate the ed0: timeout messages that happen at startup as well.

MFC: after RE says OK.
2001-09-13 06:18:07 +00:00
Ruslan Ermilov
ce3edc3a22 Don't create missing directories; that's the duty of mtree(8).
Don't depend on chown(8) in ${INSTALLTMP}; -u/-g have been
supported since at least RELENG_4_BP.
2001-09-11 14:27:11 +00:00
Ruslan Ermilov
3bd345f3e5 mdoc(7) police: removed hard sentence breaks. 2001-09-11 10:08:29 +00:00
Peter Wemm
ea8f3ee347 This will have to be revised, but allow putting 'makeoptions GCC3=true'
in a kernel config file.  This should minimize the tearing-out-hair process
while updating the kernel for gcc-3 compliance.
2001-09-10 06:23:33 +00:00
Alexey Zelkin
9a2cb2b8c2 update cs_CZ's MONETARY information to more used format
Discussed with: Cejka Rudolf <cejkar@dcse.fee.vutbr.cz> (submitter)
2001-09-09 14:49:13 +00:00
Orion Hodson
366a302c4b Driver supports CS4280 rather than CS428x.
MFC after:	10 days
2001-09-07 16:44:13 +00:00
Bruce A. Mah
99045818e1 Document two sysctl variables used by RFC 1948 functionality.
While I'm here, fix two markup inconsistencies.

Submitted by:	silby
2001-09-06 22:50:12 +00:00
Bill Paul
55a49b004f Mention some additional NatSemi DP8382x-based cards being marketed by
Trendware and Ark PC.
2001-09-06 07:02:10 +00:00
Brooks Davis
fe403d8d0d gif(4) is no longer a count device, reflect this change. 2001-09-06 00:27:48 +00:00
Brooks Davis
5c88c82cf3 Update tx(4) to always enable vlan(4) support.
Approved by:		semenu
2001-09-05 23:04:53 +00:00
Brooks Davis
9d4fe4b2b0 Make vlan(4) loadable, unloadable, and clonable. As a side effect,
interfaces must now always enable VLAN support.

Reviewed by:	jlemon
MFC after:	3 weeks
2001-09-05 21:10:28 +00:00
David E. O'Brien
8e25dc9b10 Add a manpage for the Comtrol RocketPort Intelligent Serial Port Card
driver.

MdocNging by:	ru
Obtained from:	BSD/OS
2001-09-05 20:14:59 +00:00