Commit Graph

11015 Commits

Author SHA1 Message Date
Pawel Jakub Dawidek
44689dc087 Update. 2006-08-26 11:32:40 +00:00
Warner Losh
b608b4520b Pass whatever the value of NM down to lorder. This allows one to
override NM in Makefiles when, for example, cross compiling and have
that value be used by lorder.  NM normally isn't defined, so we pass a
null value to lorder.  lorder says 'NM=${NM-nm}' which causes it to
pickup the default value.
2006-08-25 23:50:05 +00:00
Pav Lucistnik
2eec31dfb4 - Talk about memory allocation in interrupt context
- Add uam to see also

Submitted by:	Devon H. O'Dell <devon.odell@coyotepoint.com>
2006-08-25 19:04:42 +00:00
David E. O'Brien
489ffb7126 Don't read in /etc/src.conf when building ports.
Reported by:	obrien
Submitted by:	ru
2006-08-24 18:04:49 +00:00
Daniel Gerzo
354a23892f - add note about IPSEC_FILTERGIF to fast_ipsec(4) and let the users know
that it is not possible to use Fast IPsec in conjuction with KAME IPsec
- add available kernel options to ipsec(4)
- add reference for fast_ipsec(4) to ipsec(4)

Reviewed by: trhodes (mentor), keramida (mentor)
Approved by: keramida (mentor)
2006-08-24 17:07:19 +00:00
Roman Kurakin
5eedd41e3b Fix path for source file in files.FOO. 2006-08-23 23:51:29 +00:00
Florent Thoumie
3081bf98bf Backout this commit since it breaks startup and some scripts in
certain conditions. I haven't been able to find a better solution yet:

    - Set a two read-only variables (${prefix} and ${etcdir}). This is
    especially useful when using /etc/rc.d scripts with third-party
    software installed from ports.
    - Fix rc.d/sshd to work with openssh from ports using ${etcdir}
    instead of hardcoded /etc.
    - Reflect prefix/etcdir changes in rc.subr.8.

        src/etc/rc.d/sshd: rev 1.9 -> 1.10
        src/etc/rc.subr: rev 1.51 -> 1.52
        src/share/man/man8/rc.subr.8: rev 1.11 -> 1.12

Approved by:	cperciva (mentor)
2006-08-22 11:17:29 +00:00
Ruslan Ermilov
2b46c64c9c Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
Konstantin Belousov
653ed924e4 Note that LK_UPGRADE may drop the shared lock before taking the
exclusive one.

Reviewed and edited by:	tegge
MFC after:	3 days
Approved by:	pjd (mentor)
2006-08-21 12:45:19 +00:00
Warner Losh
be57e3dd35 Bump date, forgotten in 1.13 2006-08-20 05:56:00 +00:00
Warner Losh
2621688657 Add a few devices that have been added recently. 2006-08-20 05:54:45 +00:00
Christian Brueffer
e2e472c7a3 Use our standard section 4 SYNOPSIS layout.
MFC after:	2 weeks
2006-08-18 10:22:36 +00:00
Brian Somers
04e0bd8b80 Bump the document date.
Suggested by: ru
2006-08-17 20:10:34 +00:00
Brian Somers
9341e8dd88 Add a -p switch to dhclient. The switch tells dhclient to persist
despite the interface link status.

Add dhclient_flags_iface and background_dhclient_iface rc.conf options.
(where iface is a specific interface).  These can be used to give
interface specific flags to dhclient.

Reviewed by:	brooks@
2006-08-17 17:12:27 +00:00
Ruslan Ermilov
a5c73bad83 I'm about to merge these only now, so correct the first release
of their appearence to be 6.2.
2006-08-17 10:55:49 +00:00
Christian Brueffer
3cd78e6c42 Note Intel ICH8 and ESB2 support. 2006-08-15 08:27:38 +00:00
Ruslan Ermilov
2c26fcf3a9 The BUILDNAME variable need not be specified. 2006-08-14 09:34:32 +00:00
Christian Brueffer
9e4e177fb2 Convert to the standard section 4 SYNOPSIS layout.
MFC after:	3 days
2006-08-13 18:44:18 +00:00
Dag-Erling Smørgrav
26e03c2f92 Revert previous commit. Pre-Nehemiah C3 CPUs do have 3DNow!; it doesn't
show up in dmesg because identcpu.c only looks for it on Intel and AMD
processors.
2006-08-13 08:47:41 +00:00
David E. O'Brien
c157a036a9 Add an extension to the UINT & ULONG types. The XINT & XLONG types behave
the same, except sysctl(8) will print out the values in hex.
2006-08-12 23:33:10 +00:00
David E. O'Brien
b470b929f3 Fix bug preventing the proper displaying of the CTLFLAG_WR option. 2006-08-12 20:09:33 +00:00
Yaroslav Tykhiy
6572700ea5 Fix incorrect .Xr syntax I introduced in the previous commit.
Noticed by:	ru
X-MFC with:	rev. 1.31
2006-08-12 17:11:43 +00:00
Dag-Erling Smørgrav
75b7c4a871 I don't know where I got the idea that the VIA C3 has 3DNow!; it doesn't.
It does have MMX (though MMX support is reputed to be incomplete in early
generations), and later generations have SSE.

MFC after:	2 weeks
2006-08-12 09:46:43 +00:00
Dag-Erling Smørgrav
513f04ca55 Reintroduce CSTD, which allows a Makefile to specify the precise dialect
of C in which the program or library is written.

Note that this is *not* intended to be used across the whole tree.  It
is intended to be used for individual libraries or programs which use
specific language features which the compiler must know about in order
to produce correct warnings at high WARNS levels.

MFC after:	1 month
2006-08-11 17:28:59 +00:00
Yaroslav Tykhiy
f6e5e0ad77 Optionally pad outgoing frames to the minimum of 60 bytes (excl. FCS)
before tagging them.  This can help to work around brain-damage in some
switches that fail to pad a frame after untagging it if its length drops
below the minimum.  This option is blessed by IEEE Std 802.1Q (2003 Ed.),
paragraph C.4.4.3.b.  It's controlled by sysctl net.link.vlan.soft_pad.

Idea by:	az
MFC after:	1 week
2006-08-11 17:09:27 +00:00
Gleb Smirnoff
f366efa96f Some perfectionizm against last revision.
Submitted by:	ru
2006-08-10 11:07:11 +00:00
Nate Lawson
1843f0c337 The acpi module is no different from others. If it is loaded while the kernel
has it compiled in, it will be rejected with "module acpi already present!"
and no strange behavior.

MFC after:	1 day
2006-08-10 06:32:16 +00:00
Roman Kurakin
d339df73a5 - Added ability to provide (optional) path to the kernel sources
- Added check of dirs used by example generator
- Fixed path for ${s}/conf/files.FOO and include it via files
  directive from config file
- Changed kernel configuration example with the driver: it is
  not produced by copying Generic but by including it
- KDB is added to config (for DDB)
- Added module building instead and fixed kernel building

Reviewed by:	julian@
2006-08-09 21:23:42 +00:00
Roman Kurakin
00cbc48be6 Added copyright templete
Fixed compilation

Reviewed by:	julian@
2006-08-09 20:57:24 +00:00
Roman Kurakin
be11502127 - Added 'files "files.FOO"' to config for inclusion of user specific files.
- Added KDB option to config file (for DDB).
- Added ability to compile custom kernel.

Discussed with:	julian@
2006-08-09 10:53:26 +00:00
Gleb Smirnoff
b1ba28df1d Fix ng_pppoe(4) after turning off "autosrc feature" on ng_ether(4).
- Store the Ethernet header in node softc.
- Initialize header with dst addr and ethertype in node
  constructor method.
- In node connect method send NGM_ETHER_GET_ENADDR message
  downwards.
- If received reply from ng_ether(4) store the src addr
  in softc.
- Add NGM_PPPOE_SETENDADDR message that allows user to
  override the address with whatever he/she wants.
2006-08-09 09:56:58 +00:00
Bruce M Simpson
a07fb7be3b Add Epson Stylus CX3650.
Update Dd.

Requested by:	brueffer
2006-08-08 15:42:31 +00:00
Yaroslav Tykhiy
03335ffbe9 Fix things I misadvised to Nate Lawson:
- "Ns No" is redundant, so reduce it to just "Ns";
- use Li to mark up CPU and system power states because here they are
  just strings to be typed literally (add more such mark-up as well);
- the best practice of typesetting tells us to use an en-dash to
  indicate a closed range; fortunately, groff_char(7) provides such a symbol.

In addition, consistently use a comma between independent clauses
coordinated by a conjunction.

Pointed out by:	ru (mark-up part)
MFC after:	3 days
2006-08-07 07:28:47 +00:00
Roman Kurakin
36a64d1321 - Added ability to provide (optional) path to the kernel sources
- Fixed path for ${s}/conf/files.FOO and a note that it should be merged into
corresponding file to be able to compile the kernel
- Changed kernel configuration example with the driver: it is not produced by
copying Generic but by including it
- Changed from automatic module building to asking an user if it whants to

Reviewed by:    julian@
2006-08-06 11:06:35 +00:00
Roman Kurakin
a299217f8f Fix compilation.
Reviewed by:	julian@
2006-08-06 11:04:22 +00:00
Gleb Smirnoff
019a5076ee By default "autosrc" is off.
Submitted by:	ru
2006-08-04 18:28:57 +00:00
Yaroslav Tykhiy
776fc0e90e Commit the results of the typo hunt by Darren Pilgrim.
This change affects documentation and comments only,
no real code involved.

PR:		misc/101245
Submitted by:	Darren Pilgrim <darren pilgrim bitfreak org>
Tested by:	md5(1)
MFC after:	1 week
2006-08-04 07:56:35 +00:00
Nate Lawson
13a8aa9f71 Improve quoting of the S1-S5 states. Suggested by yar@.
Add a workaround for conflicts between ACPI Cx CPU idling and LAPIC timer.

MFC after:	1 day
2006-08-04 07:19:01 +00:00
John Birrell
b431b4ca86 Add the DTrace library script directory. 2006-08-03 05:46:32 +00:00
Christian Brueffer
6f475e4b9a Cleanup and add our standard SYNOPSIS section. 2006-08-02 07:02:19 +00:00
Andrew Thompson
3ab4f00990 Document the log_stp variable. 2006-08-02 04:11:25 +00:00
Maxim Sobolev
e5d34218fb Add device to access and modify Open Firmware NVRAM settings in
PowerPC-based Apple's machines and small utility to do it from
userland modelled after the similar utility in Darwin/OSX.

Only tested on 1.25GHz G4 Mac Mini.

MFC after:	1 month
2006-08-01 22:19:01 +00:00
Maxim Konovalov
cf26b291fe o Reserve space for 3.x releases similar to 2.1.
o 3.0.1 is a security/critical release.

Submitted by:	rpaulo@netbsd
2006-08-01 15:26:09 +00:00
Yaroslav Tykhiy
b7141b2e2a Regen. 2006-07-31 14:13:25 +00:00
Yaroslav Tykhiy
16f2e711b8 Regen from src/tools/build/options. 2006-07-31 13:15:04 +00:00
Nate Lawson
93870c0550 Document many of the sysctls in acpi. Bump the date on acpi_thermal.4
because I forgot to on the last change.

MFC after:	1 day
2006-07-29 21:47:24 +00:00
Simon L. B. Nielsen
31c9ecbf46 Add /usr/lib/engines for OpenSSL engines. 2006-07-29 19:47:09 +00:00
Simon L. B. Nielsen
b5ba473ca0 Add missing .El to close list.
This confused the manual page -> hardware notes perl script somewhat and
resulted in part of the output for the stge(4) entry not to be present
in the hardware notes.

Noticed by:	brueffer
2006-07-28 20:14:43 +00:00
Pawel Jakub Dawidek
909d8c4019 Update manual page. 2006-07-28 13:56:17 +00:00
Christian Brueffer
137048858f Mention the dependency on firmware(4). 2006-07-28 08:43:49 +00:00
Joseph Koshy
d1d56560e8 - Use SWIDTH0 for combining characters. [1]
- Unicode 4.1 related changes:
  - Add definitions for a new range of code points
    U+1DC0..U+1DFF "Combining Diacritical Marks Supplement".
  - Add U+04F6 and U+04F7 to the Cyrillic range.
  - Mark U+034F "Combining Grapheme Joiner" as non-printable.
  - Add new combining characters in the range U+0350..U+035F
    to the section "Combining Diacritical Marks".

PR:		misc/100212 [1]
Submitted by:	"J.R. Oldroyd" <<fbsd AT opal.com>>
Reviewed by:	"J.R. Oldroyd" <<fbsd AT opal.com>> (revised patch)
2006-07-28 06:10:33 +00:00
Maxim Konovalov
4ad84ddbd5 o Add NetBSD 3.0.1 and DragonFlyBSD 1.6.0. 2006-07-25 13:31:00 +00:00
Christian Brueffer
3e1e998fac singular -> plural and a typo fix. 2006-07-25 05:20:06 +00:00
Nate Lawson
cf90f178b9 Add support for overriding the values for _CRT, _HOT, and _PSV via sysctl.
Prevent casual modification by requiring hw.acpi.thermal.user_override to
be set first.  Fix printing of negative temperatures in the K->C conversion.
Document the remaining thermal sysctls.

MFC after:	3 days
2006-07-25 02:27:38 +00:00
Pyun YongHyeon
788b409578 Add stge(4) to the list of device drivers use the miibus interface. 2006-07-25 00:59:39 +00:00
Pyun YongHyeon
5d44cffc71 Add stge(4) to the list of drivers supporting ALTQ. 2006-07-25 00:58:00 +00:00
Pyun YongHyeon
97fe1b0932 Add stge(4) to the list of devices supporting full VLAN processing
in the hardware.
2006-07-25 00:56:47 +00:00
Pyun YongHyeon
dba53116ec Add stge(4) to the list of devices supporting polling. 2006-07-25 00:54:58 +00:00
Pyun YongHyeon
f99b1927db Hook up state(4) to the build. 2006-07-25 00:53:14 +00:00
Pyun YongHyeon
2627a07e9c Add a man page for stge(4). 2006-07-25 00:51:38 +00:00
Yaroslav Tykhiy
016c675db6 Improve mark-up: References to "start" as an rc.d method
should be tagged with ".Cm".  (Refs to "stop" are OK already.)

MFC after:	3 days
2006-07-24 10:07:27 +00:00
Maxim Konovalov
1cb58a0783 o GC MT_FTABLE removed in rev. 1.192 mbuf.h.
o Correct MT_HEADER define.
2006-07-24 07:32:23 +00:00
Yaroslav Tykhiy
525388396e The month name in .Dd should be spelled in full.
Pointed out by:	ru
2006-07-22 07:23:46 +00:00
Yaroslav Tykhiy
05a7329cba Touch document date (Dd). 2006-07-21 15:57:12 +00:00
Yaroslav Tykhiy
9f8b57f078 Since Alpha support isn't in HEAD anymore, remove Alpha-specific
rc.conf(5) knobs, too: osf1_enable, unaligned_print.
2006-07-21 15:55:18 +00:00
Olivier Houchard
838ab6b670 Grr we also need to set -mbig-endian to LDFLAGS. Now I can build a
big-endian arm world.
2006-07-21 14:07:48 +00:00
Warner Losh
35ef2e4849 Remove ALPHA optimization pointer for gcc flags.
Add ARM optimization pointer for gcc flags.
2006-07-20 22:42:48 +00:00
Olivier Houchard
220e6313cb Oops LDFLAGS can be used to invoke gcc, so directly add -EB to {LD}. 2006-07-20 22:13:59 +00:00
Olivier Houchard
b72f5c0f35 Honor ARM_BIG_ENDIAN by adding -mbig-endian to CFLAGS and -EB to LDFLAGS if
it is defined.
2006-07-20 21:28:07 +00:00
Florent Thoumie
ca3a4056ad - Remove hardcoded /etc/ntp.conf configuration file from ntpdate rc.d script
and replace it with a new ntpdate_config variable.
- Document it in defaults/rc.conf and rc.conf.5.
- Document ntpdate_hosts in defaults/rc.conf.

Requested by:	Chris Timmons <cwt@networks.cwu.edu>
Approved by:	cperciva (mentor, implicit)
MFC after:	1 week
2006-07-20 10:07:34 +00:00
Michael Reifenberger
93a73e5a00 Reflect the additional support of C7 CPU's in padlock(4).
Submitted by:	brueffer
MFC after:	1 day
2006-07-19 16:31:09 +00:00
Yoshihiro Takahashi
adb4f1aa0f The pcn does not work on NEC SV-98/2-B05 and B06.
Submitted by:	Chiharu Shibata
MFC after:	3 days
2006-07-19 11:49:22 +00:00
Dag-Erling Smørgrav
7fa5ba9e34 Add CPUTYPE support for Via C3 and C3-2 processors.
MFC after:	2 weeks
2006-07-19 11:27:19 +00:00
Christian Brueffer
961ed9347e - Bring kern.random output closer to reality
- Remove kern.random.sys.burst, it's no longer available
- Document kern.random.sys.harvest.swi (1)

PR:		100167 (1)
MFC after:	3 days
2006-07-19 10:49:43 +00:00
Marcus Alves Grando
044f8af1a4 - Add dependency of firmware(9). "MODULE_DEPEND(iwi, firmware, 1, 1, 1);"
Approved by:	brueffer
MFC after:	1 week
2006-07-17 18:56:27 +00:00
Florent Thoumie
f1acac210b Fix typo (s/writeer/writer/). 2006-07-17 10:39:20 +00:00
Christian Brueffer
80da51effc General cleanup, not quite finished yet. 2006-07-16 20:43:12 +00:00
Alexander Leidinger
bef800b384 Add a man-page for snd_emu10kx. Someone with man-fu should have a look
and improve it.

Submitted by:	Yuriy Tsibizov <Yuriy.Tsibizov@gfk.ru> (minor mods by me)
2006-07-15 20:31:26 +00:00
Maxim Konovalov
533baf579b o Sort sx(9) MLINKS. 2006-07-12 19:12:16 +00:00
Giorgos Keramidas
ff8a6926d9 When securelevel is >= 1, /dev/io may not be opened at all (not just for
write).  Update the securelevel description to match this.

Reported by:	Alexandros Kosiaris <akosiaris@gmail.com>
MFC after:	3 days
2006-07-12 18:12:11 +00:00
Christian Brueffer
7f5932be3e Correct path to the firmware ports. 2006-07-12 15:55:48 +00:00
Pawel Jakub Dawidek
d8e7058159 Document sx_xlocked(9).
Submitted by:	ssouhlal
2006-07-12 15:40:35 +00:00
Joel Dahl
b4b4e2e0fe Gah. Replace another instance of "Developer's Handbook" with
"Architecture Handbook".
2006-07-11 16:26:40 +00:00
Joel Dahl
ca5195cb7a The TrustedBSD MAC Framework is documented in the Architecture handbook,
not in the Developers handbook.

Submitted by:	Samy Al Bahra
2006-07-10 20:51:30 +00:00
Maxim Konovalov
88fd7e1d61 o Fix MTX_SYSINIT prototype.
PR:		kern/99956
Submitted by:	Arne Woerner
MFC after:	1 week
2006-07-09 09:46:43 +00:00
Pav Lucistnik
1f568fb20b - Document RANDOMIZE_MASTER_SITES, MASTER_SORT
- Remove OPTIONS, it's no user settable variable
2006-07-05 20:38:54 +00:00
Pav Lucistnik
c8ff7e9e42 - Document new missing target 2006-07-05 20:07:59 +00:00
Christian Brueffer
ac4312607d Document ServerWorks HT1000 support. 2006-07-05 08:26:50 +00:00
Ruslan Ermilov
5ca2b383e7 Grammar nit. 2006-07-01 17:59:13 +00:00
Ruslan Ermilov
3265e741f9 Gleb committed an intermediary version, commit the right one now.
Submitted by:	Vadim Goncharov
2006-06-30 11:35:35 +00:00
Xin LI
8709e75efb - Reflect recent sched_core(4) changes.
- Some typo fixes.
2006-06-30 07:45:38 +00:00
Takanori Watanabe
a42cdc22c0 Update man page.
Pointed out by: netchild
MFC after: 3 days
2006-06-29 08:28:18 +00:00
Christian Brueffer
fe0e43d648 - s/nve/nfe/ in the SYNOPSIS (1)
- bump date

PR:		99575
Submitted by:	thierry herbelot <thierry@herbelot.com> (1)
2006-06-28 10:19:16 +00:00
Christian Brueffer
904887e254 - Convert to our new SYNOPSIS style
- Correct tcpdump reference
2006-06-27 12:48:15 +00:00
Gleb Smirnoff
d473c9d543 A netgraph node that can do different manipulations with
mbuf_tags(9) on packets.

Submitted by:		Vadim Goncharov <vadimnuclight tpu.ru>
mdoc(7) reviewed by:	ru
2006-06-27 12:45:28 +00:00
David E. O'Brien
bfc788c283 Add a pure open source nForce Ethernet driver, under BSDL.
This driver was ported from OpenBSD by Shigeaki Tagashira
<shigeaki@se.hiroshima-u.ac.jp> and posted at
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
It was additionally cleaned up by me.
It is still a work-in-progress and thus is purposefully not in GENERIC.
And it conflicts with nve(4), so only one should be loaded.
2006-06-26 23:41:07 +00:00
Andrew Thompson
0956028163 Hook enc(4) to the build. 2006-06-26 22:31:26 +00:00
Andrew Thompson
bdea400f3b Add a pseudo interface for packet filtering IPSec connections before or after
encryption. There are two functions, a bpf tap which has a basic header with
the SPI number which our current tcpdump knows how to display, and handoff to
pfil(9) for packet filtering.

Obtained from:	OpenBSD
Based on:	kern/94829
No objections:	arch, net
MFC after:	1 month
2006-06-26 22:30:08 +00:00
Bill Paul
ed510fb04f Add support for the RealTek 8169SC/8110SC and RTL8101E devices. The
latter is a PCIe 10/100 chip.

Finally fix the EEPROM reading code so that we can access the EEPROMs on all
devices. In order to access the EEPROM, we must select 'EEPROM programming'
mode, and then set the EEPROM chip select bit. Previously, we were setting
both bits simultaneously, which doesn't work: they must be set in the
right sequence.

Always obtain the station address from the EEPROM, now that EEPROM
reading works correctly.

Make the TX interrupt moderation code based on the internal timer
optional and turned off by default.

Make the re_diag() routine conditional and off by default. When it is
on, only use it for the original 8169, which was the only device that
that really needed it.

Modify interrupt handling to use a fast interrupt handler and fast
taskqeueue.

Correct the rgephy driver so that it only applies the DSP fixup for
PHY revs 0 and 1. Later chips are fixed and don't need the fixup.

Make the rgephy driver advertise both 1000_FD and 1000_HD bits in
autoneg mode. A couple of the devices don't autoneg correctly unless
configured this way.
2006-06-26 20:31:32 +00:00
Christian Brueffer
1fca3e7045 - Convert to new SYNOPSIS layout
- New Sentence, new line
- Remove eol whitespace

MFC after:	3 days
2006-06-22 20:03:35 +00:00