4880 Commits

Author SHA1 Message Date
pjd
0633ad44e0 Sync with HEAD.
Approved by:	re (scottl)
2006-04-05 22:20:44 +00:00
yar
7ce10275c7 MFC rev. 1.11:
Revert to setting vlan and vlandev parametes synchronously, as soon
as both have been read from the command line.  Still use the callback,
but this time only to verify that both vlan and vlandev have been
found on the command line.

This should allow for control over the relative order of processing
parameters, which is needed to satisfy some caveats of the if_vlan
driver.  E.g., MTU cannot be changed on a vlan interface until it's
attached to its parent.

Approved by:	re (scottl)
2006-03-22 15:32:30 +00:00
pjd
a56f321071 MFC: graid3(8)
Synchronize graid3(8) with HEAD:
- Speed up synchronization process by using configurable number of parallel
  I/O requests.
- Reimplement graid3 softc synchronization by using per-device sx(9) lock.
- Stop synchronization from pre-sync hook.
- Fix possible race between synchronization and regular requests.

Approved by:	re (mux)
2006-03-20 15:50:02 +00:00
pjd
c2dead3970 MFC: gmirror(8)
Synchronize gmirror(8) with HEAD:
- Speed up synchronization process by using configurable number of parallel
  I/O requests.
- Allow for kernel dumps to the mirror.
- Reimplement gmirror softc synchronization by using per-device sx(9) lock.
- Stop synchronization from pre-sync hook.
- Fix possible race between synchronization and regular requests.

Approved by:	re (mux)
2006-03-20 15:48:55 +00:00
glebius
64f07cddfc MFC 1.119:
There is no IFF_POLLING flag anymore.

Approved by:	re (mux)
2006-03-18 21:59:22 +00:00
sos
16ca8e211f MFC:
Add new modes.

Approved by: re@ (mux)
2006-03-16 21:30:09 +00:00
rik
f994482cad MFC:
Add support for Cronyx Tau32-PCI adapters. (update)

Approved by:	re(scottl)
2006-03-10 23:10:39 +00:00
sam
ef9503e74b MFC 1.115: explain what list chan displays
Approved by:	re (scottl, hrs)
2006-03-10 22:05:53 +00:00
ume
b50d2d1850 MFC: Revert `proto ip' back to the previous behavior. The kernel side of
ipfw2 doesn't allow zero as protocol number.

	sbin/ipfw/ipfw.8:	1.186
	sbin/ipfw/ipfw2.c:	1.85

Approved by:	re (mux)
2006-03-09 09:18:37 +00:00
pjd
05c6e127c5 MFC: sbin/bsdlabel/bsdlabel.8 1.63,1.64
Fix evil examples - first partition should start at offset 16 and explain why
this is important.

Approved by:	re (hrs)
2006-03-08 14:23:13 +00:00
sam
6800859061 MFC 1.37: cleanup line break formatting
Approved by:	re (scottl)
2006-03-07 17:50:23 +00:00
kris
ff03d3aa0c MFC r1.35: Don't refer to obsolete loader method for setting dumpdev.
Approved by:	re (mux)
2006-03-01 22:35:15 +00:00
glebius
0f023eef98 MFC 1.20 by ambrisko:
Grab the media from the passed in structure to put it into the
  global structure.

PR:		bin/91399, bin/93727
Approved by:	re (scottl)
2006-03-01 22:24:23 +00:00
wkoszek
dbe3338f30 Forced commit in order to note, that I brought style(9) changes together with
functional changes. It was done by accident. Proper comment to the previous
commit should be:

MFC:
   Extend kldunload(8) functionality and fix minor problems:
   o multiple modules can be unloaded at once (specified either by id or be
     module name)
   o exit with EX_USAGE after usage() is called.
   o remove unused variables, since we keep command line flags as bitmask,
     in 'opt'.
   o 'kldload -n ...' does nothing. Add comment to this options.

   Additionally:
   o Update manual page to conform new functionality.
   o Increace WARNS to 6. Because we can.

   o Bump a date in .Dd field. Spotted by brueffer@.

   Approved by:	cognet (mentor)

Approved by:	re (scottl)
2006-03-01 20:51:53 +00:00
wkoszek
681b13e95d MFC:
Big style(9) fix. This commit brings no functional change.

   Approved by:	cognet (mentor)

Approved by:	re (scottl)
2006-03-01 20:29:50 +00:00
pjd
0536624c24 MFC: Sync with HEAD.
Approved by:	re (scottl)
2006-03-01 17:55:29 +00:00
keramida
b6c769da16 MFC 1.73:
Revert a minor glitch of revision 1.69

    Submitted by:   Andriy Tkachuk <andrit@ukr.net>
    X-MFC after:    RE approval

Approved by:	re (mux)
2006-02-24 15:13:33 +00:00
sam
6943ed1374 MFC 1.114: add missing args to mac:del and mac:kick
Approved by:	re (scottl)
2006-02-19 00:20:39 +00:00
sam
fc95fea574 sync with HEAD:
o mcast rate addition
o malloc size off-by-one fixes
o long ssid handling

Approved by:	re (scottl)
2006-02-15 17:44:18 +00:00
ru
4d6c4a9f13 MFC: 1.58: -mdoc sweep.
Approved by:	re (scottl)
2006-02-15 15:10:55 +00:00
ru
12bea99eb3 MFC: 1.15: Only install boot_i386.8 on i386 and amd64.
Approved by:	re (scottl)
2006-02-15 15:10:07 +00:00
jcamou
314981dbdd MFC: rev.1.113.
Approved by:	re (scottl)
2006-02-15 15:03:04 +00:00
jcamou
675ebf74a9 MFC: rev.1.3
Approved by:	re (hrs)
2006-02-15 14:58:59 +00:00
cperciva
08fb917f1d MFC gbde.8 rev. 1.14, gbde.c rev. 1.31:
Teach gbde(8) to use a key file in addition to a passphrase.  This
  makes it practical to use GBDE for "something you have plus something
  you know" security together with a USB flash drive.

Approved by:	re (scottl)
2006-02-14 16:15:48 +00:00
yar
af897e152b MFC ifconfig.c rev. 1.117:
Do address assignment/removal operations after callbacks.  Presently,
ifconfig callbacks are used for L2 configuration, media and vlan,
so actions associated with address assignment, like sending out a
gratuitous ARP, should go when L2 is running already.

Return ifvlan.c to the state of rev. 1.7.2.2 -- undo the last
back-out.  The above change to ifconfig.c lets us use a callback
for vlan set-up without facing the evil side-effects from IP
assignment to an orphaned vlan interface.

Approved by:	re (scottl)
2006-02-09 10:48:43 +00:00
pjd
cefc091c9d MFC: sbin/geom/class/eli/geom_eli.c 1.6
Remove unused argument.
2006-01-31 21:24:36 +00:00
pjd
894edd33c9 MFC: sbin/geom/core/geom.8 1.18
Add a reference to geli(8).
2006-01-31 12:39:26 +00:00
sos
1a40e9ce58 MFC:
Remove accidental debug leftovers.
2006-01-30 10:20:28 +00:00
yar
718263f07d Temporarily back out the last change, rev. 1.7.2.2.
The problem with it was that it swapped the relative order of IP
assignment and parent interface attachment.  The present if_vlan
code gets certain flags from the parent, including those meaningful
to the upper layers.  E.g., IP assignment to an interface with
IFF_BROADCAST goes somewhat differently from that to a non-broadcast
interface.  Consequently, assigning IP before attaching the parent
results in a bogus or missing broadcast address on the vlan interface.
This bug is still here, but at least it won't be triggered by doing
both vlanX configuration steps, IP and vlan+vlandev, in a single
ifconfig invocation, which is usual to setting up vlans via rc.conf.

Work at the global issue is under way.
2006-01-28 16:38:28 +00:00
dougb
885f415f1b MFC version 1.6 of the Makefile, crank WARNS up to 6
MFC version 1.2 of rcorder.c, fix for "chunk is already free" error
2006-01-26 01:34:00 +00:00
sos
f11f5a5c34 MFC:
Bring ATA up to -current standards:

Fix SiS SATA support, the SATA registers was off.
Update the ICH7 support so it deals better with chips without AHCI.
Unbreak hotplug support on the ICH6 and ICH7 chipsets.
Add support for VIA VT8251 southbridge.
Add new nVidia nForce4 chips.
Add support for the Marvell 88SX[56]0[48][01] series of SATA chips.
Fix the promise modesetting for old chips.
Get rid of the advertising clause in the copyright.
Add support for using DMA on dump, greatly speeds up the dump process.
When IOCATAGPARM is called, update the capabilities page that is stored
in the kernel and return the new values.
Fix rebuilds of arrays that got stuck.
Add dump support in ataraid.
Add support for for reading and writing SiS metadata.
Add support for writing VIA metadata.
Add support for writing Intel metadata.
Correct calculation of RAID0 sizes on VIA RAID arrays.
Update Intel MatrixRAID support to be able to pick up RAID0+1 (RAID10)
2006-01-25 08:13:46 +00:00
joel
2d6cdc2b7e MFC: s/5.5/6.0/ in HISTORY section. 2006-01-24 17:02:39 +00:00
pjd
2bb373ae84 MFC: sbin/mount/mount.c 1.80
Resolve the mount point's path with realpath(2) before checking if file
system is mounted. This prevevents duplicated mounts.

The change I made against the original patch is to fall back to the given
path on realpath(2) failure instead of exiting with an error.

Submitted by:	Andreas Kohn <andreas@syndrom23.de>
PR:		bin/89782
2006-01-24 15:27:25 +00:00
brooks
62ebe3a4fd MFC rev 1.5: Mention the -b flag in the SYNOPSIS. 2006-01-24 06:03:16 +00:00
brooks
38fe71cbe9 MFC rev 1.11:
When we give up on an interface, use the arp(8) command to remove all
  entries from the interface rather than using ifconfig's delete command.
  This preserves non-dhclient configured addresses (though they are wiped
  out when dhclient is restarted).
2006-01-24 06:01:59 +00:00
brooks
afb310880a MFC rev 1.13: Allow users to add aliases to the interface.
PR:		bin/87465
2006-01-24 05:59:27 +00:00
kris
d8f86cfc13 MFC: Remove big scary warning about nullfs state 2006-01-23 00:32:03 +00:00
yar
63fce21c6d MFC rev. 1.9, 1.10:
Use a callback to set up a vlan interface so that "vlan"
and "vlandev" commands can be specified in any order.
This makes the code more compact and clear as well.

Improve error check on vlan argument.

Eliminate some unneeded code bits.
2006-01-22 19:22:53 +00:00
yar
230f1eff88 MFC manpage fixes related to make.conf(5) and, in make.1,
to included makefiles at large.

	sbin/reboot/boot_i386.8		1.56
	share/man/man5/make.conf.5	1.122
	share/man/man5/style.Makefile.5	1.16
	share/man/man7/build.7		1.37
	share/man/man7/development.7	1.16
	share/man/man7/release.7	1.55
	share/man/man8/diskless.8	1.27
	usr.bin/make/make.1		1.94-1.96
2006-01-22 16:33:46 +00:00
pjd
c4be8154d5 MFC: Sync with HEAD. 2006-01-17 09:28:57 +00:00
pjd
b11d89f3f9 MFC: Sync with HEAD. 2006-01-17 09:11:30 +00:00
glebius
a06eca80b3 MFC 1.183:
Forget about ipfw1 and ipfw2. We aren't in RELENG_4 anymore.
2006-01-15 01:05:21 +00:00
glebius
470df2fb19 MFC:
Add a new feature for optimizining ipfw rulesets - substitution of the
  action argument with the value obtained from table lookup. The feature
  is now applicable only to "pipe", "queue", "divert", "tee", "netgraph"
  and "ngtee" rules.
2006-01-15 01:00:55 +00:00
glebius
bf3ba15d9b Cleanup _FreeBSD_version. 2006-01-15 00:52:15 +00:00
glebius
63168c1b16 MFC:
Catch up with ip_dummynet.h rev. 1.38.
2006-01-15 00:51:02 +00:00
pav
9ee0aaafb3 MFC 1.34: mention the size of the additional header 2006-01-14 12:13:04 +00:00
pav
aeeb3bfd31 MFC 1.74: xref mount_reiserfs(8) 2006-01-13 20:05:59 +00:00
brooks
e6a4fb6f3c MFC revs 1.27 and 1.28.
1.27: don't crash when given an invalid nwkey string
 1.28: parse SSIDs correctly and bail immediatly when invalid

PR:		misc/88159, bin/74509
2006-01-11 05:56:02 +00:00
maxim
ca2d8bdf75 MFC rev. 1.8: typo fix. 2006-01-08 20:25:24 +00:00
ceri
399cd6662b MFC r1.111:
Document the pfsync(4) specific maxupd parameter, with text mostly taken
  from OpenBSD's manpage.
2006-01-02 12:53:48 +00:00