]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoRestore the ability to mount procfs and fdescfs filesystems via the
Kelly Yancey [Mon, 15 May 2006 19:42:10 +0000 (19:42 +0000)]
Restore the ability to mount procfs and fdescfs filesystems via the
mount(2) system call:

  * Add cmount hook to fdescfs and pseudofs (and, by extension, procfs and
    linprocfs).  This (mostly) restores the ability to mount these
    filesystems using the old mount(2) system call (see below for the
    rest of the fix).

  * Remove not-NULL check for the data argument from the mount(2) entry
    point.  Per the mount(2) man page, it is up to the individual
    filesystem being mounted to verify data.  Or, in the case of procfs,
    etc. the filesystem is free to ignore the data parameter if it does
    not use it.  Enforcing data to be not-NULL in the mount(2) system call
    entry point prevented passing NULL to filesystems which ignored the
    data pointer value.  Apparently, passing NULL was common practice
    in such cases, as even our own mount_std(8) used to do it in the
    pre-nmount(2) world.

All userland programs in the tree were converted to nmount(2) long ago,
but I've found at least one external program which broke due to this
(presumably unintentional) mount(2) API change.  One could argue that
external programs should also be converted to nmount(2), but then there
isn't much point in keeping the mount(2) interface for backward
compatibility if it isn't backward compatible.

18 years agoUpdate README.examples according to the current state of the examples/etc directory
Matteo Riondato [Mon, 15 May 2006 17:43:51 +0000 (17:43 +0000)]
Update README.examples according to the current state of the examples/etc directory

PR: conf/97232

18 years agoNote that an old adjkerntz is not really usable after the recent
Giorgos Keramidas [Mon, 15 May 2006 15:47:45 +0000 (15:47 +0000)]
Note that an old adjkerntz is not really usable after the recent
sysctlbyname() changes, so the new adjkerntz binary should be
used while in single-user mode.

Reviewed by: ceri, maxim

18 years agoRefer to csup in the make.conf(5) manpage.
Maxime Henrion [Mon, 15 May 2006 14:08:41 +0000 (14:08 +0000)]
Refer to csup in the make.conf(5) manpage.

Insta-MFC to follow.

Reminded by: ru (some time ago)

18 years agoAdd definitions for atomic_subtract_rel_32, atomic_add_rel_32 and
Olivier Houchard [Mon, 15 May 2006 13:08:12 +0000 (13:08 +0000)]
Add definitions for atomic_subtract_rel_32, atomic_add_rel_32 and
atomic_load_acq_32, needed for hwpmc.

18 years agoRecalculate IP checksum after running pfil hooks.
Daniel Hartmeier [Mon, 15 May 2006 11:49:01 +0000 (11:49 +0000)]
Recalculate IP checksum after running pfil hooks.

Reviewed by: thompsa
Tested by: Adam McDougall <mcdouga9@egr.msu.edu>

18 years agoSwitch from the lnc driver to the le driver. But C-NET(98)S support is
Yoshihiro Takahashi [Mon, 15 May 2006 11:15:34 +0000 (11:15 +0000)]
Switch from the lnc driver to the le driver.  But C-NET(98)S support is
dropped.

18 years agoDisplay real/avail memory as per other platforms.
Benno Rice [Mon, 15 May 2006 10:40:37 +0000 (10:40 +0000)]
Display real/avail memory as per other platforms.

Approved by: cognet

18 years agoo In rip_disconnect() do not call rip_abort(), just mark a socket
Maxim Konovalov [Mon, 15 May 2006 09:28:57 +0000 (09:28 +0000)]
o In rip_disconnect() do not call rip_abort(), just mark a socket
as not connected.  In soclose() case rip_detach() will kill inpcb for
us later.

It makes rawconnect regression test do not panic a system.

Reviewed by: rwatson
X-MFC after: with all 1th April inpcb changes

18 years agoo Fix typo in a comment.
Maxim Konovalov [Mon, 15 May 2006 08:20:38 +0000 (08:20 +0000)]
o Fix typo in a comment.

PR: bin/97292
Submitted by: clsung
MFC after: 3 days

18 years agoRe-wrok PHY setup, media handling and dual-port detection.
Pyun YongHyeon [Mon, 15 May 2006 04:50:33 +0000 (04:50 +0000)]
Re-wrok PHY setup, media handling and dual-port detection.
With this change SysKonnect SK-9521 v2.0 and SK-9821 v2.0
adapter now works.

Obtained from: OpenBSD
Reported by: Ganbold ganbold ! micom ( mng $ net
Tested by: Ganbold ganbold ! micom ( mng $ net

18 years agoSwitch to a 64bit time_t, while it's not a big problem to do so.
Olivier Houchard [Mon, 15 May 2006 00:17:27 +0000 (00:17 +0000)]
Switch to a 64bit time_t, while it's not a big problem to do so.

Suggested by: imp

18 years agoUse only lower 64bit of src/dest (and src/dest port) for hashing of IPv6
Max Laier [Sun, 14 May 2006 23:42:24 +0000 (23:42 +0000)]
Use only lower 64bit of src/dest (and src/dest port) for hashing of IPv6
connections and get rid of the flow_id as it is not guaranteed to be stable
some (most?) current implementations seem to just zero it out.

PR: kern/88664
Reported by: jylefort
Submitted by: Joost Bekkers (w/ changes)
Tested by "regisr" <regisrApoboxDcom>

18 years agoFix formatting. Add missing break;
Maksim Yevmenkin [Sun, 14 May 2006 22:19:38 +0000 (22:19 +0000)]
Fix formatting. Add missing break;

Submitted by: Iain Hibbert
MFC after: 3 days

18 years agoWith the demise of Alpha, remove Alpha specific diagnostic.
Wilko Bulte [Sun, 14 May 2006 22:19:11 +0000 (22:19 +0000)]
With the demise of Alpha, remove Alpha specific diagnostic.

18 years agoo A tiny regression test exposes bug in rip_disconnect().
Maxim Konovalov [Sun, 14 May 2006 22:03:00 +0000 (22:03 +0000)]
o A tiny regression test exposes bug in rip_disconnect().

18 years agoNew release notes:
Christian Brueffer [Sun, 14 May 2006 21:02:25 +0000 (21:02 +0000)]
New release notes:

- cpufreq(4) support for VIA C7-M processors
- lnc(4) removed
- ip6fw(8) removed

18 years agoFix typo.
Christian Brueffer [Sun, 14 May 2006 20:54:45 +0000 (20:54 +0000)]
Fix typo.

18 years agoRemove autogeneration of the lnc(4) hardware list to fix the build.
Christian Brueffer [Sun, 14 May 2006 20:31:32 +0000 (20:31 +0000)]
Remove autogeneration of the lnc(4) hardware list to fix the build.

18 years agoThe last execution of -exec {} + is not done if the -exec primary is
Kirill Ponomarev [Sun, 14 May 2006 20:23:01 +0000 (20:23 +0000)]
The last execution of -exec {} + is not done if the -exec primary is
not on the top-level -and sequence, e.g. inside of ! or -or.

Create a separate linked list of all active -exec {} + primaries and
do the last execution for all at termination.

PR: bin/79263
Submitted by: Jilles Tjoelker <jilles@stack.nl>
MFC after: 7 days

18 years ago- Replace the entry for the no longer existing lnc(4) module with an
Marius Strobl [Sun, 14 May 2006 19:04:12 +0000 (19:04 +0000)]
- Replace the entry for the no longer existing lnc(4) module with an
  entry for the replacement le(4) module.
- Add an entry for the gem(4) module.
- Remove gratuitous whitespace in the description of the hme(4) entry.

18 years agoRemove some remnants of lnc(4).
Marius Strobl [Sun, 14 May 2006 18:49:25 +0000 (18:49 +0000)]
Remove some remnants of lnc(4).

18 years agoRemove the lnc module Makefile.
Scott Long [Sun, 14 May 2006 18:37:03 +0000 (18:37 +0000)]
Remove the lnc module Makefile.

18 years agoFix build (unhook lnc).
Xin LI [Sun, 14 May 2006 18:31:34 +0000 (18:31 +0000)]
Fix build (unhook lnc).

Submitted by: David H. Wolfskill <david catwhisker org>

18 years agoAdd if_* MLINKS for bce(4) and le(4).
Christian Brueffer [Sun, 14 May 2006 15:45:44 +0000 (15:45 +0000)]
Add if_* MLINKS for bce(4) and le(4).

MFC after: 3 days

18 years agoFix a long-standing limitation in IPv4 multicast group membership.
Bruce M Simpson [Sun, 14 May 2006 14:22:49 +0000 (14:22 +0000)]
Fix a long-standing limitation in IPv4 multicast group membership.

By making the imo_membership array a dynamically allocated vector,
this minimizes disruption to existing IPv4 multicast code. This
change breaks the ABI for the kernel module ip_mroute.ko, and may
cause a small amount of churn for folks working on the IGMPv3 merge.

Previously, sockets were subject to a compile-time limitation on
the number of IPv4 group memberships, which was hard-coded to 20.
The imo_membership relationship, however, is 1:1 with regards to
a tuple of multicast group address and interface address. Users who
ran routing protocols such as OSPF ran into this limitation on machines
with a large system interface tree.

18 years agoDon't quote IP_MAX_MEMBERSHIPS as 20 any more.
Bruce M Simpson [Sun, 14 May 2006 14:13:30 +0000 (14:13 +0000)]
Don't quote IP_MAX_MEMBERSHIPS as 20 any more.

18 years agoAdd multicast group join/leave functionality to IPv4 regression
Bruce M Simpson [Sun, 14 May 2006 14:11:54 +0000 (14:11 +0000)]
Add multicast group join/leave functionality to IPv4 regression
test suite.

18 years agoHandle SIGINFO in time(1) by printing the time the given command is running.
Pawel Jakub Dawidek [Sun, 14 May 2006 13:16:19 +0000 (13:16 +0000)]
Handle SIGINFO in time(1) by printing the time the given command is running.
I find it quite handy to just hit ^T and see the time.

18 years agoAdd a bootable CD support.
Yoshihiro Takahashi [Sun, 14 May 2006 07:26:02 +0000 (07:26 +0000)]
Add a bootable CD support.

18 years agoThe VERBOSE_SYSINIT stuff sees the DDB define a lot better if we include
Benno Rice [Sun, 14 May 2006 07:11:28 +0000 (07:11 +0000)]
The VERBOSE_SYSINIT stuff sees the DDB define a lot better if we include
opt_ddb.h.

Spotted by: benno
Pointy hat to: benno

18 years agoFor src/dest parsing take off the netmask before checking for AF with
Max Laier [Sun, 14 May 2006 03:53:04 +0000 (03:53 +0000)]
For src/dest parsing take off the netmask before checking for AF with
inet_pton.  This fixes cases like "fe02::/16".

PR: bin/91245
Reported by: Fredrik Lindberge

18 years agoRemove the ipfw6 config from NOTES
Mathieu Arnold [Sun, 14 May 2006 02:37:56 +0000 (02:37 +0000)]
Remove the ipfw6 config from NOTES

Forgotten by: mlaier
Approved by: mlaier
Pointy hat to:  mlaier :-)

18 years agoRemove the documentation from the Makefile as well.
George V. Neville-Neil [Sun, 14 May 2006 02:01:59 +0000 (02:01 +0000)]
Remove the documentation from the Makefile as well.

18 years agoRemoved the deprecated lance driver, lnc, from files.
George V. Neville-Neil [Sun, 14 May 2006 01:59:12 +0000 (01:59 +0000)]
Removed the deprecated lance driver, lnc, from files.

18 years agoRemove documentation for the deprecated lnc driver.
George V. Neville-Neil [Sun, 14 May 2006 01:55:20 +0000 (01:55 +0000)]
Remove documentation for the deprecated lnc driver.

Reviewed By: simon

18 years agoRemove autogeneration of lnc(4) hardware notes before gnn blows it away.
Simon L. B. Nielsen [Sun, 14 May 2006 01:55:06 +0000 (01:55 +0000)]
Remove autogeneration of lnc(4) hardware notes before gnn blows it away.

18 years agoFor nmount(), if "rw" is specified as a mount option,
Craig Rodrigues [Sun, 14 May 2006 01:51:38 +0000 (01:51 +0000)]
For nmount(), if "rw" is specified as a mount option,
add "noro" to the list of mount options.  This allows
a read-only mount to be converted to read-write via:
mount -u -o rw

Requested by: kris

18 years agoRemove the old, and now deprecated lnc driver. The Lance style hardware
George V. Neville-Neil [Sun, 14 May 2006 01:47:51 +0000 (01:47 +0000)]
Remove the old, and now deprecated lnc driver.  The Lance style hardware
is supported by the le and pnc drivers.

Reviewed by: jmg

18 years agoPrefer the le device driver for Lance (AMD7990 et al) hardware over the
George V. Neville-Neil [Sun, 14 May 2006 01:40:41 +0000 (01:40 +0000)]
Prefer the le device driver for Lance (AMD7990 et al) hardware over the
older, and less capable lnc driver.

Reviewed by: imp

18 years agoResurrect Skyeye support :
Olivier Houchard [Sat, 13 May 2006 23:41:16 +0000 (23:41 +0000)]
Resurrect Skyeye support :
Add a new option, SKYEYE_WORKAROUNDS, which as the name suggests adds
workarounds for things skyeye doesn't simulate. Specifically :
- Use USART0 instead of DBGU as the console, make it not use DMA, and           manually provoke an interrupt when we're done in the transmit function.
- Skyeye maintains an internal counter for clock, but apparently there's
no way to access it, so hack the timecounter code to return a value which
is increased at every clock interrupts. This is gross, but I didn't find a
better way to implement timecounters without hacking Skyeye to get the
counter value.
- Force the write-back of PTEs once we're done writing them, even if they
are supposed to be write-through. I don't know why I have to do that.

18 years agoAdd a manual dependency on ssh_namespace.h.
Dag-Erling Smørgrav [Sat, 13 May 2006 21:38:16 +0000 (21:38 +0000)]
Add a manual dependency on ssh_namespace.h.

Discussed with: ru

18 years agoExpunge traces of unlinked snapshot files when making a new snapshot.
Tor Egge [Sat, 13 May 2006 20:41:37 +0000 (20:41 +0000)]
Expunge traces of unlinked snapshot files when making a new snapshot.

18 years agoo Add an option allowing to start search from some offset instead of offset 0;
Maxim Sobolev [Sat, 13 May 2006 20:23:06 +0000 (20:23 +0000)]
o Add an option allowing to start search from some offset instead of offset 0;

o mesure distance between UFS1 and UFS2 superblocks independently.

MFC after: 1 week

18 years agoSimplify the implementation of vm_fault_additional_pages() based upon the
Alan Cox [Sat, 13 May 2006 20:05:44 +0000 (20:05 +0000)]
Simplify the implementation of vm_fault_additional_pages() based upon the
object's memq being ordered.  Specifically, replace repeated calls to
vm_page_lookup() by two simple constant-time operations.

Reviewed by: tegge

18 years agoFix typo.
Colin Percival [Sat, 13 May 2006 18:04:48 +0000 (18:04 +0000)]
Fix typo.

Pointed out by: ceri

18 years agoAdd a mechanism for constructing INDEX files which include local ports.
Colin Percival [Sat, 13 May 2006 15:56:35 +0000 (15:56 +0000)]
Add a mechanism for constructing INDEX files which include local ports.

Requested by: brooks

18 years agoPR: bin/71663
Hellmuth Michaelis [Sat, 13 May 2006 14:59:58 +0000 (14:59 +0000)]
PR:             bin/71663
Submitted by:   Dan Lukes
Reviewed by:    hm@
fix compile warnings in isdnd and isdntest. some more
compile time warnings also mentioned in this PR were
already fixed in an earlier commit today.

18 years agoPR: kern/76611
Hellmuth Michaelis [Sat, 13 May 2006 14:39:35 +0000 (14:39 +0000)]
PR:             kern/76611
Submitted by:   Mauritz Sundell and Sergio de Souza Prallon
Reviewed by:    hm@
fix several constants for the Tiger320 ISDN chip

18 years agoIntroduce a namespace munging hack inspired by NetBSD to avoid polluting
Dag-Erling Smørgrav [Sat, 13 May 2006 13:47:45 +0000 (13:47 +0000)]
Introduce a namespace munging hack inspired by NetBSD to avoid polluting
the namespace of applications which inadvertantly link in libssh (usually
through pam_ssh)

Suggested by: lukem@netbsd.org
MFC after: 6 weeks

18 years agoComment out the function prototypes which our libc actually
Hajimu UMEMOTO [Sat, 13 May 2006 12:43:12 +0000 (12:43 +0000)]
Comment out the function prototypes which our libc actually
doesn't have.

18 years agofix conflicting types for log(), add some prototypes to isdnd.h
Hellmuth Michaelis [Sat, 13 May 2006 12:42:55 +0000 (12:42 +0000)]
fix conflicting types for log(), add some prototypes to isdnd.h

18 years agoCorrect various mistakes in the last commit.
Pawel Jakub Dawidek [Sat, 13 May 2006 11:58:58 +0000 (11:58 +0000)]
Correct various mistakes in the last commit.

18 years agoInclude other AES key lengths in the comment.
Pawel Jakub Dawidek [Sat, 13 May 2006 09:13:58 +0000 (09:13 +0000)]
Include other AES key lengths in the comment.

18 years agoRemove alpha from the HEAD lineup.
Dag-Erling Smørgrav [Sat, 13 May 2006 08:25:31 +0000 (08:25 +0000)]
Remove alpha from the HEAD lineup.

18 years agoUpdate UPDATING and bump __FreeBSD_version for the ip6fw removal.
Max Laier [Sat, 13 May 2006 06:08:25 +0000 (06:08 +0000)]
Update UPDATING and bump __FreeBSD_version for the ip6fw removal.

18 years agoUpdate for ip6fw removal.
Max Laier [Sat, 13 May 2006 05:51:52 +0000 (05:51 +0000)]
Update for ip6fw removal.

18 years agoTidy up a bit...
Warner Losh [Sat, 13 May 2006 02:47:39 +0000 (02:47 +0000)]
Tidy up a bit...

18 years agoAdd better sanity checking to the logic that handles ioctl processing
Chuck Lever [Sat, 13 May 2006 00:16:35 +0000 (00:16 +0000)]
Add better sanity checking to the logic that handles ioctl processing
for nfsclient and nfs4client in order to prevent local root users
from panicing the system.

PR: kern/77463
Submitted by: Wojciech A. Koszek
Reviewed by: cel, rees
MFC after: 2 weeks
Security: Local root users can panic the system at will

18 years agoo A divisor of 0 is perfectly valid. Reserve -1 for an invalid
Marcel Moolenaar [Fri, 12 May 2006 23:24:45 +0000 (23:24 +0000)]
o  A divisor of 0 is perfectly valid. Reserve -1 for an invalid
   divisor. This allows us to set the line speed to the maximum
   of 1/4 of the device clock.
o  Disable the baudrate generator before programming the line
   settings, including baudrate, and enable it afterwards.

18 years agoCheck the return code of sc_clean_up() in the only place where it
Giorgos Keramidas [Fri, 12 May 2006 22:43:07 +0000 (22:43 +0000)]
Check the return code of sc_clean_up() in the only place where it
was not checked at all.  There is only one case when sc_clean_up()
can fail, because of wait_scrn_saver_stop(), but it doesn't hurt
to check anyway.

Reviewed by: rodrigc
Found by: Coverity Prevent

18 years agoTest commit after repoman upgrade. Remove one of my many email addresses
Peter Wemm [Fri, 12 May 2006 22:41:58 +0000 (22:41 +0000)]
Test commit after repoman upgrade.  Remove one of my many email addresses
from a copyright message.

18 years agoTest commit after repoman upgrade. Remove one of my many email addresses
Peter Wemm [Fri, 12 May 2006 22:38:53 +0000 (22:38 +0000)]
Test commit after repoman upgrade.  Remove one of my many email addresses
from a coyright message.

18 years agoRemove ip6fw. Since ipfw has full functional IPv6 support now and - in
Max Laier [Fri, 12 May 2006 20:39:23 +0000 (20:39 +0000)]
Remove ip6fw.  Since ipfw has full functional IPv6 support now and - in
contrast to ip6fw - is properly lockes, it is time to retire ip6fw.

18 years agodrop D_MEMDISK, not used in the tree...
John-Mark Gurney [Fri, 12 May 2006 19:40:54 +0000 (19:40 +0000)]
drop D_MEMDISK, not used in the tree...

18 years agoFix typo in last commit: traceroute(8) -e, not traceroute(8) -c.
Bruce A. Mah [Fri, 12 May 2006 19:31:29 +0000 (19:31 +0000)]
Fix typo in last commit:  traceroute(8) -e, not traceroute(8) -c.

Submitted by: Rong-En Fan grafan at gmail dot com
Pointy hat to: Thunderbird, for a too-small default font size
Not ready for reading glasses yet: bmah

18 years agoMove etc/rc.firewall6 to ipfw2+v6, update related rc.d and periodic scripts.
Max Laier [Fri, 12 May 2006 19:17:34 +0000 (19:17 +0000)]
Move etc/rc.firewall6 to ipfw2+v6, update related rc.d and periodic scripts.
Since ipfw2 now does dual-stack, statistics for IPv6 come from the ipfw
scripts as well.

18 years agoForgot to add RELENG_6_1 here as well.
Dag-Erling Smørgrav [Fri, 12 May 2006 19:06:22 +0000 (19:06 +0000)]
Forgot to add RELENG_6_1 here as well.

18 years agoUpdate manpage for net.inet6.ip6.fw.enable sysctl.
Max Laier [Fri, 12 May 2006 18:09:33 +0000 (18:09 +0000)]
Update manpage for net.inet6.ip6.fw.enable sysctl.

Requested by: bz

18 years agoUnbreak build. es1888.c (alpha bit) no longer exist.
Ariff Abdullah [Fri, 12 May 2006 18:05:35 +0000 (18:05 +0000)]
Unbreak build. es1888.c (alpha bit) no longer exist.

18 years agoFix the web-appearance of Hardware notes, in the simplest way
Giorgos Keramidas [Fri, 12 May 2006 17:58:11 +0000 (17:58 +0000)]
Fix the web-appearance of Hardware notes, in the simplest way
possible; by re-arranging a couple of sentences in the ath(4)
HARDWARE section.

Clue by: bmah
MFC after: 1 week

18 years agoapropos(1) does not expand *roff macros that should appear in .Nd
Giorgos Keramidas [Fri, 12 May 2006 17:42:48 +0000 (17:42 +0000)]
apropos(1) does not expand *roff macros that should appear in .Nd
text and, as a result, 'FreeBSD' is not visible in apropos output
when security(7) is displayed.  Fix this buglet by using a
literal 'FreeBSD' string in .Nd

PR: docs/85986
Submitted by: Matthias Schmidt <schmidtm@mathematik.uni-marburg.de>
MFC after: 1 week

18 years agoNew release notes: alpha support removed, jail(8) -s, traceroute(8)
Bruce A. Mah [Fri, 12 May 2006 17:04:18 +0000 (17:04 +0000)]
New release notes:  alpha support removed, jail(8) -s, traceroute(8)
-c, tzdata2006g.

18 years agoPut debugging messages related to inconsistent ticket numbers under misc and
Max Laier [Fri, 12 May 2006 16:15:34 +0000 (16:15 +0000)]
Put debugging messages related to inconsistent ticket numbers under misc and
wrap it __FreeBSD__ specific as I couldn't figure out which version of
OpenBSD I got it from.

Reported by: Scott Ullrich

18 years agoFix gethostbyaddr() prototype to conform to IEEE Std 1003.1:
Hajimu UMEMOTO [Fri, 12 May 2006 15:37:23 +0000 (15:37 +0000)]
Fix gethostbyaddr() prototype to conform to IEEE Std 1003.1:

  http://www.opengroup.org/onlinepubs/009695399/functions/gethostbyaddr.html

gethostbyaddr_r() is changed as well.
It breaks ABI backward compatibility on 64 bit arch.  So, we fix it
on 32 bit arch only for now.

Reported by: Rostislav Krasny <rosti.bsd@gmail.com>

18 years agocorrect strtol(3) usage and style(9)
Matteo Riondato [Fri, 12 May 2006 15:14:43 +0000 (15:14 +0000)]
correct strtol(3) usage and style(9)

Reviewed by: maxim
MFC after: 2 weeks

18 years agoAfter a mini-discussion with Sam Leffler, remove the hardcoded
Giorgos Keramidas [Fri, 12 May 2006 12:55:56 +0000 (12:55 +0000)]
After a mini-discussion with Sam Leffler, remove the hardcoded
list of Atheros-based cards from ath(4).  The online list is
always more up to date, anyway.

This invalidates:

PR: docs/95360
Submitted by: Erik Nordstr:om Andersen <erik@erik-n-andersen.dk>

18 years agoUse 'rm -rf foo/bar' to remove a port instead of 'rm -rf foo/bar/'.
Colin Percival [Fri, 12 May 2006 10:42:40 +0000 (10:42 +0000)]
Use 'rm -rf foo/bar' to remove a port instead of 'rm -rf foo/bar/'.
When /usr/ports/foo/bar is a symlink pointing outside the tree, this
deletes the symlink instead of the directory it points to.

Requested by: delphij

18 years agoDocument VERBOSE_SYSINIT in NOTES.
Benno Rice [Fri, 12 May 2006 10:25:54 +0000 (10:25 +0000)]
Document VERBOSE_SYSINIT in NOTES.

Requested by: Niclas Zeising <lothrandil at n00b dot apagnu dot se>

18 years agoRemove various bits of conditional Alpha code and fixup a few comments.
John Baldwin [Fri, 12 May 2006 05:04:46 +0000 (05:04 +0000)]
Remove various bits of conditional Alpha code and fixup a few comments.

18 years agoReintroduce net.inet6.ip6.fw.enable sysctl to dis/enable the ipv6 processing
Max Laier [Fri, 12 May 2006 04:41:27 +0000 (04:41 +0000)]
Reintroduce net.inet6.ip6.fw.enable sysctl to dis/enable the ipv6 processing
seperately.  Also use pfil hook/unhook instead of keeping the check
functions in pfil just to return there based on the sysctl.  While here fix
some whitespace on a nearby SYSCTL_ macro.

18 years agoRemove the snd_ess identify routine for the sound device in Alpha PWS
John Baldwin [Fri, 12 May 2006 04:11:25 +0000 (04:11 +0000)]
Remove the snd_ess identify routine for the sound device in Alpha PWS
machines.

18 years agoRemove some tga bits I missed.
John Baldwin [Fri, 12 May 2006 04:10:38 +0000 (04:10 +0000)]
Remove some tga bits I missed.

18 years agoRemove more Alpha bits from the boot code including fixing several
John Baldwin [Fri, 12 May 2006 04:09:53 +0000 (04:09 +0000)]
Remove more Alpha bits from the boot code including fixing several
stale comments.

18 years agoRemove Alpha bits for ficl.
John Baldwin [Fri, 12 May 2006 04:07:42 +0000 (04:07 +0000)]
Remove Alpha bits for ficl.

18 years agoadd support for makeoptions MFS_IMAGE="<file>" in the config file which
John-Mark Gurney [Fri, 12 May 2006 02:45:12 +0000 (02:45 +0000)]
add support for makeoptions MFS_IMAGE="<file>" in the config file which
will automaticly populate the kernel w/ the mfs image...

18 years agoAdd a new kernel config option, VERBOSE_SYSINIT.
Benno Rice [Fri, 12 May 2006 02:01:38 +0000 (02:01 +0000)]
Add a new kernel config option, VERBOSE_SYSINIT.

When porting FreeBSD to a new platform, one of the more useful things to do is
get mi_startup() to let you know which SYSINIT it's up to.  Most people tend to
whack a printf in the SYSINIT loop to print the address of the function it's
about to call.  Going one better, jhb made a version that uses DDB to look up
the name of the function and print that instead.  This version is essentially
his with the addition of some ifdeffery to make it optional and to allow it to
work (although using only the function address, not the symbol) if you forgot
to enable DDB.

All the cool bits by: jhb
Approved by: scottl, rink, cognet, imp

18 years agoFix a variety of gram-mos (hopefully I didn't introduce any new
Bruce A. Mah [Thu, 11 May 2006 22:55:18 +0000 (22:55 +0000)]
Fix a variety of gram-mos (hopefully I didn't introduce any new
ones).  No (intended) content changes.

18 years agoFix braino in previous commit: Don't redefine OID_AUTO to something
Marcel Moolenaar [Thu, 11 May 2006 22:49:31 +0000 (22:49 +0000)]
Fix braino in previous commit: Don't redefine OID_AUTO to something
not equal to -1, or at all for that matter.

18 years agoFirst pass at removing Alpha kernel support.
John Baldwin [Thu, 11 May 2006 22:25:28 +0000 (22:25 +0000)]
First pass at removing Alpha kernel support.

18 years agoFixup some comments to allow for the fact that PCI domains are not specific
John Baldwin [Thu, 11 May 2006 22:13:21 +0000 (22:13 +0000)]
Fixup some comments to allow for the fact that PCI domains are not specific
to Alpha hoses.

18 years agoUse __LP64__ rather than the PTR64 hack.
John Baldwin [Thu, 11 May 2006 21:59:55 +0000 (21:59 +0000)]
Use __LP64__ rather than the PTR64 hack.

Suggested by: ru

18 years agoFor some reason, it looks like SA-06:{10,11,12,13} were not mentioned
Bruce A. Mah [Thu, 11 May 2006 19:17:17 +0000 (19:17 +0000)]
For some reason, it looks like SA-06:{10,11,12,13} were not mentioned
in HEAD's release notes, even though the issues involved were applied
(and fixed).  Copy their descriptions from one of the RELENG_*
branches (RELENG_5 in this case).

SA-06:08 and SA-06:09 were not applicable to code on HEAD and thus not
mentioned.

18 years agoo Style(9) the previous commit a bit.
Maxim Konovalov [Thu, 11 May 2006 19:06:33 +0000 (19:06 +0000)]
o Style(9) the previous commit a bit.

18 years agoDisconnect Alpha from 'make universe'.
John Baldwin [Thu, 11 May 2006 18:54:16 +0000 (18:54 +0000)]
Disconnect Alpha from 'make universe'.

18 years agoSo, what's it supposed to say when you type "make love"?
Ruslan Ermilov [Thu, 11 May 2006 18:08:44 +0000 (18:08 +0000)]
So, what's it supposed to say when you type "make love"?

18 years agoRemove more straggling CPU_ macro references
Poul-Henning Kamp [Thu, 11 May 2006 17:53:26 +0000 (17:53 +0000)]
Remove more straggling CPU_ macro references

18 years agoRemove straggling reference to CPU_ macros
Poul-Henning Kamp [Thu, 11 May 2006 17:51:10 +0000 (17:51 +0000)]
Remove straggling reference to CPU_ macros

18 years agoRevert if_bfereg.h rev 1.8; restore the RX and TX list sizes to 511.
Mike Silbersack [Thu, 11 May 2006 17:39:06 +0000 (17:39 +0000)]
Revert if_bfereg.h rev 1.8; restore the RX and TX list sizes to 511.

Two users have reported problems due to the smaller list sizes.

18 years agoAdd support for the VIA C7-M processor family.
Nate Lawson [Thu, 11 May 2006 17:35:44 +0000 (17:35 +0000)]
Add support for the VIA C7-M processor family.

Remove an unnecessary check of the table's bus clock.  CPUs that
support this feature export only the high/low settings via the MSR,
packed into 32 bits.

Hardware from: Centaur Technologies
MFC after: 1 week