]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
19 years agoAdd support for AHCI compliant ATA devices.
Søren Schmidt [Wed, 11 May 2005 16:10:08 +0000 (16:10 +0000)]
Add support for AHCI compliant ATA devices.
For now just support the Intel ICH6 as that the HW at hand.

Sponsored by: pair.com

19 years agoTake out Giant in uhub_child_* in giant. There's one place where we
Warner Losh [Wed, 11 May 2005 15:21:22 +0000 (15:21 +0000)]
Take out Giant in uhub_child_* in giant.  There's one place where we
could sleep which I think can lead to races.  However, there are fewer
with this code than without it.

Submitted by: Hans Petter Selasky

19 years agoAdd back one line that got deleted in the last commit.
Søren Schmidt [Wed, 11 May 2005 14:36:26 +0000 (14:36 +0000)]
Add back one line that got deleted in the last commit.
Change the comment there so it better describes whats going on.

This should fix the boot problems of late.

19 years agoConnect MLINKS for ttyname_r(3), and add prototype into unistd.h.
Xin LI [Wed, 11 May 2005 14:07:25 +0000 (14:07 +0000)]
Connect MLINKS for ttyname_r(3), and add prototype into unistd.h.

19 years agoAvoid (unnecessarily) casting away const within uuid_is_nil.
Xin LI [Wed, 11 May 2005 13:18:10 +0000 (13:18 +0000)]
Avoid (unnecessarily) casting away const within uuid_is_nil.

19 years ago'ngtee' also depends on net.inet.ip.fw.one_pass.
Gleb Smirnoff [Wed, 11 May 2005 12:58:15 +0000 (12:58 +0000)]
'ngtee' also depends on net.inet.ip.fw.one_pass.

19 years agoFix ATAPI DMA. We need to set the proper flags for DMA modes.
Søren Schmidt [Wed, 11 May 2005 12:41:35 +0000 (12:41 +0000)]
Fix ATAPI DMA. We need to set the proper flags for DMA modes.

19 years agoDescribe newly implemented bug.
Gleb Smirnoff [Wed, 11 May 2005 11:53:37 +0000 (11:53 +0000)]
Describe newly implemented bug.

19 years agoA new version of NetFlow node.
Gleb Smirnoff [Wed, 11 May 2005 11:26:24 +0000 (11:26 +0000)]
A new version of NetFlow node.

The most significant changes are:
- Use UMA zone instead of own chunk of memory.
- Lock each hash entry separately.
- Expire items "actively" - interrupt method can expire flows
  from hash slot, when it searches through it.
- Remove global tailqueue. Make callout thread search through
  every hash slot.
- Export datagram is detached from private data and filled. If
  it is incomplete, it is attached back. Another thread will
  continue working with it.

Lesser, but also important speedups:
- Flows in hash slot are stored in tailqueue. Whenever a flow is
  hit, it is moved to the begging, so it can be located quicker.
- When callout thread works with hash slot it bails out if
  slot mutex is contested.

19 years agoAdd MacOS 10.4.
Maxim Konovalov [Wed, 11 May 2005 11:11:29 +0000 (11:11 +0000)]
Add MacOS 10.4.

Submitted by: Jung-uk Kim

19 years agoRun /etc/rc.d/syscons restart when a usb keyboard is attached so that the
Brian Somers [Wed, 11 May 2005 10:24:20 +0000 (10:24 +0000)]
Run /etc/rc.d/syscons restart when a usb keyboard is attached so that the
keymap and other settings are correct.

19 years agoMove assertion below initializer.
Gleb Smirnoff [Wed, 11 May 2005 08:28:09 +0000 (08:28 +0000)]
Move assertion below initializer.

Submitted by: Noritoshi Demizu
Pointy hat to:  glebius

19 years agoDocument zlib update procedure and provide future maintainers a
Tim Kientzle [Wed, 11 May 2005 03:50:50 +0000 (03:50 +0000)]
Document zlib update procedure and provide future maintainers a
snapshot of the current state of the import.

MFC after: 2 weeks

19 years agoSince the FreeBSD local modifications are mostly trivial (consisting
Tim Kientzle [Wed, 11 May 2005 03:47:48 +0000 (03:47 +0000)]
Since the FreeBSD local modifications are mostly trivial (consisting
primarily of pointless $FreeBSD$ tags), sync most files in HEAD with
those in the ZLIB branch.  This minimizes the differences between
HEAD and ZLIB and should simplify future imports.

After this, there are only three files with local modifications
(gzio.c, minigzip.c, and zconf.h) and two non-vendor files
(Makefile, zopen.c).  The rest exactly match the vendor distribution.

PR: i386/76294
MFC after: 2 weeks

19 years agoFix some incorrectly swapped fields in an ICB.
Matt Jacob [Wed, 11 May 2005 03:00:50 +0000 (03:00 +0000)]
Fix some incorrectly swapped fields in an ICB.
Access a PCI register with correct width.

Obtained from: Dmitry Valeryevich Trikoz

19 years agoshutdown(2)'s how argument as 0 is nowhere near as cool as SHUT_RD
Juli Mallett [Wed, 11 May 2005 02:50:41 +0000 (02:50 +0000)]
shutdown(2)'s how argument as 0 is nowhere near as cool as SHUT_RD

19 years agoSpell 1 as SHUT_WR in argument to shutdown(2).
Juli Mallett [Wed, 11 May 2005 02:49:03 +0000 (02:49 +0000)]
Spell 1 as SHUT_WR in argument to shutdown(2).

19 years agoSpell out shutdown(2)'s how argument in #ifdef notdef'd code.
Juli Mallett [Wed, 11 May 2005 02:47:54 +0000 (02:47 +0000)]
Spell out shutdown(2)'s how argument in #ifdef notdef'd code.

19 years agoSpell SHUT_RD as SHUT_RD not 0 as the how argument to shutdown(2).
Juli Mallett [Wed, 11 May 2005 02:45:49 +0000 (02:45 +0000)]
Spell SHUT_RD as SHUT_RD not 0 as the how argument to shutdown(2).

19 years agoSpell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2).
Juli Mallett [Wed, 11 May 2005 02:43:04 +0000 (02:43 +0000)]
Spell SHUT_RDWR as SHUT_RDWR not 2 as the how argument to shutdown(2).

19 years agoSpell SHUT_RDWR as SHUT_RDWR not 1+1 as the how argument to shutdown(2).
Juli Mallett [Wed, 11 May 2005 02:41:39 +0000 (02:41 +0000)]
Spell SHUT_RDWR as SHUT_RDWR not 1+1 as the how argument to shutdown(2).

19 years agoRefactor isp_prt declaration so that platform
Matt Jacob [Wed, 11 May 2005 00:22:17 +0000 (00:22 +0000)]
Refactor isp_prt declaration so that platform
requirements can stay in platform files.

19 years agoAdd FreeBSD 5.4.
Maxim Konovalov [Tue, 10 May 2005 17:51:18 +0000 (17:51 +0000)]
Add FreeBSD 5.4.

19 years agoManual page for the "mn" Siemens Easy321-R1 E1/T1 device driver.
Christian Brueffer [Tue, 10 May 2005 16:48:03 +0000 (16:48 +0000)]
Manual page for the "mn" Siemens Easy321-R1 E1/T1 device driver.
This is based on the comments in if_mn.c.

MFC after: 3 days

19 years agoMark AVM USB Bluetooth-Adapter BlueFritz! as "broken". This device is not
Maksim Yevmenkin [Tue, 10 May 2005 16:25:58 +0000 (16:25 +0000)]
Mark AVM USB Bluetooth-Adapter BlueFritz! as "broken". This device is not
supported by ng_ubt(4) driver and needs its own driver.

PR: kern/76205
Submitted by: Tim Hemel < bsd AT timit DOT nl >
MFC after: 1 week

19 years agoMove the definitions of the OP_* constants from make.h into GNode.h
Hartmut Brandt [Tue, 10 May 2005 14:27:04 +0000 (14:27 +0000)]
Move the definitions of the OP_* constants from make.h into GNode.h
where they actually belong to. Move the definitions of the strings
for special macros like "$*" from make.h to parse.h - they're used
only in the parser.

Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.211)

19 years agoset R_MUSTRESEND flag in mark_for_reconnect so re-connected requests get
Jim Rees [Tue, 10 May 2005 14:25:14 +0000 (14:25 +0000)]
set R_MUSTRESEND flag in mark_for_reconnect so re-connected requests get
re-sent instead of timing out.

don't log an error message on reconnection, which is not an error.

remove unused nfs_mrep_before_tsleep.

Reviewed by: Mohan Srinivasan
Approved by: alfred

19 years agoPath_Expand() expects its first argument to be writeable so put the
Hartmut Brandt [Tue, 10 May 2005 14:23:31 +0000 (14:23 +0000)]
Path_Expand() expects its first argument to be writeable so put the
default system directory into a writeable character array before passing
it to Path_Expand().

Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.210)

19 years ago- Assert that mbuf length equals packet length.
Gleb Smirnoff [Tue, 10 May 2005 14:19:10 +0000 (14:19 +0000)]
- Assert that mbuf length equals packet length.
- Tell libalias, that we have MCLBYTES to play with.
- Obtain length of data in mbuf from updated IP header.

19 years agoMove declarations of variables belonging to the variable module
Hartmut Brandt [Tue, 10 May 2005 14:16:40 +0000 (14:16 +0000)]
Move declarations of variables belonging to the variable module
from globals.h into var.h.

Submitted by: Max Okumoto <okumoto@ucsd.edu> (7.209)

19 years agoStyle: remove spaces before tabs.
Hartmut Brandt [Tue, 10 May 2005 14:13:20 +0000 (14:13 +0000)]
Style: remove spaces before tabs.

Patch: 7.207
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMove the remaining two prototypes from nonints.h to make.h and
Hartmut Brandt [Tue, 10 May 2005 14:10:44 +0000 (14:10 +0000)]
Move the remaining two prototypes from nonints.h to make.h and
remove nonints.h.

Patch: 7.204
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMake shellPath and shellName static - they're used in job.c only.
Hartmut Brandt [Tue, 10 May 2005 14:06:19 +0000 (14:06 +0000)]
Make shellPath and shellName static - they're used in job.c only.
Move definition of parsing error levels from make.h into parse.h.

Patches: 7.202,7.203
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMake the three versions of fork() more uniform.
Hartmut Brandt [Tue, 10 May 2005 14:03:28 +0000 (14:03 +0000)]
Make the three versions of fork() more uniform.

Patch: 7.201 (idea taken, but done differently)
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMove the defines for TMPPAT and KQUEUE from the public job.h into job.c
Hartmut Brandt [Tue, 10 May 2005 13:48:15 +0000 (13:48 +0000)]
Move the defines for TMPPAT and KQUEUE from the public job.h into job.c
since they are used only there.

Patch: 7.200
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMerge compat.c into job.c. There is a lot in common between these
Hartmut Brandt [Tue, 10 May 2005 13:45:29 +0000 (13:45 +0000)]
Merge compat.c into job.c. There is a lot in common between these
files and we are going to factor this out.

Patch: 7.199 (slightly changed)
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoAdd option -l, to make output line buffered.
Gleb Smirnoff [Tue, 10 May 2005 13:40:50 +0000 (13:40 +0000)]
Add option -l, to make output line buffered.

PR: bin/78692
Submitted by: Eugene Grosbein
MFC after: 2 weeks

19 years agoMove Cmd_Exec() from main.c to job.c and fix its prototype. This
Hartmut Brandt [Tue, 10 May 2005 13:18:58 +0000 (13:18 +0000)]
Move Cmd_Exec() from main.c to job.c and fix its prototype. This
results in a warning that will go away soon.

Patch: 7.198
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoThis commit was generated by cvs2svn to compensate for changes in r146052,
Tim J. Robbins [Tue, 10 May 2005 13:01:37 +0000 (13:01 +0000)]
This commit was generated by cvs2svn to compensate for changes in r146052,
which included commits to RCS files with non-trunk default branches.

19 years ago- Move lptreg.h into pc98/cbus and rename to olptreg.h.
Yoshihiro Takahashi [Tue, 10 May 2005 12:30:30 +0000 (12:30 +0000)]
- Move lptreg.h into pc98/cbus and rename to olptreg.h.
- Remove ifdef pc98.

19 years agoUpdate instructions to match recent import.
Tim J. Robbins [Tue, 10 May 2005 12:04:01 +0000 (12:04 +0000)]
Update instructions to match recent import.

19 years agoChange a directory layout for pc98.
Yoshihiro Takahashi [Tue, 10 May 2005 12:02:18 +0000 (12:02 +0000)]
Change a directory layout for pc98.
  - Move MD files into <arch>/<arch>.
  - Move bus dependent files into <arch>/<bus>.
Rename some files to more suitable names.

Repo-copied by: peter
Discussed with: imp

19 years agoVar_SubstOnly() is only used to subsitute a variable from the global
Hartmut Brandt [Tue, 10 May 2005 12:02:15 +0000 (12:02 +0000)]
Var_SubstOnly() is only used to subsitute a variable from the global
context (and only in one place to substitute the .for variable). Therefor
there is no need to pass the context as a parameter.

Patch: 7.197
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMove the declaration of VAR_CMD and VAR_GLOBAL from globals.h to var.h
Hartmut Brandt [Tue, 10 May 2005 11:58:52 +0000 (11:58 +0000)]
Move the declaration of VAR_CMD and VAR_GLOBAL from globals.h to var.h

Patch: 7.196
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoClean up comments. No code changes.
Hartmut Brandt [Tue, 10 May 2005 11:55:46 +0000 (11:55 +0000)]
Clean up comments. No code changes.

Patch: 7.195
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMerge var_modify.c into var.c and move types and function declarations
Hartmut Brandt [Tue, 10 May 2005 11:53:20 +0000 (11:53 +0000)]
Merge var_modify.c into var.c and move types and function declarations
that are now used only in var.c from var.h to var.c

Patches: 7.193,7.194
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoUpdate build infrastructure for new GNU regex bits.
Tim J. Robbins [Tue, 10 May 2005 11:37:37 +0000 (11:37 +0000)]
Update build infrastructure for new GNU regex bits.

19 years agoMerge. Discard local bracket expression collating order patch, since
Tim J. Robbins [Tue, 10 May 2005 10:52:30 +0000 (10:52 +0000)]
Merge. Discard local bracket expression collating order patch, since
modern versions of GNU regex already do things the way we want when
multibyte character support is enabled.

19 years agoThis commit was generated by cvs2svn to compensate for changes in r146040,
Tim J. Robbins [Tue, 10 May 2005 10:39:53 +0000 (10:39 +0000)]
This commit was generated by cvs2svn to compensate for changes in r146040,
which included commits to RCS files with non-trunk default branches.

19 years agoImport of regex bits from fedora-glibc-2_3_4-21 tag in glibc CVS.
Tim J. Robbins [Tue, 10 May 2005 10:39:53 +0000 (10:39 +0000)]
Import of regex bits from fedora-glibc-2_3_4-21 tag in glibc CVS.

19 years agoMove some debugging code from targ.c to var.c where it actually belongs.
Hartmut Brandt [Tue, 10 May 2005 08:14:26 +0000 (08:14 +0000)]
Move some debugging code from targ.c to var.c where it actually belongs.

Patch: 7.192
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoMake make a little bit more POSIXish with regard to option parsing:
Hartmut Brandt [Tue, 10 May 2005 08:06:13 +0000 (08:06 +0000)]
Make make a little bit more POSIXish with regard to option parsing:
take everything after -- as either a macro assignment or a target.
Note that make still reorders arguments before --: anything starting
with a dash is considered an option, anything which contains an equal
sign is considered a macro assignment and everything else a target.
This still is not POSIX with regard to the options, but it will probably
not change because it has been make's behaviour for ages.
Add a new function Var_Match() that correctly skips a macro call by just
doing the same as Var_Subst() but without producing output. This will help
making the parser more robust.

Patches: 7.190,7.191
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoDon't define _MACHINE_BUS_MEMIO_H_ nor _MACHINE_BUS_PIO_H_.
Marcel Moolenaar [Tue, 10 May 2005 02:59:24 +0000 (02:59 +0000)]
Don't define _MACHINE_BUS_MEMIO_H_ nor _MACHINE_BUS_PIO_H_.

19 years agoRemove reference to seedrandom, since it is now gone, and was in there
Warner Losh [Mon, 9 May 2005 16:44:22 +0000 (16:44 +0000)]
Remove reference to seedrandom, since it is now gone, and was in there
just in case.

19 years agoSplit Var_Subst() into two functions: Var_SubstOnly() which substitutes
Hartmut Brandt [Mon, 9 May 2005 14:06:04 +0000 (14:06 +0000)]
Split Var_Subst() into two functions: Var_SubstOnly() which substitutes
only one variable and Var_Subst() which substitutes all. Split out the
test whether a variable should not be expanded into match_var().
Make access to the input string consistently using str[]. Remove two
unused functions: Var_GetTail() and Var_GetHead().

Patches: 7.184-7.189
Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoSync with Linux acpi4asus, adding support for loads of new models.
Philip Paeps [Mon, 9 May 2005 12:51:48 +0000 (12:51 +0000)]
Sync with Linux acpi4asus, adding support for loads of new models.

MFC after: 3 days

19 years agoPut the time traveling machine back where I found it before anyone sees. ;-)
Philip Paeps [Mon, 9 May 2005 09:01:13 +0000 (09:01 +0000)]
Put the time traveling machine back where I found it before anyone sees. ;-)

Pointy hat to:     philip

19 years agoAdd support for Asus V6V[1] and W1N notebooks.
Philip Paeps [Mon, 9 May 2005 08:43:49 +0000 (08:43 +0000)]
Add support for Asus V6V[1] and W1N notebooks.

Submitted by: Jean-Sébastien Pédron <jspedron@club-internet.fr> [1]
MFC after: 3 days

19 years agoSimplify the ACPI taskqueue implementation. Use a thread queue type instead
Mark Santcroos [Mon, 9 May 2005 07:34:04 +0000 (07:34 +0000)]
Simplify the ACPI taskqueue implementation. Use a thread queue type instead
of swi. This allows us to use the taskqueue_thread_* functions instead of
rolling our own. It also avoids a double trip through the queue.

Submitted by: njl
Reviewed by: sam

19 years agoFix separate module build.
Mark Santcroos [Mon, 9 May 2005 07:26:16 +0000 (07:26 +0000)]
Fix separate module build.

Submitted by: njl

19 years agoMove if_wl_i82586.h into sys/dev/wl.
Yoshihiro Takahashi [Mon, 9 May 2005 04:47:58 +0000 (04:47 +0000)]
Move if_wl_i82586.h into sys/dev/wl.

19 years agoEnable debug_mpsafevm on ia64 due to the severe functional regression
Marcel Moolenaar [Sun, 8 May 2005 23:56:16 +0000 (23:56 +0000)]
Enable debug_mpsafevm on ia64 due to the severe functional regression
caused by recent locking changes when it's off. Revert the logic to
trim down the conditional.

Clued-in by: alc@

19 years agoMore fixes for multibus drivers. When calling out to the match
Bill Paul [Sun, 8 May 2005 23:19:20 +0000 (23:19 +0000)]
More fixes for multibus drivers. When calling out to the match
function in if_ndis_pci.c and if_ndis_pccard.c, provide the bustype
too so the stubs can ignore devlists that don't concern them.

19 years agoFix support for Windows drivers that support both PCI and PCMCIA devices at
Bill Paul [Sun, 8 May 2005 23:07:51 +0000 (23:07 +0000)]
Fix support for Windows drivers that support both PCI and PCMCIA devices at
the same time.

Fix if_ndis_pccard.c so that it sets sc->ndis_dobj and sc->ndis_regvals.

Correct IMPORT_SFUNC() macros for the READ_PORT_BUFFER_xxx() routines,
which take 3 arguments, not 2.

This fixes it so that the Windows driver for my Cisco Aironet 340 PCMCIA
card works again. (Yes, I know the an(4) driver supports this card natively,
but it's the only PCMCIA device I have with a Windows XP driver.)

19 years agoOne more variant branding of 3C574 family: the plain old 3c574
Warner Losh [Sun, 8 May 2005 22:36:10 +0000 (22:36 +0000)]
One more variant branding of 3C574 family: the plain old 3c574

19 years agoIn uart_cnprobe(), fill in the cn_name field of the consdev structure.
Marcel Moolenaar [Sun, 8 May 2005 20:25:09 +0000 (20:25 +0000)]
In uart_cnprobe(), fill in the cn_name field of the consdev structure.
The core console code checks this field when a console is added and
emits a warning if it's empty. In practice the warning is harmless for
uart(4), because the cn_name is filled in as soon as the device name is
known; which is when the device is enumerated.
To avoid the warning, to avoid possible complications caused by emitting
the warning without there (possibly) being a console selected yet and to
avoid complications when the UART isn't found during bus enumeration, we
just preset the cn_name field here to the name of the driver.

19 years agoarchive_entry_set_link is supposed to update whichever link field
Tim Kientzle [Sun, 8 May 2005 19:10:41 +0000 (19:10 +0000)]
archive_entry_set_link is supposed to update whichever link field
(symlink or hardlink) is already set.  Instead, it was always setting
the hardlink field.  In particular, this caused GNU tar format long
symlinks to be interpreted as hardlinks.

Thanks to: Brooks Davis
MFC after: 7 days

19 years agoRemove ifdef PC98.
Yoshihiro Takahashi [Sun, 8 May 2005 14:17:28 +0000 (14:17 +0000)]
Remove ifdef PC98.

19 years agoMerged from libi386/biosdisk.c revisions 1.37 and 1.41.
Yoshihiro Takahashi [Sun, 8 May 2005 13:30:14 +0000 (13:30 +0000)]
Merged from libi386/biosdisk.c revisions 1.37 and 1.41.

19 years agoChange DOSPTYP_386BSD to 0xc494.
Yoshihiro Takahashi [Sun, 8 May 2005 11:30:26 +0000 (11:30 +0000)]
Change DOSPTYP_386BSD to 0xc494.

19 years agoUse DOSMID_386BSD rather than DOSPTYP_386BSD.
Yoshihiro Takahashi [Sun, 8 May 2005 11:15:38 +0000 (11:15 +0000)]
Use DOSMID_386BSD rather than DOSPTYP_386BSD.

19 years agoThe Nocona may be AMD64 compatible, but it is still an Intel part.
Dag-Erling Smørgrav [Sun, 8 May 2005 10:11:33 +0000 (10:11 +0000)]
The Nocona may be AMD64 compatible, but it is still an Intel part.

Pointy hat to: trhodes
MFC after: 1 week

19 years agoAvoid trying to queue up an interrupt handler DPC if the driver
Bill Paul [Sun, 8 May 2005 09:36:16 +0000 (09:36 +0000)]
Avoid trying to queue up an interrupt handler DPC if the driver
hasn't called NdisMRegisterInterrupt() yet.

19 years agoCorrect the patch table entries for the 64-bit intrinsic math
Bill Paul [Sun, 8 May 2005 09:16:33 +0000 (09:16 +0000)]
Correct the patch table entries for the 64-bit intrinsic math
routines (_alldiv(), _allmul(), _alludiv(), _aullmul(), etc...)
that use the _stdcall calling convention.

These routines all take two arguments, but the arguments are 64 bits wide.
On the i386 this means they each consume two 32-bit slots on the stack.
Consequently, when we specify the argument count in the IMPORT_SFUNC()
macro, we have to lie and claim there are 4 arguments instead of two.
This will cause the resulting i386 assembly wrapper to push the right
number of longwords onto the stack.

This fixes a crash I discovered with the RealTek 8180 driver, which
uses these routines a lot during initialization.

19 years agoFix typo in a comment.
Christian Brueffer [Sun, 8 May 2005 08:54:23 +0000 (08:54 +0000)]
Fix typo in a comment.

19 years agoClarify some error messages.
Tim Kientzle [Sun, 8 May 2005 06:25:15 +0000 (06:25 +0000)]
Clarify some error messages.

19 years agoCapitalize at the start of sentence.
Maxim Konovalov [Sun, 8 May 2005 02:20:10 +0000 (02:20 +0000)]
Capitalize at the start of sentence.

19 years agoMinor correction to the logic for selecting the proper device index.
Bill Paul [Sun, 8 May 2005 02:06:57 +0000 (02:06 +0000)]
Minor correction to the logic for selecting the proper device index.

19 years agoo N_SETMAGIC/N_GET{MAGIC,MID,FLAG} macros live in imgact_aout.h
Maxim Konovalov [Sun, 8 May 2005 01:48:04 +0000 (01:48 +0000)]
o N_SETMAGIC/N_GET{MAGIC,MID,FLAG} macros live in imgact_aout.h
not in a.out.h.  Update the comment accordingly.

PR: kern/80741
Submitted by: Wojciech A. Koszek
MFC after: 3 days

19 years agoFix tinderbox build on ppc.
Peter Grehan [Sun, 8 May 2005 00:29:15 +0000 (00:29 +0000)]
Fix tinderbox build on ppc.

Requested by:  mlaier

19 years agoNuke a corrupted duplicate.
Jens Schweikhardt [Sat, 7 May 2005 17:56:50 +0000 (17:56 +0000)]
Nuke a corrupted duplicate.
Some white space and punctuation fixes.

19 years agoLink to the new acpi_ibm(4) manpage.
Christian Brueffer [Sat, 7 May 2005 13:46:20 +0000 (13:46 +0000)]
Link to the new acpi_ibm(4) manpage.

19 years agoManual page for the acpi_ibm(4) hotkey driver.
Christian Brueffer [Sat, 7 May 2005 13:42:15 +0000 (13:42 +0000)]
Manual page for the acpi_ibm(4) hotkey driver.

19 years agoJoin two lines.
Christian Brueffer [Sat, 7 May 2005 11:02:34 +0000 (11:02 +0000)]
Join two lines.

19 years agoFix two issues which were missed in FreeBSD-SA-05:08.kmem.
Colin Percival [Sat, 7 May 2005 00:41:36 +0000 (00:41 +0000)]
Fix two issues which were missed in FreeBSD-SA-05:08.kmem.

Reported by: Uwe Doering

19 years agoRevised release note: Corrected advisory name of SA-05:07.ldt.
Bruce A. Mah [Fri, 6 May 2005 23:16:55 +0000 (23:16 +0000)]
Revised release note:  Corrected advisory name of SA-05:07.ldt.

19 years agoStaticize some symbols that are each only used in one corresponding .c file.
Eric Anholt [Fri, 6 May 2005 20:53:34 +0000 (20:53 +0000)]
Staticize some symbols that are each only used in one corresponding .c file.

PR: kern/43610
Submitted by: Matt Emmerton, matt at gsicomp dot on dot ca

19 years agoStaticize a symbol used only in this file.
Eric Anholt [Fri, 6 May 2005 20:47:09 +0000 (20:47 +0000)]
Staticize a symbol used only in this file.

PR: kern/43613
Submitted by: Matt Emmerton, matt at gsicomp dot on dot ca

19 years agoThe current NTP servers for .nl do not work with ntpdate, so switch to
John Baldwin [Fri, 6 May 2005 19:14:36 +0000 (19:14 +0000)]
The current NTP servers for .nl do not work with ntpdate, so switch to
using the servers provided by nl.net instead.

PR: bin/80659
Submitted by: Jilles Tjoelker jilles at stack dot nl
MFC after: 3 days

19 years agoIntroduce a new pseudo-target .EXPORTVAR which allows to put a
Hartmut Brandt [Fri, 6 May 2005 18:30:06 +0000 (18:30 +0000)]
Introduce a new pseudo-target .EXPORTVAR which allows to put a
make macro into the environment of programs executed by make. This
has approximately the same function as gmake's export directive.
The form of a pseudo target was deliberately choosen to minimize work
for POSIX compatibility (Makefiles are not allowed to use any targets
starting with a dot and consisting only of uppercase letters except those
specified in the standard when they want POSIX compatible behaviour, so
such a Makefile can never contain .EXPORTVAR.)
Change the handling of macros coming from the environment: instead
of asking the environment for each variable we could not find otherwise
put all the environment variables in a special variable environment just
at start up.

This has been tested on the ports cluster by kris.

Submitted by: Max Okumoto <okumoto@ucsd.edu>

19 years agoThe kernel doesn't need to include a tun device - the module will be loaded
Brian Somers [Fri, 6 May 2005 16:13:32 +0000 (16:13 +0000)]
The kernel doesn't need to include a tun device - the module will be loaded
on demand if required.

19 years agoPrevent these functions from using stack outside of their frame.
Daniel Eischen [Fri, 6 May 2005 15:44:20 +0000 (15:44 +0000)]
Prevent these functions from using stack outside of their frame.

Reported by: Marc Olzheim <marcolz at stack dot nl>
OK'd by: das

19 years agoManual page for ng_nat node.
Gleb Smirnoff [Fri, 6 May 2005 15:33:12 +0000 (15:33 +0000)]
Manual page for ng_nat node.

19 years agoPrevent usage of nested externs.
Xin LI [Fri, 6 May 2005 15:28:54 +0000 (15:28 +0000)]
Prevent usage of nested externs.

19 years agoBump __FreeBSD_version for libalias and ng_nat.
Gleb Smirnoff [Fri, 6 May 2005 15:04:18 +0000 (15:04 +0000)]
Bump __FreeBSD_version for libalias and ng_nat.

19 years agoAttach ng_nat and libalias to build.
Gleb Smirnoff [Fri, 6 May 2005 14:47:54 +0000 (14:47 +0000)]
Attach ng_nat and libalias to build.

19 years agoDocument 'pentium-m' CPUTYPE.
Pawel Jakub Dawidek [Fri, 6 May 2005 13:14:48 +0000 (13:14 +0000)]
Document 'pentium-m' CPUTYPE.

19 years agoAdd a workaround for 64-bit archs: store unsigned long return value in
Gleb Smirnoff [Fri, 6 May 2005 13:01:31 +0000 (13:01 +0000)]
Add a workaround for 64-bit archs: store unsigned long return value in
temporary variable, check it and then cast to in_addr_t.

19 years agoDocument FreeBSD-SA-05:06.iir, FreeBSD-SA-05:07.ldt, and
Simon L. B. Nielsen [Fri, 6 May 2005 11:46:31 +0000 (11:46 +0000)]
Document FreeBSD-SA-05:06.iir, FreeBSD-SA-05:07.ldt, and
FreeBSD-SA-05:08.kmem.

19 years agos/DEBUG/LIBALIAS_DEBUG/, since DEBUG is defined in LINT and
Gleb Smirnoff [Fri, 6 May 2005 11:07:49 +0000 (11:07 +0000)]
s/DEBUG/LIBALIAS_DEBUG/, since DEBUG is defined in LINT and
not supported for kernel build.