]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years agoAdd a field to struct disk for GEOM
Poul-Henning Kamp [Mon, 11 Mar 2002 08:17:40 +0000 (08:17 +0000)]
Add a field to struct disk for GEOM

22 years agoMake the disk_clone() routine more robust for abuse.
Poul-Henning Kamp [Mon, 11 Mar 2002 08:08:02 +0000 (08:08 +0000)]
Make the disk_clone() routine more robust for abuse.
Sneak in a trivial bit of the GEOM stuff while we're here anyway.

22 years agoAdd the GEOM option.
Poul-Henning Kamp [Mon, 11 Mar 2002 08:06:24 +0000 (08:06 +0000)]
Add the GEOM option.

22 years agoMark some arguments __unused.
Poul-Henning Kamp [Mon, 11 Mar 2002 08:04:59 +0000 (08:04 +0000)]
Mark some arguments __unused.

22 years agoMake this compile again
Luigi Rizzo [Mon, 11 Mar 2002 08:03:50 +0000 (08:03 +0000)]
Make this compile again

Reported-by: Bruce Montague
22 years agoMake this compile again (increase MFS size, remove invalid option).
Luigi Rizzo [Mon, 11 Mar 2002 08:03:07 +0000 (08:03 +0000)]
Make this compile again (increase MFS size, remove invalid option).

Reported-by: Bruce Montague
22 years agoStop abusing the pgrpsess_lock.
Seigo Tanimura [Mon, 11 Mar 2002 07:53:13 +0000 (07:53 +0000)]
Stop abusing the pgrpsess_lock.

22 years agoDo not lock the pgrpsess_lock exclusively across ttywait().
Seigo Tanimura [Mon, 11 Mar 2002 07:51:08 +0000 (07:51 +0000)]
Do not lock the pgrpsess_lock exclusively across ttywait().

Spotted by: David Wolfskill <david@catwhisker.org>
Investigated by: rwatson

22 years agoCorrect a typo. (* that should've been &)
Benno Rice [Mon, 11 Mar 2002 07:09:42 +0000 (07:09 +0000)]
Correct a typo.  (* that should've been &)

22 years agoMake the handling of machdep.guessed_bootdev compiled on i386 only.
Luigi Rizzo [Mon, 11 Mar 2002 06:50:28 +0000 (06:50 +0000)]
Make the handling of machdep.guessed_bootdev compiled on i386 only.

22 years agoDue to changes in the handling of the #line directive by GCC(cpp) 3.1,
David E. O'Brien [Mon, 11 Mar 2002 06:45:31 +0000 (06:45 +0000)]
Due to changes in the handling of the #line directive by GCC(cpp) 3.1,
we must now explicitly list the source directory with -I.

22 years agoFix detection of existing ssh host key, generate the new one
Luigi Rizzo [Mon, 11 Mar 2002 05:54:22 +0000 (05:54 +0000)]
Fix detection of existing ssh host key, generate the new one
in floppy.tree instead of mfs_tree.

Do not cleanup ${BUILDDIR}/floppy.tree, it might be useful to look
at it after an image has been built.

22 years agoMake appropriate changes to use devfs.
Luigi Rizzo [Mon, 11 Mar 2002 05:46:18 +0000 (05:46 +0000)]
Make appropriate changes to use devfs.
Add a reference to the fd_size variable to set floppy size.

22 years agoDefault to ee as EDITOR (some apps such as disklabel default to "vi"
Luigi Rizzo [Mon, 11 Mar 2002 05:42:14 +0000 (05:42 +0000)]
Default to ee as EDITOR (some apps such as disklabel default to "vi"
which is not available).

22 years agoUse machdep.guessed_bootdev to guess the boot device.
Luigi Rizzo [Mon, 11 Mar 2002 05:15:44 +0000 (05:15 +0000)]
Use machdep.guessed_bootdev to guess the boot device.

22 years agoAdd complete Sparc64 support.
David E. O'Brien [Mon, 11 Mar 2002 04:41:42 +0000 (04:41 +0000)]
Add complete Sparc64 support.
Submitted by: tmm

Dike out vax support.

22 years ago* Support the Sparc64.
David E. O'Brien [Mon, 11 Mar 2002 04:20:37 +0000 (04:20 +0000)]
* Support the Sparc64.
* Do not default to any particular platform.  Require that we explicitly
  support a particular platform.

22 years agoMake the diagnostics printfs less ugly.
Dima Dorfman [Mon, 11 Mar 2002 03:48:32 +0000 (03:48 +0000)]
Make the diagnostics printfs less ugly.

22 years agoFix some bugs that would prevent %fsr to be set correctly, and add
Thomas Moestl [Mon, 11 Mar 2002 03:18:17 +0000 (03:18 +0000)]
Fix some bugs that would prevent %fsr to be set correctly, and add
support for fcmp and fcmpe instructions with a condition code
specification other than %fcc0.
This (primarily the first part) seems to fix a lot of problems that
people were seeing, e.g. perl and gawk failures.

Reported and analyzed by: wollman

22 years agoAccount for <machine/fsr.h> no longer being usable for assembler code.
Thomas Moestl [Mon, 11 Mar 2002 03:13:02 +0000 (03:13 +0000)]
Account for <machine/fsr.h> no longer being usable for assembler code.

22 years agoFix __dtoul to work on sparc64 (it used a half-way v8 stack layout),
Thomas Moestl [Mon, 11 Mar 2002 03:10:55 +0000 (03:10 +0000)]
Fix __dtoul to work on sparc64 (it used a half-way v8 stack layout),
and make it PIC-aware.

22 years agoAdd support for Simplified Direct Access Device in scsi_op_desc().
Hidetoshi Shimokawa [Mon, 11 Mar 2002 03:08:17 +0000 (03:08 +0000)]
Add support for Simplified Direct Access Device in scsi_op_desc().

22 years agoFix the type of some constants, and make some macros safer by casting
Thomas Moestl [Mon, 11 Mar 2002 03:04:28 +0000 (03:04 +0000)]
Fix the type of some constants, and make some macros safer by casting
the argument.

22 years agoAdd convenience macros to extract the cc0 and cc1 from format 2 and 3
Thomas Moestl [Mon, 11 Mar 2002 03:03:35 +0000 (03:03 +0000)]
Add convenience macros to extract the cc0 and cc1 from format 2 and 3
instructions.

22 years agoSave/restore the %y register around calls to the C user trap handler;
Thomas Moestl [Mon, 11 Mar 2002 02:53:03 +0000 (02:53 +0000)]
Save/restore the %y register around calls to the C user trap handler;
gcc emits the deprecated sparc v8 instructions that use this register
when optimizing for UltraSparc machines because they are apparetly
faster then their v9 counterpars there.

22 years agoWrong spelling of PIC.
David E. O'Brien [Mon, 11 Mar 2002 02:50:03 +0000 (02:50 +0000)]
Wrong spelling of PIC.

Submitted by: jake

22 years agoDon't depend on ucred.h to include sys/queue.h for us.
Dima Dorfman [Mon, 11 Mar 2002 02:37:34 +0000 (02:37 +0000)]
Don't depend on ucred.h to include sys/queue.h for us.

22 years agoUse the pci_enable_* functions instead of manually fiddling with the
Thomas Moestl [Mon, 11 Mar 2002 02:37:19 +0000 (02:37 +0000)]
Use the pci_enable_* functions instead of manually fiddling with the
command register.

Pointed out by: msmith

22 years agoBelatedly add a release note about destaticizing and modulizing of
Dima Dorfman [Mon, 11 Mar 2002 01:37:54 +0000 (01:37 +0000)]
Belatedly add a release note about destaticizing and modulizing of
snp(4), and note MFC of watch(8) -f.

22 years agoChase sysctl name.
Dima Dorfman [Mon, 11 Mar 2002 00:07:55 +0000 (00:07 +0000)]
Chase sysctl name.

Submitted by: Christopher Sharp <christopher_sharp@web.de>

22 years agoSync with csu/alpha/Makefile: build crt{i,n}.o.
David E. O'Brien [Sun, 10 Mar 2002 23:33:49 +0000 (23:33 +0000)]
Sync with csu/alpha/Makefile: build crt{i,n}.o.
Leave crtbegin* to the compiler vendor.

22 years agoDon't assign strcmp to a variable called err and then compare it
David Malone [Sun, 10 Mar 2002 23:12:43 +0000 (23:12 +0000)]
Don't assign strcmp to a variable called err and then compare it
with zero, just compare strcmp with zero. This fixes the same bug
which Maxim just fixed and fixes some odd style too.

PR: 35712
Reviewed by: arr

22 years agoRemove a mention of the worm(4) device that was missed when it was
Crist J. Clark [Sun, 10 Mar 2002 22:34:56 +0000 (22:34 +0000)]
Remove a mention of the worm(4) device that was missed when it was
removed from MAKEDEV in 1.171.

PR: misc/35729
MFC after: 1 day

22 years agoCG superfluous prototype.
Maxim Sobolev [Sun, 10 Mar 2002 22:33:04 +0000 (22:33 +0000)]
CG superfluous prototype.

22 years ago- Remove a number of extra newlines that do not belong here according to
Eivind Eklund [Sun, 10 Mar 2002 21:52:48 +0000 (21:52 +0000)]
- Remove a number of extra newlines that do not belong here according to
  style(9)
- Minor space adjustment in cases where we have "( ", " )", if(), return(),
  while(), for(), etc.
- Add /* SYMBOL */ after a few #endifs.

Reviewed by: alc

22 years agoDon't build xlint until surgery is finished.
Mark Murray [Sun, 10 Mar 2002 21:15:58 +0000 (21:15 +0000)]
Don't build xlint until surgery is finished.

22 years agoCURRENT has devfs, so we do not need to specify what devices we
Luigi Rizzo [Sun, 10 Mar 2002 21:12:23 +0000 (21:12 +0000)]
CURRENT has devfs, so we do not need to specify what devices we
want on the MFS image. Update the config files accordingly.

22 years agoUncomment the entry for a getty on the serial port. Boxes with
Luigi Rizzo [Sun, 10 Mar 2002 21:11:35 +0000 (21:11 +0000)]
Uncomment the entry for a getty on the serial port. Boxes with
a serial console can make use of it.

22 years agoAdd back the "sis" driver, we had some room left...
Luigi Rizzo [Sun, 10 Mar 2002 21:10:25 +0000 (21:10 +0000)]
Add back the "sis" driver, we had some room left...

22 years agoSilence a warning when compile without atapi devices.
Søren Schmidt [Sun, 10 Mar 2002 21:03:04 +0000 (21:03 +0000)]
Silence a warning when compile without atapi devices.

22 years agoWith devfs, we do not need to initialize pty's permissions.
Luigi Rizzo [Sun, 10 Mar 2002 20:47:26 +0000 (20:47 +0000)]
With devfs, we do not need to initialize pty's permissions.

22 years agoThe probable boot device is "machdep.guessed_bootdev".
Luigi Rizzo [Sun, 10 Mar 2002 20:37:04 +0000 (20:37 +0000)]
The probable boot device is "machdep.guessed_bootdev".

22 years agoAdd an implementation of cpu_throw() and make restorectx() simply branch
Doug Rabson [Sun, 10 Mar 2002 20:20:31 +0000 (20:20 +0000)]
Add an implementation of cpu_throw() and make restorectx() simply branch
to the tail of cpu_switch.

22 years agoDon't try to print the arguments if the value of bsp is outside the
Doug Rabson [Sun, 10 Mar 2002 20:19:32 +0000 (20:19 +0000)]
Don't try to print the arguments if the value of bsp is outside the
kernel - its asking for trouble.

22 years agoExport a (machine dependent) kernel variable bootdev as
Luigi Rizzo [Sun, 10 Mar 2002 20:08:44 +0000 (20:08 +0000)]
Export a (machine dependent) kernel variable bootdev as
machdep.guessed_bootdev, and add code to sysctl to parse its value
and give a (not necessarily correct) name to the device we booted
from (the main motivation for this code is to use the info in the
PicoBSD boot scripts, and the impact on the kernel is minimal).

NOTE: the information available in bootdev is not always reliable,
so you should not trust it too much.  The parsing code is the same
as in boot2.c, and cannot cover all cases -- as it is, it seems to
work fine with floppies and IDE disks recognised by the BIOS. It
_should_ work as well with SCSI disks recognised by the BIOS.
Booting from a CDROM in floppy emulation will return /dev/fd0 (because
this is what the BIOS tells us).
Booting off the network (e.g. with etherboot) leaves bootdev unset so
the value will be printed as "invalid (0xffffffff)".

Finally, this feature might go away at some point, hopefully when we
have a more reliable way to get the same information.

MFC-after: 5 days

22 years agoFix a breakage introduced in rev.1.75 (supposedly style cleanup), which results
Maxim Sobolev [Sun, 10 Mar 2002 19:20:01 +0000 (19:20 +0000)]
Fix a breakage introduced in rev.1.75 (supposedly style cleanup), which results
in "missing dependencies" error when loading some kld modules. It is sad to
see how often these days style cleanus break doesn't broken things. Perhaps
people should recall good old principle: "don't fix it if it isn't broken".

22 years agoAdded upcoming FreeBSD 4.6
Wolfram Schneider [Sun, 10 Mar 2002 19:00:37 +0000 (19:00 +0000)]
Added upcoming FreeBSD 4.6

22 years agoFreeBSD 4.5 is releaseed "29 Jan 2002" (not 20 Jan)
Wolfram Schneider [Sun, 10 Mar 2002 18:57:44 +0000 (18:57 +0000)]
FreeBSD 4.5 is releaseed "29 Jan 2002" (not 20 Jan)

PR:  misc/35738
Submitted by: WAKABAYASHI Susumu <susumu@wakabaya.net>

22 years agoAllow '.' in identifiers - some ia64 register names contain '.'.
Doug Rabson [Sun, 10 Mar 2002 17:08:24 +0000 (17:08 +0000)]
Allow '.' in identifiers - some ia64 register names contain '.'.

22 years agoUse the right value for the region length in parse_spill_mask.
Doug Rabson [Sun, 10 Mar 2002 17:03:45 +0000 (17:03 +0000)]
Use the right value for the region length in parse_spill_mask.

22 years agoDo not call a synthesizer with a sequencer lock held.
Seigo Tanimura [Sun, 10 Mar 2002 16:56:38 +0000 (16:56 +0000)]
Do not call a synthesizer with a sequencer lock held.

22 years agoFilesystem translation
Sebastien Gioria [Sun, 10 Mar 2002 15:37:56 +0000 (15:37 +0000)]
Filesystem translation

22 years ago/var/log/security gets almost no (if not no) activity on many FreeBSD
Robert Watson [Sun, 10 Mar 2002 15:20:36 +0000 (15:20 +0000)]
/var/log/security gets almost no (if not no) activity on many FreeBSD
systems due to sshd not using the security log class.  Tweak syslog.conf
so that /var/log/security also gets a useful set of
authentication-related logging.

Submitted by: aeonflux@synapse.subneural.net
MFC after: 4 weeks

22 years agoSetlocale returns static buffer, don't assume it will be unchanged
Andrey A. Chernov [Sun, 10 Mar 2002 14:54:59 +0000 (14:54 +0000)]
Setlocale returns static buffer, don't assume it will be unchanged

Pointed by: phantom

22 years ago"Base system/contributed software " section translation
Sebastien Gioria [Sun, 10 Mar 2002 14:50:34 +0000 (14:50 +0000)]
"Base system/contributed software " section translation

22 years agoAdding Multimedia section translation
Sebastien Gioria [Sun, 10 Mar 2002 14:05:41 +0000 (14:05 +0000)]
Adding Multimedia section translation

22 years agoCheck the <channel> arg a bit more.
Søren Schmidt [Sun, 10 Mar 2002 13:59:00 +0000 (13:59 +0000)]
Check the <channel> arg a bit more.

Submitted by: David Malone <dwmalone@maths.tcd.ie>

22 years agoPCCARD support translation
Sebastien Gioria [Sun, 10 Mar 2002 13:49:02 +0000 (13:49 +0000)]
PCCARD support translation

22 years agoAdding Disk and storage translation
Sebastien Gioria [Sun, 10 Mar 2002 12:33:02 +0000 (12:33 +0000)]
Adding Disk and storage translation

22 years agoAdd SONY VAIO psm controller ISA-PnP ID.
Takanori Watanabe [Sun, 10 Mar 2002 12:22:17 +0000 (12:22 +0000)]
Add SONY VAIO psm controller ISA-PnP ID.

22 years agocosmetic: spell 'cashe' as 'cache'
Bill Fumerola [Sun, 10 Mar 2002 12:08:28 +0000 (12:08 +0000)]
cosmetic: spell 'cashe' as 'cache'

22 years agoMake the proposed name arg to dev_stdclone() const.
Poul-Henning Kamp [Sun, 10 Mar 2002 10:50:05 +0000 (10:50 +0000)]
Make the proposed name arg to dev_stdclone() const.

22 years agoDocument `sysctl variable=/dev/foo' syntax.
Dima Dorfman [Sun, 10 Mar 2002 09:53:39 +0000 (09:53 +0000)]
Document `sysctl variable=/dev/foo' syntax.

PR: 34184
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>

22 years agoLink scbus(4) to scsi(4). Most of the other CAM devices have their
Dima Dorfman [Sun, 10 Mar 2002 09:21:50 +0000 (09:21 +0000)]
Link scbus(4) to scsi(4).  Most of the other CAM devices have their
own manual pages, but this is better than nothing until someone writes
a real scbus(4).

PR: 35641
Submitted by: Gary W. Swearingen <swear@blarg.net>

22 years agoDon't refer the reader to look for a word that doesn't exist anywhere
Dima Dorfman [Sun, 10 Mar 2002 09:20:28 +0000 (09:20 +0000)]
Don't refer the reader to look for a word that doesn't exist anywhere
else in the page.

PR: 35623
Submitted by: Gary W. Swearingen <swear@blarg.net>

22 years agoThe chapter on kernel debugging is now in the Developers' Handbook.
Dima Dorfman [Sun, 10 Mar 2002 09:15:22 +0000 (09:15 +0000)]
The chapter on kernel debugging is now in the Developers' Handbook.
Add a trailing slash to a URL while I'm here.

PR: 35637
Submitted by: Gary W. Swearingen <swear@blarg.net>, setantae@submonkey.net

22 years agoRemove inappropriate .Op calls in examples.
Dima Dorfman [Sun, 10 Mar 2002 09:10:06 +0000 (09:10 +0000)]
Remove inappropriate .Op calls in examples.

PR: 35689
Submitted by: Gary W. Swearingen <swear@blarg.net>

22 years agoMinor English fixes.
Dima Dorfman [Sun, 10 Mar 2002 08:50:53 +0000 (08:50 +0000)]
Minor English fixes.

PR: 35730
Submitted by: Gary W. Swearingen <swear@blarg.net>

22 years agoFix one genuine bug and a potential one:
Luigi Rizzo [Sun, 10 Mar 2002 08:29:53 +0000 (08:29 +0000)]
Fix one genuine bug and a potential one:

  -#if defined(__FreeBSD__) && __FreeBSD_version__ >= 500023
  +#if defined(__FreeBSD__) && __FreeBSD_version >= 500023

is a genuine bug -- __FreeBSD_version__ does not exist.
The other one:

  -#if (__FreeBSD__ < 5)
  +#if (__FreeBSD_version < 500000)

pops out when you cross-compile the code:

  __FreeBSD__ is a compiler predefine,
  __FreeBSD_version is defined in <sys/param.h> .

Given that in this case (and all others in sys/dev/usb and sys/i4b)
the goal is to adapt to a different kernel interface, and not to
a compiler feature, I believe the correct form is the second one
(in the best case the two are synonyms so the change does not break
anything anyways).

22 years agoFree allocated buffer at siodetach().
Yoshihiro Takahashi [Sun, 10 Mar 2002 07:22:42 +0000 (07:22 +0000)]
Free allocated buffer at siodetach().

MFC after: 3 days

22 years agoo Add INET_ADDRSTRLEN and INET6_ADDRSTRLEN defines to <arpa/inet.h>
Mike Barcroft [Sun, 10 Mar 2002 06:42:27 +0000 (06:42 +0000)]
o Add INET_ADDRSTRLEN and INET6_ADDRSTRLEN defines to <arpa/inet.h>
  for POSIX.1-2001 conformance.
o Add magic to <netinet/in.h> and <netinet6/in6.h> to prevent
  redefining INET_ADDRSTRLEN and INET6_ADDRSTRLEN.
o Add a note about missing typedefs in <arpa/inet.h>.

22 years agoMFi386: revision 1.501
Yoshihiro Takahashi [Sun, 10 Mar 2002 06:19:37 +0000 (06:19 +0000)]
MFi386: revision 1.501

22 years agoSpell-check and fix some other typos.
Bruce A. Mah [Sun, 10 Mar 2002 02:52:44 +0000 (02:52 +0000)]
Spell-check and fix some other typos.

Pointed out by: tmm

22 years agoCondition the compilation of trapwrite() on I386_CPU.
Alan Cox [Sun, 10 Mar 2002 02:11:38 +0000 (02:11 +0000)]
Condition the compilation of trapwrite() on I386_CPU.

22 years agoAdd sparc64 ifdefs.
Jake Burkholder [Sun, 10 Mar 2002 01:34:22 +0000 (01:34 +0000)]
Add sparc64 ifdefs.

22 years agoMake this build on sparc64.
Jake Burkholder [Sun, 10 Mar 2002 01:25:47 +0000 (01:25 +0000)]
Make this build on sparc64.

22 years agoIncrease VM_KMEM_SIZE to 16 megs from 12. Define VM_KMEM_SIZE_SCALE so that
Jake Burkholder [Sat, 9 Mar 2002 23:35:50 +0000 (23:35 +0000)]
Increase VM_KMEM_SIZE to 16 megs from 12.  Define VM_KMEM_SIZE_SCALE so that
the number of physical pages per KVA page allocated scales properly with
memory size.  This fixes problems with kmem_map being too small.

Noticed by: mike, wollman
Submitted by: tmm

22 years agoRemove __P
Alfred Perlstein [Sat, 9 Mar 2002 22:44:37 +0000 (22:44 +0000)]
Remove __P

22 years agoAdd a driver for the mem and kmem devices, based off the i386 version.
Thomas Moestl [Sat, 9 Mar 2002 22:33:16 +0000 (22:33 +0000)]
Add a driver for the mem and kmem devices, based off the i386 version.

22 years agoChange back to using vfork() now that execvp() is vfork()-safe. If execvp()
Dag-Erling Smørgrav [Sat, 9 Mar 2002 22:08:14 +0000 (22:08 +0000)]
Change back to using vfork() now that execvp() is vfork()-safe.  If execvp()
fails, errno is saved to a volatile variable that the parent later inspects.

PR: bin/34898
Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
MFC after: 1 week

22 years agoDon't deref NULL mutex pointer when pipeclose()'ing a pipe that is not
Alfred Perlstein [Sat, 9 Mar 2002 22:06:31 +0000 (22:06 +0000)]
Don't deref NULL mutex pointer when pipeclose()'ing a pipe that is not
fully instaniated.

Revert the logic in pipeclose so that we don't have the entire function
pretty much under a single if() statement, instead invert the test and
just return if it fails.

Submitted (in different form) by: bde

Don't use pool mutexes for pipes.  We can not use pool mutexes
because we will need to grab the select lock while holding a pipe
lock which is not allowed because you may not aquire additional
mutexes when holding a pool mutex.

Instead malloc(9) space for the mutex that is shared between the
pipes.

22 years agoSet the interrupt map type accordingly if we need to fall back to using
Thomas Moestl [Sat, 9 Mar 2002 22:02:02 +0000 (22:02 +0000)]
Set the interrupt map type accordingly if we need to fall back to using
the PCI bus interrupt map.

22 years agoFix a warning by adding a missing include.
Thomas Moestl [Sat, 9 Mar 2002 22:00:30 +0000 (22:00 +0000)]
Fix a warning by adding a missing include.

22 years agoSet the busmaster enable bit in the PCI command register, as the firmware
Thomas Moestl [Sat, 9 Mar 2002 21:52:31 +0000 (21:52 +0000)]
Set the busmaster enable bit in the PCI command register, as the firmware
of sparc64 machines will not do this for us if the interface is not used
for booting over the network.

22 years agoFix some bugs in the handling of the case of not enough tx descriptors
Thomas Moestl [Sat, 9 Mar 2002 21:50:25 +0000 (21:50 +0000)]
Fix some bugs in the handling of the case of not enough tx descriptors
being free to send a packet.

22 years agoCouple minor updates.
Jake Burkholder [Sat, 9 Mar 2002 21:06:50 +0000 (21:06 +0000)]
Couple minor updates.

Reviewed by: bmah

22 years agoo Don't require long long support in bswap64() functions.
Mike Barcroft [Sat, 9 Mar 2002 21:02:16 +0000 (21:02 +0000)]
o Don't require long long support in bswap64() functions.
o In i386's <machine/endian.h>, macros have some advantages over
  inlines, so change some inlines to macros.
o In i386's <machine/endian.h>, ungarbage collect word_swap_int()
  (previously __uint16_swap_uint32), it has some uses on i386's with
  PDP endianness.

Submitted by: bde

o Move a comment up in <machine/endian.h> that was accidentially moved
  down a few revisions ago.
o Reenable userland's use of optimized inline-asm versions of
  byteorder(3) functions.
o Fix ordering of prototypes vs. redefinition of byteorder(3)
  functions, so that the non-GCC (libc asm) case has proper
  prototypes.
o Add proper prototypes for byteorder(3) functions in <sys/param.h>.
o Prevent redundant duplicate prototypes by making use of the
  _BYTEORDER_PROTOTYPED define.
o Move the bswap16(), bswap32(), bswap64() C functions into MD space
  for platforms in which asm versions don't exist.  This significantly
  reduces the complexity of some things at the cost of duplicate code.

Reviewed by: bde

22 years agoForgot to update the date.
Luigi Rizzo [Sat, 9 Mar 2002 20:18:31 +0000 (20:18 +0000)]
Forgot to update the date.

The manpage describes the latest batch of changes, and especially the
runtime config was totally different before.

22 years agoLots of updates on the install process, detailing how to
Luigi Rizzo [Sat, 9 Mar 2002 20:16:06 +0000 (20:16 +0000)]
Lots of updates on the install process, detailing how to
install PicoBSD on hard disks and CDROM images, and on the
bootstrap sequence and the places where you can customise
a PicoBSD image.

Now if some of the -doc guys want to put this stuff in a nice
handbook page, that would be extremely useful!

22 years agoDelete "notyet" code before it becomes "ohh no" code.
Poul-Henning Kamp [Sat, 9 Mar 2002 20:11:25 +0000 (20:11 +0000)]
Delete "notyet" code before it becomes "ohh no" code.

22 years agoAdding Network Protocols section translation
Sebastien Gioria [Sat, 9 Mar 2002 20:04:36 +0000 (20:04 +0000)]
Adding Network Protocols section translation

22 years agoapropos(1) manual page doesn't tell that keyword can be regular expression
Wolfram Schneider [Sat, 9 Mar 2002 20:00:08 +0000 (20:00 +0000)]
apropos(1) manual page doesn't tell that keyword can be regular expression

PR: gnu/31685
Submitted by: Andrey Simonenko <simon@simon.org.ua>

22 years agoHide the DIOCGPART ioctl from userland where it has no decent use.
Poul-Henning Kamp [Sat, 9 Mar 2002 19:15:37 +0000 (19:15 +0000)]
Hide the DIOCGPART ioctl from userland where it has no decent use.

It's use in the kernel is also highly suspect due to the total absense
of any kind of lifetime definition of the passed pointers.

22 years agoRemove host.conf, and introduce a way to override the content
Luigi Rizzo [Sat, 9 Mar 2002 18:27:02 +0000 (18:27 +0000)]
Remove host.conf, and introduce a way to override the content
of selected files (at the moment /etc/host.conf and /etc/resolv.conf)
from /etc/rc.conf , so the number of places to customize is
reduced.

22 years agoMore markup fixes, wordsmithing. It's not quite yet ready for
Bruce A. Mah [Sat, 9 Mar 2002 18:04:47 +0000 (18:04 +0000)]
More markup fixes, wordsmithing.  It's not quite yet ready for
prime time, but we're getting closer.

22 years agoRevert change in revision 1.53 and add a small comment to protect
Tor Egge [Sat, 9 Mar 2002 16:24:27 +0000 (16:24 +0000)]
Revert change in revision 1.53 and add a small comment to protect
the revived code.

vm pages newly allocated are marked busy (PG_BUSY), thus calling
vm_page_delete before the pages has been freed or unbusied will
cause a deadlock since vm_page_object_page_remove will wait for the
busy flag to be cleared.  This can be triggered by calling malloc
with size > PAGE_SIZE and the M_NOWAIT flag on systems low on
physical free memory.

A kernel module that reproduces the problem, written by Logan Gabriel
<logan@mail.2cactus.com>, can be found in the freebsd-hackers mail
archive (12 Apr 2001).  The problem was recently noticed again by
Archie Cobbs <archie@dellroad.org>.

Reviewed by: dillon

22 years agoOff by one error in checking max file name length.
Wolfram Schneider [Sat, 9 Mar 2002 15:30:42 +0000 (15:30 +0000)]
Off by one error in checking max file name length.

22 years agoafter joerg's recent merge of i4b's isppcontrol to the main spppcontrol,
Hellmuth Michaelis [Sat, 9 Mar 2002 13:37:24 +0000 (13:37 +0000)]
after joerg's recent merge of i4b's isppcontrol to the main spppcontrol,
remove now obsolete files.

22 years agoafter joerg's recent merge of i4b's sppp with the main sppp, remove
Hellmuth Michaelis [Sat, 9 Mar 2002 13:31:56 +0000 (13:31 +0000)]
after joerg's recent merge of i4b's sppp with the main sppp, remove
now obsolete file.

22 years agoremove BSD/OS specific ppp-interface file since the FreeBSD-BSD/OS merger
Hellmuth Michaelis [Sat, 9 Mar 2002 13:18:24 +0000 (13:18 +0000)]
remove BSD/OS specific ppp-interface file since the FreeBSD-BSD/OS merger
is IMHO likely not to happen anymore ...