17 years agoMerge from vendor branch GDB:
Simon Schubert [Wed, 11 Jan 2006 00:52:13 +0000 (00:52 +0000)]
Merge from vendor branch GDB:
Remove HP-UX only files

17 years agoRemove HP-UX only files
Simon Schubert [Wed, 11 Jan 2006 00:52:13 +0000 (00:52 +0000)]
Remove HP-UX only files

17 years agoRemove HP-UX only files
Simon Schubert [Wed, 11 Jan 2006 00:52:13 +0000 (00:52 +0000)]
Remove HP-UX only files

17 years agodo not try to hold serializer in nge_rxeof(), since nge_rxeof() is called by
Sepherosa Ziehau [Tue, 10 Jan 2006 14:14:00 +0000 (14:14 +0000)]
do not try to hold serializer in nge_rxeof(), since nge_rxeof() is called by
nge_poll() and nge_intr() which already have held serializer

Reported-and-Tested-by: Steve O'Hara-Smith <steve at sohara.org>
17 years agoAdd missing pkgsrc paths to shell dotfiles and rc scripts
Simon Schubert [Tue, 10 Jan 2006 01:56:04 +0000 (01:56 +0000)]
Add missing pkgsrc paths to shell dotfiles and rc scripts

Noticed-by: Joseph Garcia
17 years agoFix a refcount bug which would appear when you kldunloaded a busy module,
Simon Schubert [Tue, 10 Jan 2006 00:33:12 +0000 (00:33 +0000)]
Fix a refcount bug which would appear when you kldunloaded a busy module,
preventing it to be unloaded later when it wasn't busy anymore, stating
"linkerunload: attempt to unload file that was loaded by the kernel".

17 years agoAdd missing \n to printf
Simon Schubert [Mon, 9 Jan 2006 15:14:49 +0000 (15:14 +0000)]
Add missing \n to printf

17 years agoFix proc->lwp conversion error
Simon Schubert [Mon, 9 Jan 2006 15:13:44 +0000 (15:13 +0000)]
Fix proc->lwp conversion error

17 years agoAdd kwrite, a tool to inspect and write kernel memory
Simon Schubert [Mon, 9 Jan 2006 15:05:45 +0000 (15:05 +0000)]
Add kwrite, a tool to inspect and write kernel memory

17 years agoFurther cleanup of GCC's builtin directory list in an attempt to
Joerg Sonnenberger [Fri, 6 Jan 2006 16:38:55 +0000 (16:38 +0000)]
Further cleanup of GCC's builtin directory list in an attempt to
make GCC more cross-build friendly.

17 years agoAllow static compilation of linprocfs using a LINPROCFS option.
Joerg Sonnenberger [Fri, 6 Jan 2006 15:50:07 +0000 (15:50 +0000)]
Allow static compilation of linprocfs using a LINPROCFS option.

17 years agoHonour NOSFCHG for the kernel installation as well, allowing to install
Joerg Sonnenberger [Fri, 6 Jan 2006 15:49:01 +0000 (15:49 +0000)]
Honour NOSFCHG for the kernel installation as well, allowing to install
a kernel within a jail for example.

17 years agoSleep before commit, remove trailing ,
Joerg Sonnenberger [Fri, 6 Jan 2006 15:01:38 +0000 (15:01 +0000)]
Sleep before commit, remove trailing ,

17 years agonextpid is not public, so don't use it. It's not really useful anyway,
Joerg Sonnenberger [Fri, 6 Jan 2006 15:01:06 +0000 (15:01 +0000)]
nextpid is not public, so don't use it. It's not really useful anyway,
so just return 1.

17 years agoRemove useless define.
Joerg Sonnenberger [Fri, 6 Jan 2006 14:45:04 +0000 (14:45 +0000)]
Remove useless define.

17 years agoAdd -P to the cvs example commands.
David Rhodus [Fri, 6 Jan 2006 02:44:53 +0000 (02:44 +0000)]
Add -P to the cvs example commands.

17 years agoClean up unmount() by removing the vnode resolution requirement. Just
Matthew Dillon [Wed, 4 Jan 2006 18:11:26 +0000 (18:11 +0000)]
Clean up unmount() by removing the vnode resolution requirement.  Just
use the namecache to validate the mount point.

Submitted-by: Csaba Henk <csaba.henk@creo.hu>
17 years agoMostly fix nullfs. There are still namespace race issues between
Matthew Dillon [Wed, 4 Jan 2006 03:09:54 +0000 (03:09 +0000)]
Mostly fix nullfs.  There are still namespace race issues between
a nullfs mount and the underlying filesystem.  The new nullfs
uses the new VFS ABI and namespace to avoid having to overload
all the VFS ops.

Turn off umapfs (it needed parts of the old nullfs).

Submitted-by: Csaba Henk <csaba.henk@creo.hu>
17 years agoFix buildworld with WANT_GCC40 defined. In gcc-4.0, __offsetof__ macro
YONETANI Tomokazu [Mon, 2 Jan 2006 06:02:01 +0000 (06:02 +0000)]
Fix buildworld with WANT_GCC40 defined. In gcc-4.0,  __offsetof__ macro
has been replaced with __builtin_offsetof macro, which also does
the complex type-casting stuff needed by the version using __offsetof__.

17 years agoBump OS version to 1.5 for DEVELOPMENT.
Sascha Wildner [Sun, 1 Jan 2006 21:34:50 +0000 (21:34 +0000)]
Bump OS version to 1.5 for DEVELOPMENT.

17 years agoSome of ServeRAID card may report an unusual status code after
YONETANI Tomokazu [Sun, 1 Jan 2006 16:53:15 +0000 (16:53 +0000)]
Some of ServeRAID card may report an unusual status code after
an ffdc reset command, but it seems to work correctly afterwards.
Since original ips driver in FreeBSD doesn't treat this as an error
(nor does Linux), ignoring this is probably not a big problem.

Reported-by: Francis GUDIN
17 years agoAdd a target that will update the 1.4-release slip tag.
Matthew Dillon [Sun, 1 Jan 2006 00:12:35 +0000 (00:12 +0000)]
Add a target that will update the 1.4-release slip tag.

17 years agoAdd 2006 to the copyrights.
Sascha Wildner [Sun, 1 Jan 2006 00:00:06 +0000 (00:00 +0000)]
Add 2006 to the copyrights.

*** HAPPY NEW YEAR! :) ***

17 years agoFinish fixing NDIS serialization. Wrap detach in the serializer and remove
Matthew Dillon [Sat, 31 Dec 2005 23:35:40 +0000 (23:35 +0000)]
Finish fixing NDIS serialization.  Wrap detach in the serializer and remove
all vestiges of NDIS_LOCK from the emulation support code.  NDIS is expected
to be serialized on entry, now.

17 years agoPreliminary ndis cleanup. The serializer has taken over the functionality
Matthew Dillon [Sat, 31 Dec 2005 19:39:14 +0000 (19:39 +0000)]
Preliminary ndis cleanup.  The serializer has taken over the functionality
that the token locks used to have, so remove the token locks.  Also remove
unnecessary 'return;' statements at the end of void procedures.

17 years agoBuild wchar string support
Simon Schubert [Sat, 31 Dec 2005 17:28:42 +0000 (17:28 +0000)]
Build wchar string support

17 years agoMove bus_teardown_intr() from wi_free() into wi_detach(). This is accidentally
Sepherosa Ziehau [Sat, 31 Dec 2005 14:25:04 +0000 (14:25 +0000)]
Move bus_teardown_intr() from wi_free() into wi_detach().  This is accidentally
left out in rev1.34

17 years ago{ether,ieee80211}_ifdetach() can't be called with serializer being held, since
Sepherosa Ziehau [Sat, 31 Dec 2005 14:08:01 +0000 (14:08 +0000)]
{ether,ieee80211}_ifdetach() can't be called with serializer being held, since
they will go through code which tries to hold serializer again, e.g.
ether_ifdetach() -> if_detach() -> in_control()

So in various NICs' xxx_detach():
- Move bus_teardown_intr() under "(device_is_attached())", whenever it is
  applicable.  Since it is not possible that intrhandle is NULL here, nuke
  original "(intrhandle != NULL)".  This can:
    1) Avoid holding serializer, if xxx_attach() fails
    2) Release serializer ASAP
    3) Ease following tasks
- Hold serializer only for xxx_stop()(or similar functions which stops NIC) and
- Call {ether,ieee80211}_ifdetach() after serializer is released

Other stuffs:
- Serialize xxx_detach() for awi(4), ep(4), sn(4) and xe(4)
- Release serializer before returning from {ed_pccard,ray}_detach()
- Make ipw(4)'s ipw_detach() suitable for error handling, adjust ipw_attach()
- Fix a bug in ex_pccard_detach(): instead of if_detach(), ether_ifdetach()
  should be used here
- For ndis(4), "ifp->serializer" ==> "ifp->if_serializer"
Reported-by: esmith <esmith@postmark.net>
Discussed-with: dillon and joerg
Partially-Reviewed-by: dillon and joerg
Reported-by: Steve Mynott <steve.mynott@gmail.com> and me
17 years agoSync zoneinfo database with tzdata2005r from elsie.
Sascha Wildner [Sat, 31 Dec 2005 03:15:55 +0000 (03:15 +0000)]
Sync zoneinfo database with tzdata2005r from elsie.

africa:         7.39 -> 7.40
antarctica:     7.25 -> 7.30
asia:           7.88 -> 7.90
australasia:    7.74 -> 7.78
backward: 7.29 -> 7.30
europe:         7.95 -> 7.96
northamerica:   7.82 -> 7.87
southamerica:   7.63 -> 7.66
systemv:        7.3  -> 7.5

- Make systemv rules distinct files rather than linking them to particular
  geographic areas (that might change rules).

- Remove email addresses.

- Remove dead URLs.

- Adjust Canada and Winn rules to follow the US changes to DST in 2007.

- Add "<pre>" directives.

17 years agoWeed out files with .sample, .orig, or .dist extensions. Proceduralize
Matthew Dillon [Fri, 30 Dec 2005 21:01:49 +0000 (21:01 +0000)]
Weed out files with .sample, .orig, or .dist extensions.  Proceduralize
the check to make future additions easy.

Suggested-by: "Justin C. Sherrill" <justin@shiningsilence.com>,
Joerg Sonnenberger <joerg@britannica.bec.de>

17 years agoDo not call ether_ifdetach() with the serializer held in IF_TAP.
Matthew Dillon [Fri, 30 Dec 2005 18:37:09 +0000 (18:37 +0000)]
Do not call ether_ifdetach() with the serializer held in IF_TAP.

17 years agoThe stat and ino_t changes were not intended to break dump/restore
Matthew Dillon [Fri, 30 Dec 2005 17:54:30 +0000 (17:54 +0000)]
The stat and ino_t changes were not intended to break dump/restore
compatibility.  Restore compatibility.  Note that dumps made with
1.3-DEVELOPMENT between the stat/ino changes and this patch will be broken.

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
17 years agoether_input() no longer allows the MAC header to be passed separately,
Matthew Dillon [Fri, 30 Dec 2005 17:41:15 +0000 (17:41 +0000)]
ether_input() no longer allows the MAC header to be passed separately,
fix the vlan code to accomodate.

Add support for VLAN_MTU and VLAN_HWTAGGING.  LINK0 no longer needs to
be set manually on a vlan interface to enable hardware support.  And
update the manual page.

Reported-by: Gary Allan <dragonfly@gallan.plus.com>
Submitted-by: Matthew Dillon (ether_input fixes),
      Gary Allan (HW tagging and manual page)

17 years agoEnable wchar usage.
Joerg Sonnenberger [Fri, 30 Dec 2005 16:57:42 +0000 (16:57 +0000)]
Enable wchar usage.

17 years agoProvide proper offsetof macro for C++. Prefer __size_t here, since
Joerg Sonnenberger [Fri, 30 Dec 2005 15:29:26 +0000 (15:29 +0000)]
Provide proper offsetof macro for C++. Prefer __size_t here, since
it is the only version defined up to this point.

Obtained-from: FreeBSD

XXX This really belongs into sys/cdefs.h, but I want to avoid breaking
anything at this point.

17 years agoAdd support for Xircom X3201
Sepherosa Ziehau [Fri, 30 Dec 2005 13:39:21 +0000 (13:39 +0000)]
Add support for Xircom X3201

Obtained-from: FreeBSD
Tested-by: Tim Darby <t-df@timdarby.net>
17 years agoAdd link for bzip2recover(1).
Sascha Wildner [Fri, 30 Dec 2005 12:52:31 +0000 (12:52 +0000)]
Add link for bzip2recover(1).

17 years agoTesting commits.
Justin C. Sherrill [Fri, 30 Dec 2005 04:24:39 +0000 (04:24 +0000)]
Testing commits.

17 years agoDo not require a .sh extension for scripts in local_startup dirs,
Matthew Dillon [Thu, 29 Dec 2005 20:48:01 +0000 (20:48 +0000)]
Do not require a .sh extension for scripts in local_startup dirs,
e.g. /usr/local/etc/rc.d, /usr/pkg/etc/rc.d.  Just assume that all executable
files in said directories are scripts.

This will allow pkgsrc and ports packages which install RC scripts to

Brought-up-by: Cheese Lottery <cheeselottery@gmail.com> (and many others
       over the years).

17 years agoGive up trying to port ezm3, add a cvsup binary bootstrap package to
Matthew Dillon [Thu, 29 Dec 2005 20:18:58 +0000 (20:18 +0000)]
Give up trying to port ezm3, add a cvsup binary bootstrap package to
the release build.  Throw it into /usr/local/bin since it isn't a pkgsrc
package and isn't part of base.

17 years agoAdd a cvsup example to track the 1.4 release.
Matthew Dillon [Thu, 29 Dec 2005 17:48:25 +0000 (17:48 +0000)]
Add a cvsup example to track the 1.4 release.

Suggested-by: "Justin C. Sherrill" <justin@shiningsilence.com>
17 years agoAdd a 2 second delay after configuring interfaces before continuing.
Matthew Dillon [Thu, 29 Dec 2005 17:29:10 +0000 (17:29 +0000)]
Add a 2 second delay after configuring interfaces before continuing.
dhclient and named can get mightily confused if an interface they need
isn't entirely operational.

This is a temporary hack until we get more proactive interface testing
ported from FreeBSD.

17 years agoMake wait*() behave the same as it did before we moved TSTOP handling
Matthew Dillon [Wed, 28 Dec 2005 19:13:34 +0000 (19:13 +0000)]
Make wait*() behave the same as it did before we moved TSTOP handling
out of tsleep().  The behavior was that if both parent and child are
stopped together (aka via ^Z), and then resumed together, and the parent
is doing a WUNTRACED wait*() on the child, the parent will only see the
resume.  Without this little hack the parent will see both the STOP (after
the child has resumed since the parent was stopped too!), and then the

It is unclear whether this is mandated by standards or not, but for now
we are going to maintain backwards compatibility.

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
17 years agoUse the Er macro for error numbers.
Sascha Wildner [Wed, 28 Dec 2005 13:35:02 +0000 (13:35 +0000)]
Use the Er macro for error numbers.

17 years agoIn fxp_detach(), disable interrupts after fxp_stop(), since software resetting
Sepherosa Ziehau [Wed, 28 Dec 2005 10:28:24 +0000 (10:28 +0000)]
In fxp_detach(), disable interrupts after fxp_stop(), since software resetting
in fxp_stop() may leave interrupts turned on (*).

(*) My "Intel 82559 Pro/100 Ethernet" always does this

17 years agoDo not try to detach when successfully attached.
YONETANI Tomokazu [Wed, 28 Dec 2005 02:49:31 +0000 (02:49 +0000)]
Do not try to detach when successfully attached.

17 years agoPull in relevant parts of FreeBSD's rev. 1.42 and sync our badly outdated
Sascha Wildner [Tue, 27 Dec 2005 22:45:23 +0000 (22:45 +0000)]
Pull in relevant parts of FreeBSD's rev. 1.42 and sync our badly outdated
malloc(9) manpage with reality.

In-discussion-with: corecode

17 years agoAfter much hair pulling the problem with dual BGE interfaces not coming up
Matthew Dillon [Tue, 27 Dec 2005 21:32:11 +0000 (21:32 +0000)]
After much hair pulling the problem with dual BGE interfaces not coming up
has been tracked down to BGE0 sharing an interrupt with ACPI.  The bug is
actually in ACPI.  ACPI installs its interrupt vector too early, before
the IO APICs have been configured, so the IO pin is not actually turned on.

Then, later, bge0 installs its interrupt on the same IRQ but the IOAPIC is
still not enabled because the interrupt subsystem thinks it has already
enabled it.

For the moment, just hack a fix into kern_intr.c to always reinitialize
the pin, with a big XXX comment describing the problem.

Reported-by: David Rhodus
17 years agoFix a type-o that was causing the wrong mbuf's csum_data to be adjusted
Matthew Dillon [Tue, 27 Dec 2005 18:42:31 +0000 (18:42 +0000)]
Fix a type-o that was causing the wrong mbuf's csum_data to be adjusted
in IPFW.

Reported-by: Gary Allan <dragonfly@gallan.plus.com>
Taken-from: FreeBSD/

17 years agoA ^Z signals the whole process group, causing the parent process (vipw) to
Matthew Dillon [Mon, 26 Dec 2005 20:18:56 +0000 (20:18 +0000)]
A ^Z signals the whole process group, causing the parent process (vipw) to
return a stopped status for the child AND to go to sleep at the same time.

Originally the parent (vipw) stopped before it checked the child state, and
thus would not 'notice' the child going into a stopped state because the
parent would get interrupted by the SIGCONT, execute the wakeup of the
child (vi), then restart the wait*().

But now due to the fact that the process no longer enters a STOPPED
state until it actually tries to return to userland, the wait*() call will
in fact try to return the child's 'old' stopped state when both processes
are stopped with TSTP, then return it when the parent process is woken up
by the SIGCONT.

For now solve the problem by not trying to check the stopped status of
the child.

Reported-by: YONETANI Tomokazu <qhwt+dfly@les.ath.cx>
17 years agohook rgephy
Sepherosa Ziehau [Mon, 26 Dec 2005 13:39:50 +0000 (13:39 +0000)]
hook rgephy

17 years agoregen
Sepherosa Ziehau [Mon, 26 Dec 2005 13:38:38 +0000 (13:38 +0000)]

17 years agoAdd PHY module for re(4)
Sepherosa Ziehau [Mon, 26 Dec 2005 13:36:18 +0000 (13:36 +0000)]
Add PHY module for re(4)

Changes to the original code:
- Turn on MIIF_IS_1000X so that mii_bmsr_media_to_anar() won't lie
- Enable auto-negotiation in rgephy_reset() so that ifconfig(8) will report
  correct media even when re(4) is not up

Obtained-from: FreeBSD
Patched-by: me and Gary Allan <dragonfly@gallan.plus.com>
Requested-by: Tomaz Borstnar <tomaz.borstnar@over.net>
Tested-by: Tomaz Borstnar <tomaz.borstnar@over.net>
   Gary Allan <dragonfly@gallan.plus.com>
   and me

# Thank Bill Paul and many other people for their work on this PHY module

17 years ago* Ansify function definitions.
Sascha Wildner [Sat, 24 Dec 2005 20:34:04 +0000 (20:34 +0000)]
* Ansify function definitions.

* Remove (void) casts for discarded return values.

* Remove parameter names from function prototypes.

In-collaboration-with: Alexey Slynko <slynko@tronet.ru>

17 years agoComment out dfports (deprecated). Add doc (commented out).
Sascha Wildner [Sat, 24 Dec 2005 20:21:51 +0000 (20:21 +0000)]
Comment out dfports (deprecated). Add doc (commented out).

17 years agoClean up whitespace
Simon Schubert [Sat, 24 Dec 2005 14:29:47 +0000 (14:29 +0000)]
Clean up whitespace

Taken-from: FreeBSD

17 years agoMFFreeBSD rev 1.155 and 1.156:
Simon Schubert [Sat, 24 Dec 2005 14:27:47 +0000 (14:27 +0000)]
MFFreeBSD rev 1.155 and 1.156:

revision 1.156
date: 2004-08-28 00:58:02 -0700;  author: yar;  state: Exp;  lines: +4 -3;
Avoid double appearing of cloned interfaces in the output
from list_net_interfaces() when network_interfaces=auto.

Rationale: Since the auto case is special, the lesser evil
had to be chosen among not adding cloned interfaces to
_tmplist or removing duplicates from _tmplist after adding
cloned interfaces.  Since list_net_interfaces() must not use
/usr/bin tools, the former "evil" appeared clearer and much
more efficient.  (See the PR audit trail for discussion.)

PR: conf/63700
Reviewed by: brooks
MFC after: 5 days
revision 1.155
date: 2004-08-27 05:11:47 -0700;  author: yar;  state: Exp;  lines: +1 -1;
Fix a typo in a variable name.

17 years agoFix parameter order in livelock message.
Sascha Wildner [Fri, 23 Dec 2005 22:17:39 +0000 (22:17 +0000)]
Fix parameter order in livelock message.

17 years ago* Ansify function definitions.
Sascha Wildner [Fri, 23 Dec 2005 21:35:44 +0000 (21:35 +0000)]
* Ansify function definitions.

* Remove (void) casts for discarded return values.

17 years agoFix the installer_quickrel target. Also fix the pkgsrc bootstrap, not
Matthew Dillon [Fri, 23 Dec 2005 20:29:57 +0000 (20:29 +0000)]
Fix the installer_quickrel target.  Also fix the pkgsrc bootstrap, not
enough data was being copied into ISOROOT to run the bootstrap.

17 years ago1.4 Release branched, HEAD is now 1.5.
Matthew Dillon [Fri, 23 Dec 2005 19:10:54 +0000 (19:10 +0000)]
1.4 Release branched, HEAD is now 1.5.

17 years agoBy the time list_net_interfaces() is called in /etc/rc.d/netif, clone_up()
Matthew Dillon [Fri, 23 Dec 2005 17:42:59 +0000 (17:42 +0000)]
By the time list_net_interfaces() is called in /etc/rc.d/netif,  clone_up()
has already created each of $cloned_interface and they will show up in
the ifconfig -l.  There is no need to add $cloned_interfaces to the list
(it will result in the cloned interfaces being configured twice).

Submitted-by: Chris Csanady <cc@137.org>
17 years agoAccount for packets sent out via the bridge interface
Simon Schubert [Fri, 23 Dec 2005 17:41:36 +0000 (17:41 +0000)]
Account for packets sent out via the bridge interface

Submitted-by: Chris Csanady <cc@137.org>
17 years agoBPF_MTAP at the right place so packets to the bridge iface are tapped as well
Simon Schubert [Fri, 23 Dec 2005 17:38:23 +0000 (17:38 +0000)]
BPF_MTAP at the right place so packets to the bridge iface are tapped as well

Submitted-by: Chris Csanady <cc@137.org>
17 years agoBump us to 1.3.8 in preparation for pre-release tagging.
Matthew Dillon [Fri, 23 Dec 2005 10:11:48 +0000 (10:11 +0000)]
Bump us to 1.3.8 in preparation for pre-release tagging.

17 years agoCleanup minor typeos.
Matthew Dillon [Fri, 23 Dec 2005 10:08:14 +0000 (10:08 +0000)]
Cleanup minor typeos.

Submitted-by: Michal Belczyk <belczyk@bsd.krakow.pl>
17 years agorun ./bootstrap in a chroot so it configures the correct paths in the
Matthew Dillon [Thu, 22 Dec 2005 23:23:34 +0000 (23:23 +0000)]
run ./bootstrap in a chroot so it configures the correct paths in the
pkgsrc binaries (there does not appear to be a way to specify a target
install location different from the one used to locate pkgsrc binaries).

Set the default working directory to /usr/obj/pkgsrc rather then creating
working directories inside /usr/pkgsrc.  This will save annoyances for
people who mount /usr/pkgsrc via NFS.

Install a default /etc/mk.conf as part of the root skeleton.

17 years agoAquire serializer before calling ioctl
Simon Schubert [Thu, 22 Dec 2005 15:16:13 +0000 (15:16 +0000)]
Aquire serializer before calling ioctl

Submitted-by: Chris Csanady <cc@137.org>
17 years agoFix numerous nrelease build issues related to the pkgsrc conversion.
Matthew Dillon [Thu, 22 Dec 2005 06:32:11 +0000 (06:32 +0000)]
Fix numerous nrelease build issues related to the pkgsrc conversion.

* Place packages on pkgbox.dragonflybsd.org in a release-specific
  directory.  Adjust the fetch URLs to point to this box.
* Add sophisticated checks for required distributions and distribution
  sets, output exact and easy to follow instructions on how to install
  required pieces.
* Add make targets to install required pieces that are missing.
* Install specific package versions.
* Include a /usr/local/share/dfuibe_installer/sources.conf file to override
  the copy list and add additional directories that must be copied
  (/usr/freebsd_pkg and /usr/pkg).

17 years agoAdd documentation for the pfil interface. This is NetBSD's rev. 1.24
Sascha Wildner [Wed, 21 Dec 2005 19:50:54 +0000 (19:50 +0000)]
Add documentation for the pfil interface. This is NetBSD's rev. 1.24
of the manpage with bits and pieces taken from later revisions.

17 years agoAdd a simple library for the default g77 linkage, providing main.
Joerg Sonnenberger [Wed, 21 Dec 2005 17:07:33 +0000 (17:07 +0000)]
Add a simple library for the default g77 linkage, providing main.

17 years agoAdd g77 here as well.
Joerg Sonnenberger [Wed, 21 Dec 2005 16:48:06 +0000 (16:48 +0000)]
Add g77 here as well.

17 years agoAdd g77 link.
Joerg Sonnenberger [Wed, 21 Dec 2005 16:43:17 +0000 (16:43 +0000)]
Add g77 link.

17 years agoBring in if_bridge from Open-/Net-/FreeBSD
Simon Schubert [Wed, 21 Dec 2005 16:40:25 +0000 (16:40 +0000)]
Bring in if_bridge from Open-/Net-/FreeBSD

Based-on-patch-by: Andrew Atrens
Reviewed-and-locking-corrected-by: dillon and sephe
17 years agoBring in if_bridge from Open-/Net-/FreeBSD
Simon Schubert [Wed, 21 Dec 2005 16:37:15 +0000 (16:37 +0000)]
Bring in if_bridge from Open-/Net-/FreeBSD

Based-on-patch-by: Andrew Atrens
Reviewed-and-locking-corrected-by: dillon and sephe
17 years agoBring in if_bridge from Open-/Net-/FreeBSD
Simon Schubert [Wed, 21 Dec 2005 16:33:20 +0000 (16:33 +0000)]
Bring in if_bridge from Open-/Net-/FreeBSD

Based-on-patch-by: Andrew Atrens
Reviewed-and-locking-corrected-by: dillon and sephe
17 years agoCreate usr/include/net/oldbridge
Simon Schubert [Wed, 21 Dec 2005 11:18:30 +0000 (11:18 +0000)]
Create usr/include/net/oldbridge

17 years agoFix installworld until new bridge is fully committed.
Sascha Wildner [Wed, 21 Dec 2005 01:28:00 +0000 (01:28 +0000)]
Fix installworld until new bridge is fully committed.

17 years agoClean up some minor typos in comments.
Matthew Dillon [Tue, 20 Dec 2005 19:09:35 +0000 (19:09 +0000)]
Clean up some minor typos in comments.

Submitted-by: Michal Belczyk <belczyk@bsd.krakow.pl>
17 years agoAdd some better mdoc markup.
Sascha Wildner [Tue, 20 Dec 2005 16:09:31 +0000 (16:09 +0000)]
Add some better mdoc markup.

17 years agoOS is no longer needed.
Sascha Wildner [Tue, 20 Dec 2005 15:25:45 +0000 (15:25 +0000)]
OS is no longer needed.

17 years agoAdd documentation about the interrupt flags and the serializer argument.
Sascha Wildner [Tue, 20 Dec 2005 13:16:14 +0000 (13:16 +0000)]
Add documentation about the interrupt flags and the serializer argument.

Docs-written-by: dillon
mdoc-bells-and-whistles: swildner

17 years agoFix xrefs.
Sascha Wildner [Tue, 20 Dec 2005 13:05:15 +0000 (13:05 +0000)]
Fix xrefs.

17 years agoRemove use of keywords in rc.d/*
Simon Schubert [Tue, 20 Dec 2005 11:57:48 +0000 (11:57 +0000)]
Remove use of keywords in rc.d/*

17 years agoDon't try to install bridge.4, install oldbridge.4
Simon Schubert [Tue, 20 Dec 2005 01:54:09 +0000 (01:54 +0000)]
Don't try to install bridge.4, install oldbridge.4

17 years agoMFBSD:
David Xu [Tue, 20 Dec 2005 00:21:53 +0000 (00:21 +0000)]
Split fread into MT-safe and none MT-safe versions, let __vfscanf
call none MT-safe version, so that sscanf does not leak memory.

17 years agoClear return code to zero if joiner sucessfully waited joinee.
David Xu [Tue, 20 Dec 2005 00:19:41 +0000 (00:19 +0000)]
Clear return code to zero if joiner sucessfully waited joinee.

17 years agoAdd a feature that allows a correction factor to be applied to attempt
Matthew Dillon [Mon, 19 Dec 2005 17:09:58 +0000 (17:09 +0000)]
Add a feature that allows a correction factor to be applied to attempt
to remove the overhead of the KTR logging call itself.

17 years agoFix a number of panic conditions for network cardbus devices by implementing
Matthew Dillon [Mon, 19 Dec 2005 01:18:58 +0000 (01:18 +0000)]
Fix a number of panic conditions for network cardbus devices by implementing
the now mandatory interrupt serialization.

Reported-by: Steve Mynott <steve.mynott@gmail.com>
Patches-by: Matthew Dillon and Sepherosa Ziehau <sepherosa@gmail.com>
17 years agoAdjust sources to accomodate for repo copy of our bridging code
Simon Schubert [Mon, 19 Dec 2005 00:07:02 +0000 (00:07 +0000)]
Adjust sources to accomodate for repo copy of our bridging code

sys/net/bridge was copied to sys/net/oldbridge

17 years agoAfter bus/pci/pcivar.h rev1.10, pcib_get_bus() should be called with device's
Sepherosa Ziehau [Sun, 18 Dec 2005 12:02:15 +0000 (12:02 +0000)]
After bus/pci/pcivar.h rev1.10, pcib_get_bus() should be called with device's
parent not device itself

17 years agoRemove unneeded tls_get_curthread() call.
David Xu [Sun, 18 Dec 2005 11:02:05 +0000 (11:02 +0000)]
Remove unneeded tls_get_curthread() call.

17 years agoAdd KTR logging to the core tcp protocol loop.
Matthew Dillon [Sun, 18 Dec 2005 08:16:14 +0000 (08:16 +0000)]
Add KTR logging to the core tcp protocol loop.

17 years ago- serialize iwi(4)
Sepherosa Ziehau [Sun, 18 Dec 2005 02:47:34 +0000 (02:47 +0000)]
- serialize iwi(4)
- iwi(4) relys on working interrupt to perform various operations (e.g. loading
  firmware), so serializer is released before tsleep() and extra code is added
  to promise MPSAFE

Reported-by: Joe Talbott <josepht at cstone.net>
Tested-by: Joe Talbott <josepht at cstone.net>
Based-on-patch-from: dillon
Reviewed-by: dillon
17 years ago1) Add support for NIC found in Sony FS570 laptops
Sepherosa Ziehau [Sat, 17 Dec 2005 09:09:21 +0000 (09:09 +0000)]
1) Add support for NIC found in Sony FS570 laptops
2) Add support for NIC found in Sony Vaio VGN-TX1XP laptops

Obtained-from: FreeBSD dev/fxp/if_fxp.c rev 1.226, 1.252

# 1) was submitted to FreeBSD by:
# Gavin Atkinson <gavin.atkinson at ury.york.ac.uk>

# 2) was submitted to FreeBSD by:
# Thomas Hurst <tom at hur.st>

17 years agoProperly integrate the now mandatory serializer into the WI network driver.
Matthew Dillon [Fri, 16 Dec 2005 21:05:48 +0000 (21:05 +0000)]
Properly integrate the now mandatory serializer into the WI network driver.

Reported-by: Steve Mynott <steve.mynott@gmail.com>
Patch-supplied-by: Sepherosa Ziehau <sepherosa@gmail.com>
17 years agoDo not try to write sparse files when using zlib.
Simon Schubert [Thu, 15 Dec 2005 22:20:49 +0000 (22:20 +0000)]
Do not try to write sparse files when using zlib.

Noticed-by: Joe Talbott <josepht@cstone.net>
Obtained-from: FreeBSD

17 years agoUpdate for axe(4), nv(4), re(4) and rue(4). Add missing xref to bfe(4).
Sascha Wildner [Thu, 15 Dec 2005 09:04:59 +0000 (09:04 +0000)]
Update for axe(4), nv(4), re(4) and rue(4). Add missing xref to bfe(4).

17 years agopfnStop() seems to take a flags argument which as far as I can tell from
Matthew Dillon [Wed, 14 Dec 2005 17:04:29 +0000 (17:04 +0000)]
pfnStop() seems to take a flags argument which as far as I can tell from
the header file needs specific flags rather then 0.

Move the calls to nv_setmulti() and nv_ifmedia_upd() to just before
the pfnStart() call.   Note that FreeBSD moved the calls even further
back, to before the pfnInit(), but that is probably not correct.

17 years agoGC old cvs source
Simon Schubert [Wed, 14 Dec 2005 07:35:32 +0000 (07:35 +0000)]
GC old cvs source