dragonfly.git
15 years agoUpdate GCC 3.4 to current 3.4.5 pre-release.
Joerg Sonnenberger [Wed, 10 Aug 2005 15:50:47 +0000 (15:50 +0000)]
Update GCC 3.4 to current 3.4.5 pre-release.

15 years agoMerge from vendor branch GCC:
Joerg Sonnenberger [Wed, 10 Aug 2005 15:50:47 +0000 (15:50 +0000)]
Merge from vendor branch GCC:
Update GCC 3.4 to current 3.4.5 pre-release.

15 years agoUpdate GCC 3.4 to current 3.4.5 pre-release.
Joerg Sonnenberger [Wed, 10 Aug 2005 15:50:47 +0000 (15:50 +0000)]
Update GCC 3.4 to current 3.4.5 pre-release.

15 years agoBreak long commits. Don't ask for transfers when there's nothing to
Joerg Sonnenberger [Wed, 10 Aug 2005 15:18:52 +0000 (15:18 +0000)]
Break long commits. Don't ask for transfers when there's nothing to
transfer.

Obtained-from: FreeBSD
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agoSet baudrate to 100Mbps and advertise VLAN.
Joerg Sonnenberger [Wed, 10 Aug 2005 15:08:50 +0000 (15:08 +0000)]
Set baudrate to 100Mbps and advertise VLAN.

Obtained-from: FreeBSD
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agoAdd vop_write_dirent helper functions, which isolates the caller from
Joerg Sonnenberger [Wed, 10 Aug 2005 14:28:34 +0000 (14:28 +0000)]
Add vop_write_dirent helper functions, which isolates the caller from
the layout and setup of struct dirent.

15 years agoSync with recent libc and libm changes.
Joerg Sonnenberger [Wed, 10 Aug 2005 14:09:16 +0000 (14:09 +0000)]
Sync with recent libc and libm changes.

15 years agoAdd wcsftime(3).
Joerg Sonnenberger [Wed, 10 Aug 2005 13:42:28 +0000 (13:42 +0000)]
Add wcsftime(3).

Obtained-from: FreeBSD

15 years agoIf possible, use builtin constants for newer GCC versions, but fallback
Joerg Sonnenberger [Wed, 10 Aug 2005 13:40:54 +0000 (13:40 +0000)]
If possible, use builtin constants for newer GCC versions, but fallback
to libc variables otherwise. Add support for C99 comparision macros,
using the builtins when available.

Obtained-from: FreeBSD

15 years agoSet both, CRC32 generation and LED modes. Clear powerdown control bit.
Joerg Sonnenberger [Wed, 10 Aug 2005 13:38:35 +0000 (13:38 +0000)]
Set both, CRC32 generation and LED modes. Clear powerdown control bit.
Cast an index to uint32_t before shifting it.

Obtained-from: FreeBSD
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years agoRevive multicast support, it got lost in the initial import.
Joerg Sonnenberger [Wed, 10 Aug 2005 13:36:14 +0000 (13:36 +0000)]
Revive multicast support, it got lost in the initial import.

Obtained-from: FreeBSD
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years ago- Propagate error code from various bus_dma functions in bfe_dma_alloc.
Joerg Sonnenberger [Wed, 10 Aug 2005 13:31:03 +0000 (13:31 +0000)]
- Propagate error code from various bus_dma functions in bfe_dma_alloc.
- Correctly destroy dmamaps for partially initialised descriptor rings
in bfe_dma_alloc, if one of the dmamap creations failed.
- Centralise error handling of bfe_attach in bfe_detach.
- Move call to bfe_chip_reset in bfe_detach into the device_is_attached
section.
- Move bus_teardown_intr() and bus_release_resource() from
bfe_release_resources to bfe_detach; rename the former to bfe_dma_free
to reflect remaining code.
- Call bus_dmamem_free only if the pointer is not NULL, set it to NULL
after it has been destroyed.
- Do not destroy dmamaps in bfe_stop, do it in bfe_detach.
- Correct DMA sync directions in bfe_list_newbuf.

Based-on: FreeBSD
Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
15 years ago- State default
Liam J. Foy [Wed, 10 Aug 2005 11:29:49 +0000 (11:29 +0000)]
- State default

15 years agoRe-word some sysctl descriptions, make them compact.
Hiten Pandya [Wed, 10 Aug 2005 01:11:19 +0000 (01:11 +0000)]
Re-word some sysctl descriptions, make them compact.

15 years agoFix a bug introduced by 1.6. The 'cp' pointer was being incremented twice
Matthew Dillon [Wed, 10 Aug 2005 00:43:37 +0000 (00:43 +0000)]
Fix a bug introduced by 1.6.  The 'cp' pointer was being incremented twice
in getanswer() for each NS_GET*() call because the new macro used already does
an increment.  This prevented sendmail (and any program using the res_query
mechanism) from operating properly.

15 years agoUse Var_SetGlobal() instead of Var_Set(XX,YY, VAR_GLOBAL)
Max Okumoto [Tue, 9 Aug 2005 23:34:07 +0000 (23:34 +0000)]
Use Var_SetGlobal() instead of Var_Set(XX,YY, VAR_GLOBAL)

15 years agoFix a bug in the last commit. When using the UFS dirent directly,
Matthew Dillon [Tue, 9 Aug 2005 23:10:11 +0000 (23:10 +0000)]
Fix a bug in the last commit.  When using the UFS dirent directly,
the inode field is d_ino, not d_filenum.

15 years agoRemove Hitler quotes. This for sure is something I don't want to see.
Simon Schubert [Tue, 9 Aug 2005 22:55:04 +0000 (22:55 +0000)]
Remove Hitler quotes.  This for sure is something I don't want to see.

Having entertaining quotes of somebody who was responsible for genocide
does not honour the gravity of the incidents.

15 years agoPass the direction to kern_getdirentries, it will be used by the
Joerg Sonnenberger [Tue, 9 Aug 2005 20:14:16 +0000 (20:14 +0000)]
Pass the direction to kern_getdirentries, it will be used by the
emulation layer soon without transfering the data to userland first.

15 years agoJust expect either the kernel or libc to drop empty dirents.
Joerg Sonnenberger [Tue, 9 Aug 2005 20:05:55 +0000 (20:05 +0000)]
Just expect either the kernel or libc to drop empty dirents.

15 years agoWhen allocating memory for the index file, query the filesystem for the
Joerg Sonnenberger [Tue, 9 Aug 2005 19:26:59 +0000 (19:26 +0000)]
When allocating memory for the index file, query the filesystem for the
maximum entry name first and use that.

15 years agofsfind should use direct here, not dirent.
Joerg Sonnenberger [Tue, 9 Aug 2005 19:19:08 +0000 (19:19 +0000)]
fsfind should use direct here, not dirent.

15 years agoUse vn_get_namelen to provide correct f_namemax field.
Joerg Sonnenberger [Tue, 9 Aug 2005 18:48:43 +0000 (18:48 +0000)]
Use vn_get_namelen to provide correct f_namemax field.

15 years agoDon't hide errors from kern_statfs by overwriting error, check if it was
Joerg Sonnenberger [Tue, 9 Aug 2005 18:45:09 +0000 (18:45 +0000)]
Don't hide errors from kern_statfs by overwriting error, check if it was
successful first.

15 years agoKill stackgap in (f)statvfs(64).
Joerg Sonnenberger [Tue, 9 Aug 2005 18:26:27 +0000 (18:26 +0000)]
Kill stackgap in (f)statvfs(64).

15 years agoUse vn_get_namelen to reduce bogusnes.
Joerg Sonnenberger [Tue, 9 Aug 2005 18:14:26 +0000 (18:14 +0000)]
Use vn_get_namelen to reduce bogusnes.

15 years agoActually install lesspipe.sh
Simon Schubert [Tue, 9 Aug 2005 18:08:42 +0000 (18:08 +0000)]
Actually install lesspipe.sh

15 years agoAdd vn_get_namelen to simplify correct emulation of statfs with maximum
Joerg Sonnenberger [Tue, 9 Aug 2005 16:53:34 +0000 (16:53 +0000)]
Add vn_get_namelen to simplify correct emulation of statfs with maximum
name length field.

Discussed-with: hmp

15 years agoPort a major reworking of the way IPS driver commands are managed from
Matthew Dillon [Tue, 9 Aug 2005 16:23:13 +0000 (16:23 +0000)]
Port a major reworking of the way IPS driver commands are managed from
FreeBSD.

Submitted-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
Testing-by: =?ISO-8859-2?Q?Toma=BE_Bor=B9tnar?= <tomaz.borstnar@amis.net>
15 years agoWhitespace cleanup.
Hiten Pandya [Tue, 9 Aug 2005 05:11:42 +0000 (05:11 +0000)]
Whitespace cleanup.

15 years agoMake a few PRINTF lines readable, break them up if necessary.
Hiten Pandya [Tue, 9 Aug 2005 02:49:49 +0000 (02:49 +0000)]
Make a few PRINTF lines readable, break them up if necessary.

15 years agoChange return type of CompatMake() to void since no one uses it and it
Max Okumoto [Mon, 8 Aug 2005 20:52:45 +0000 (20:52 +0000)]
Change return type of CompatMake() to void since no one uses it and it
always returns zero anyway.

15 years agoUse NAME_MAX instead of MAXNAMLEN. Cast ino_t to uint64_t + proper
Joerg Sonnenberger [Mon, 8 Aug 2005 18:58:56 +0000 (18:58 +0000)]
Use NAME_MAX instead of MAXNAMLEN. Cast ino_t to uint64_t + proper
format specifier in a snprintf.

15 years agoUse NAME_MAX instead of MAXNAMELEN, replace a strncpy with strlcpy.
Joerg Sonnenberger [Mon, 8 Aug 2005 18:36:28 +0000 (18:36 +0000)]
Use NAME_MAX instead of MAXNAMELEN, replace a strncpy with strlcpy.

15 years agoMake it actually compile without warnings.
Joerg Sonnenberger [Mon, 8 Aug 2005 18:14:31 +0000 (18:14 +0000)]
Make it actually compile without warnings.

15 years agoCleanup Job_CheckCommands()
Max Okumoto [Mon, 8 Aug 2005 17:33:17 +0000 (17:33 +0000)]
Cleanup Job_CheckCommands()

15 years agoRemove stale comment about vm_mem_init's arguments.
Hiten Pandya [Mon, 8 Aug 2005 17:14:33 +0000 (17:14 +0000)]
Remove stale comment about vm_mem_init's arguments.

15 years agoMatch "." and ".." with strcmp.
Joerg Sonnenberger [Mon, 8 Aug 2005 17:06:18 +0000 (17:06 +0000)]
Match "." and ".." with strcmp.

15 years agoMove the bswlist symbol into vm/vm_pager.c because PBUFs are the only
Hiten Pandya [Mon, 8 Aug 2005 16:53:12 +0000 (16:53 +0000)]
Move the bswlist symbol into vm/vm_pager.c because PBUFs are the only
consumer of the latter.

The PBUF abstraction is just a clever hack, this code will be redone
at some point so this measure is temporary.

15 years agoUse NAME_MAX instead of MAXNAMLEN and strlcpy, since dp->d_name is
Joerg Sonnenberger [Mon, 8 Aug 2005 16:49:48 +0000 (16:49 +0000)]
Use NAME_MAX instead of MAXNAMLEN and strlcpy, since dp->d_name is
NUL-terminated.

15 years agoBoth file and dp->d_name are NUL-terminated, so it pointless to first
Joerg Sonnenberger [Mon, 8 Aug 2005 16:43:33 +0000 (16:43 +0000)]
Both file and dp->d_name are NUL-terminated, so it pointless to first
run strlen, compare the size and do a strncmp afterwards -- just strcmp.

15 years agoMAXNAMELEN ==> PATH_MAX
Joerg Sonnenberger [Mon, 8 Aug 2005 16:39:17 +0000 (16:39 +0000)]
MAXNAMELEN ==> PATH_MAX

15 years agoDon't match entries by hand, just use strcmp. It is efficient enough for
Joerg Sonnenberger [Mon, 8 Aug 2005 16:17:04 +0000 (16:17 +0000)]
Don't match entries by hand, just use strcmp. It is efficient enough for
"." and "..".

15 years agoDon't check for zero-length direntries, expect the system to handle
Joerg Sonnenberger [Mon, 8 Aug 2005 15:25:42 +0000 (15:25 +0000)]
Don't check for zero-length direntries, expect the system to handle
that. Just strdup the dirent_name.

15 years agoInstead of MAXNAMELEN, use NAME_MAX for now. This should be revisited
Joerg Sonnenberger [Mon, 8 Aug 2005 13:38:49 +0000 (13:38 +0000)]
Instead of MAXNAMELEN, use NAME_MAX for now. This should be revisited
latter to allocate the entry dynamically. Add CVS id.

15 years agoInstead of trying to compute the local storage based on maximum entry
Joerg Sonnenberger [Mon, 8 Aug 2005 13:00:12 +0000 (13:00 +0000)]
Instead of trying to compute the local storage based on maximum entry
size, use PATH_MAX. The former might get variable, the latter is more
likely to stay constant for a while.

15 years agoAdd minimal utility that is able to make sense of the per-cpu load
Hiten Pandya [Mon, 8 Aug 2005 03:31:00 +0000 (03:31 +0000)]
Add minimal utility that is able to make sense of the per-cpu load
accounting struct kinfo_cputime, or previously known as 'cputime'.

It should reside under src/test because it is not complete and only
implements the base logic for those people interested who want to
incorporate this code into top(1) or some other accounting program
of their own.

--
Polish the 'Makefile' while I am around this end of the source tree.

15 years ago_PC_NAME_MAX is NAME_MAX, so use that for the storage allocation as
Joerg Sonnenberger [Mon, 8 Aug 2005 02:01:31 +0000 (02:01 +0000)]
_PC_NAME_MAX is NAME_MAX, so use that for the storage allocation as
well.

15 years agoisab_attach() is called from acpi_isab_attach(), so it's supposed to
YONETANI Tomokazu [Mon, 8 Aug 2005 01:47:21 +0000 (01:47 +0000)]
isab_attach() is called from acpi_isab_attach(), so it's supposed to
be a non-static function.

15 years agoBUF/BIO cleanup 7/99:
Hiten Pandya [Mon, 8 Aug 2005 01:25:31 +0000 (01:25 +0000)]
BUF/BIO cleanup 7/99:

First attempt at separating low-level information from BUF structure into
the new BIO structure.  The latter will be used to represent the actual
I/O underlying the buffer cache, other subsystems and device drivers.

Other information from the BUF structure will be moved eventually once
their place in the grand scheme is determined.  For now, preprocess macros
have been added to reduce widespread changes; this is a temporary measure
by all means until more of the BIO and BUF API is formalised.

Remove compatibility preprocessor macros in the AAC driver because our
BUF/BIO system is mutating; not to mention they were getting in the way.

NB the name BIO has been used because it's quite appropriate and known
among kernel developers from other operating system groups, be it BSD or
Linux.

This change should not have any operational affect (famous last words).

Reviewed by: Matthew Dillon <dillon@dragonflybsd.org>

15 years agoReimport devlist2h.awk from FreeBSD, this version actually works. It
Joerg Sonnenberger [Sun, 7 Aug 2005 22:43:17 +0000 (22:43 +0000)]
Reimport devlist2h.awk from FreeBSD, this version actually works. It
also allows proper dependency handling in Makefile.usbdevs by separating
the output via options. Regen with the new script.

15 years agoMove up CVS IDs, first must be DragonFly.
Joerg Sonnenberger [Sun, 7 Aug 2005 22:37:54 +0000 (22:37 +0000)]
Move up CVS IDs, first must be DragonFly.

15 years agoA better description for 'debug.sizeof' sysctl.
Hiten Pandya [Sun, 7 Aug 2005 22:11:53 +0000 (22:11 +0000)]
A better description for 'debug.sizeof' sysctl.

15 years agoAdd ethernet port of JVC MP-PRX1.
Joerg Sonnenberger [Sun, 7 Aug 2005 21:49:15 +0000 (21:49 +0000)]
Add ethernet port of JVC MP-PRX1.

Submitted-by: Sepherosa Ziehau <sepherosa@gmail.com>
Obtained-from: FreeBSD

15 years agoRemove redundant assignment.
Joerg Sonnenberger [Sun, 7 Aug 2005 19:16:15 +0000 (19:16 +0000)]
Remove redundant assignment.

15 years agoDon't depend on struct dirent == struct direct, but fully separate the
Joerg Sonnenberger [Sun, 7 Aug 2005 17:08:38 +0000 (17:08 +0000)]
Don't depend on struct dirent == struct direct, but fully separate the
processing. The code is derived from ext2's readdir.

15 years agoANSIfy.
Joerg Sonnenberger [Sun, 7 Aug 2005 15:43:02 +0000 (15:43 +0000)]
ANSIfy.

15 years agoIt's actually 11 minutes when the machine is assumed to be down and removed
Liam J. Foy [Sun, 7 Aug 2005 10:36:41 +0000 (10:36 +0000)]
It's actually 11 minutes when the machine is assumed to be down and removed
from the output.

15 years agoRemove trailing /.
Jeroen Ruigrok/asmodai [Sun, 7 Aug 2005 08:40:42 +0000 (08:40 +0000)]
Remove trailing /.

15 years agoCleanup some lint warnings.
Max Okumoto [Sun, 7 Aug 2005 08:16:52 +0000 (08:16 +0000)]
Cleanup some lint warnings.
o Removed coma after last enum.
o Removed unused include of hash.h
o Removed unused forward declaration of struct List.

15 years agoBUF/BIO cleanup 6/99:
Hiten Pandya [Sun, 7 Aug 2005 03:28:50 +0000 (03:28 +0000)]
BUF/BIO cleanup 6/99:

Move 'bogus_offset' variable into bufinit(), it is not used anywhere out
of the said function.

15 years agoAdd 'debug.sizeof.buf' sysctl for determining size of struct buf on a
Hiten Pandya [Sun, 7 Aug 2005 03:17:37 +0000 (03:17 +0000)]
Add 'debug.sizeof.buf' sysctl for determining size of struct buf on a
system.

Declare the _debug_sizeof sysctl in sys/sysctl.h instead of redundantly
declaring in two files.

15 years agoAdd rman_set_device.
Joerg Sonnenberger [Sun, 7 Aug 2005 00:31:31 +0000 (00:31 +0000)]
Add rman_set_device.

Inspired-by: FreeBSD
15 years agoFix bug where commands deferred using "..." where being executed
Max Okumoto [Sat, 6 Aug 2005 21:47:59 +0000 (21:47 +0000)]
Fix bug where commands deferred using "..." where being executed
after .END: commands.

15 years agoClarify examples by differentiating between literals and arguments.
Chris Pressey [Sat, 6 Aug 2005 20:18:55 +0000 (20:18 +0000)]
Clarify examples by differentiating between literals and arguments.

15 years agorev 1.21 has left namei.9 by itself, resulting in wrong pairs
YONETANI Tomokazu [Sat, 6 Aug 2005 19:20:38 +0000 (19:20 +0000)]
rev 1.21 has left namei.9 by itself, resulting in wrong pairs
of hardlink targets.
while I'm here, remove one of duplicate MLINKS entries for rman_fini.9 .

15 years agoAdd SYSCTL_NODE_CHILDREN.
Joerg Sonnenberger [Sat, 6 Aug 2005 17:57:59 +0000 (17:57 +0000)]
Add SYSCTL_NODE_CHILDREN.

Obtained-from: FreeBSD

15 years agoFix forgotten comma from last commit.
Sascha Wildner [Sat, 6 Aug 2005 13:34:14 +0000 (13:34 +0000)]
Fix forgotten comma from last commit.

15 years agoRemove the old namei(9) man page and make namei(9) a link to nlookup(9).
Sascha Wildner [Sat, 6 Aug 2005 13:20:56 +0000 (13:20 +0000)]
Remove the old namei(9) man page and make namei(9) a link to nlookup(9).

15 years agoClean up copyright notice and remove reference to comments.
Sascha Wildner [Sat, 6 Aug 2005 13:14:21 +0000 (13:14 +0000)]
Clean up copyright notice and remove reference to comments.

15 years agoAdd nlookup(9) man page.
Sascha Wildner [Sat, 6 Aug 2005 12:42:42 +0000 (12:42 +0000)]
Add nlookup(9) man page.

15 years agoUpdate copyright notice. Use standard DF copyright.
Hiten Pandya [Sat, 6 Aug 2005 12:09:30 +0000 (12:09 +0000)]
Update copyright notice.  Use standard DF copyright.

15 years agoRemove NDINIT(9) link again. The old API was removed on 2004/11/12.
Sascha Wildner [Sat, 6 Aug 2005 11:36:13 +0000 (11:36 +0000)]
Remove NDINIT(9) link again. The old API was removed on 2004/11/12.

15 years agoGlobal .Nm vs. MLINKS cleanup:
Sascha Wildner [Fri, 5 Aug 2005 23:43:19 +0000 (23:43 +0000)]
Global .Nm vs. MLINKS cleanup:

* Add missing MLINKS.

* Fix MLINKS for rtld(1).

* Remove suser_xxx(9) man page.

* Remove archive_entry_uname_w(3) and archive_entry_gname_w(3) links
  (these functions don't exist).

* Fix typo in lib/libc/db/man/Makefile.inc and remove mis-spelled
  dbm_dirnfo(3) link.

15 years agoFix typo from the last commit.
Sascha Wildner [Fri, 5 Aug 2005 23:22:23 +0000 (23:22 +0000)]
Fix typo from the last commit.

15 years agoGet rid of the Byte typedef and just use char. This gets rid of alot
Max Okumoto [Fri, 5 Aug 2005 22:42:12 +0000 (22:42 +0000)]
Get rid of the Byte typedef and just use char.  This gets rid of alot
of casts.

CVS ----------------------------------------------------------------------

15 years agoOnly one name per .Nm macro for better readability.
Sascha Wildner [Fri, 5 Aug 2005 22:35:11 +0000 (22:35 +0000)]
Only one name per .Nm macro for better readability.

15 years agoFix typos: CIRCLE_* -> CIRCLEQ_*
Sascha Wildner [Fri, 5 Aug 2005 21:49:22 +0000 (21:49 +0000)]
Fix typos: CIRCLE_* -> CIRCLEQ_*

15 years agoFix typo.
Sascha Wildner [Fri, 5 Aug 2005 21:45:46 +0000 (21:45 +0000)]
Fix typo.

15 years agoLink to the real file.
Sascha Wildner [Fri, 5 Aug 2005 18:01:16 +0000 (18:01 +0000)]
Link to the real file.

15 years agoMention the shell builtin.
Sascha Wildner [Fri, 5 Aug 2005 17:50:50 +0000 (17:50 +0000)]
Mention the shell builtin.

15 years agoFix man page and variable references.
Sascha Wildner [Fri, 5 Aug 2005 16:08:28 +0000 (16:08 +0000)]
Fix man page and variable references.

15 years agoFix man page reference: tcpdump(8) -> tcpdump(1).
Sascha Wildner [Fri, 5 Aug 2005 15:35:53 +0000 (15:35 +0000)]
Fix man page reference: tcpdump(8) -> tcpdump(1).

15 years agoRemove man page for PicoBSD which was removed on 2004/11/15.
Sascha Wildner [Fri, 5 Aug 2005 15:19:35 +0000 (15:19 +0000)]
Remove man page for PicoBSD which was removed on 2004/11/15.

15 years agoFix man page cross references.
Sascha Wildner [Fri, 5 Aug 2005 14:56:59 +0000 (14:56 +0000)]
Fix man page cross references.

15 years agoRemove drivers.conf(5) man page. The file was removed on 2004/11/15.
Sascha Wildner [Fri, 5 Aug 2005 10:13:43 +0000 (10:13 +0000)]
Remove drivers.conf(5) man page. The file was removed on 2004/11/15.

15 years agoFix cross reference: makewhatis(1) -> makewhatis(8).
Sascha Wildner [Fri, 5 Aug 2005 09:47:55 +0000 (09:47 +0000)]
Fix cross reference: makewhatis(1) -> makewhatis(8).

15 years agoBUF/BIO cleanup 5/99:
Hiten Pandya [Fri, 5 Aug 2005 04:54:42 +0000 (04:54 +0000)]
BUF/BIO cleanup 5/99:

Cleanup and document the buffer cache sysctls.  The 'getnewbufrestarts',
'getnewbufcalls', 'bufdefragcnt', 'buffreekvacnt' and 'bufreusecnt' are
now changed to be read-only sysctls.  Group them depending on whether
they are writable or not.

Correct, extend and write documentation for various functions in this
file.

Correct typos in various code comments and adjust nearby style issue.

15 years agoDocument non-obvious behaviour of missing 'a' line in fdisk script.
Chris Pressey [Thu, 4 Aug 2005 22:15:07 +0000 (22:15 +0000)]
Document non-obvious behaviour of missing 'a' line in fdisk script.

Thanks-to: pfSense testers

15 years agoBUF/BIO cleanup 4/99:
Hiten Pandya [Thu, 4 Aug 2005 21:08:35 +0000 (21:08 +0000)]
BUF/BIO cleanup 4/99:

Garbage-collect physio_proc_{enter,leave,init} because these functions
only existed for PC-98 compatibility reasons.  This commit is a NOP
and shouldn't make any operational difference.

The purpose of those functions was totally redundant, it just kept a
copy of buf->b_proc and other fields in a separately maintained TAILQ
list called physio_proc_head and physio_proc_feet corresponding to
physio_proc_enter/leave respectively.

The stub definitions and the machine/physio_proc.h header file will
disappear after the drivers using these functions are cleaned up.

15 years agoRemove crossrefs to non-existant usb(3) man page.
Sascha Wildner [Thu, 4 Aug 2005 21:06:32 +0000 (21:06 +0000)]
Remove crossrefs to non-existant usb(3) man page.

15 years agoFix man page cross reference.
Sascha Wildner [Thu, 4 Aug 2005 20:45:57 +0000 (20:45 +0000)]
Fix man page cross reference.

15 years ago- If at least one call to onehost() fails, return 1
Liam J. Foy [Thu, 4 Aug 2005 18:21:25 +0000 (18:21 +0000)]
- If at least one call to onehost() fails, return 1

Ok: joerg

15 years agoRemove some register keywords and add in some missing $DragonFly$ tags.
David Rhodus [Thu, 4 Aug 2005 17:31:23 +0000 (17:31 +0000)]
Remove some register keywords and add in some missing $DragonFly$ tags.

15 years agoANSI-fy some functions, remove some duplicate CVS tags and add in some
David Rhodus [Thu, 4 Aug 2005 17:27:09 +0000 (17:27 +0000)]
ANSI-fy some functions, remove some duplicate CVS tags and add in some
missging $DragonFly$ tags.

15 years agoInitialize buf->b_iodone to NULL during bufinit(9) stage.
Hiten Pandya [Thu, 4 Aug 2005 16:44:37 +0000 (16:44 +0000)]
Initialize buf->b_iodone to NULL during bufinit(9) stage.

Use NULL instead of 0 for assigning to pointers.

15 years agoRemove unused include of sys/dirent.h.
Joerg Sonnenberger [Thu, 4 Aug 2005 16:44:12 +0000 (16:44 +0000)]
Remove unused include of sys/dirent.h.

15 years agoPut unused flag space definitions back to their original position in
Hiten Pandya [Thu, 4 Aug 2005 16:28:30 +0000 (16:28 +0000)]
Put unused flag space definitions back to their original position in
order to avoid confusion.

Requested-by: Matt
15 years agoMake print statements more verbose.
David Rhodus [Thu, 4 Aug 2005 15:38:58 +0000 (15:38 +0000)]
Make print statements more verbose.

15 years agoRemove scheduler define which was never used.
David Rhodus [Thu, 4 Aug 2005 15:37:20 +0000 (15:37 +0000)]
Remove scheduler define which was never used.