]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
18 years agoMerge mbuf.c:1.47 from HEAD to RELENG_6:
rwatson [Tue, 14 Feb 2006 03:33:49 +0000 (03:33 +0000)]
Merge mbuf.c:1.47 from HEAD to RELENG_6:

  Un-#if 0 the printing of allocation failure counts for mbufs, clusters,
  and packets in netstat -m.

Approved by: re (scottl)

18 years agoMerge memstat_uma.c:1.13 from HEAD to RELENG_6:
rwatson [Tue, 14 Feb 2006 03:33:06 +0000 (03:33 +0000)]
Merge memstat_uma.c:1.13 from HEAD to RELENG_6:

  Correct a typo in the extraction of zone information from UMA using kmem:
  bytes = allocated - freed, not bytes = allocated = freed.

Approved by: re (scottl)

18 years agoMerge login_ok.c:1.12 from HEAD to RELENG_6:
rwatson [Tue, 14 Feb 2006 03:32:15 +0000 (03:32 +0000)]
Merge login_ok.c:1.12 from HEAD to RELENG_6:

  Fix typo in comment.

Approved by: re (scottl)

18 years agoMerge subr_disk.c:1.86 from HEAD to RELENG_6:
rwatson [Tue, 14 Feb 2006 03:29:31 +0000 (03:29 +0000)]
Merge subr_disk.c:1.86 from HEAD to RELENG_6:

  When calling bioq_first() to see if a queue is empty in bioq_disksort(),
  don't save the return value as we won't use it.

  Noticed by:     Coverity Prevent analysis tool

Approved by: re (scottl)

18 years agoMerge kdump.1:1.13, kdump.c:1.27, as well as some of the mdoc cleanups
rwatson [Tue, 14 Feb 2006 03:28:31 +0000 (03:28 +0000)]
Merge kdump.1:1.13, kdump.c:1.27, as well as some of the mdoc cleanups
present in kdump.1:1.15:

  Add a "-H" argument to kdump, which causes kdump to print an additional
  field holding the threadid.  This is more useful for libthr than
  libpthread, but still quite useful in libpthread as it can be used to
  process interlaced records from multiple threads over the course of a
  system call.

  Detect old ktr_buffer values using the heuristic "if it's negative,
  then it must not be a valid threadid".  This may leave something to be
  desired.

  Reviewed by:    davidxu

Approved by: re (scottl)

18 years agostandard-supfile on RELENG_6 is for 6.x-STABLE now, not -current.
hrs [Tue, 14 Feb 2006 02:32:25 +0000 (02:32 +0000)]
standard-supfile on RELENG_6 is for 6.x-STABLE now, not -current.

Spotted by: yar
Approved by: re (implicitly)

18 years agoMFC: Fix a bug which puts an incorrect checksum of CHECKSUM.MD5
hrs [Tue, 14 Feb 2006 02:00:24 +0000 (02:00 +0000)]
MFC: Fix a bug which puts an incorrect checksum of CHECKSUM.MD5
into the CHECKSUM.MD5 file itself.

Approved by: re (scottl)

18 years agoMerge memstat_uma.c:1.12 from HEAD to RELENG_6:
rwatson [Tue, 14 Feb 2006 00:07:17 +0000 (00:07 +0000)]
Merge memstat_uma.c:1.12 from HEAD to RELENG_6:

  Remove unnecessary and undesirable 'static' from function-local keg
  list, which could cause problems for multi-threaded applications
  using libmemstat to monitor UMA in more than one thread
  simultaneously.

Approved by: re (scottl)

18 years agoMerge nfs_lock.c:1.43 from HEAD to RELENG_6:
rwatson [Tue, 14 Feb 2006 00:06:32 +0000 (00:06 +0000)]
Merge nfs_lock.c:1.43 from HEAD to RELENG_6:

  In nfs_dolock(), GC now under-used ioflg, rendered obsolete when we moved
  from using a fifo to talk to rpc.lockd to using a special device node.

Approved by: re (scottl)

18 years agoMerge vnode.h:1.312 from HEAD to RELENG_6:
rwatson [Tue, 14 Feb 2006 00:03:00 +0000 (00:03 +0000)]
Merge vnode.h:1.312 from HEAD to RELENG_6:

  Rename uid and gid arguments to vaccess() prototype to match vaccess()
  implementation in vfs_subr.c.  No functional change.

Approved by: re (scottl)

18 years agoMerge kern_ktrace.c:1.103, ktrace.h:1.31 from HEAD to RELENG_6:
rwatson [Tue, 14 Feb 2006 00:02:01 +0000 (00:02 +0000)]
Merge kern_ktrace.c:1.103, ktrace.h:1.31 from HEAD to RELENG_6:

  Reuse ktr_unused field in ktr_header structure as ktr_tid; populate
  ktr_tid as part of gathering of ktr header data for new ktrace
  records.  The continued use of intptr_t is required for file layout
  reasons, and cannot be changed to lwpid_t at this point.

  Reviewed by:    davidxu

Approved by: re (scottl)

18 years agoMerge atm_signal.c:1.14 from HEAD to RELENG_6:
rwatson [Mon, 13 Feb 2006 23:54:48 +0000 (23:54 +0000)]
Merge atm_signal.c:1.14 from HEAD to RELENG_6:

  Convert function declarations to ANSI C.

Approved by: re (scottl)

18 years agoMerge fnmatch.c:1.20 from HEAD to RELENG_6:
rwatson [Mon, 13 Feb 2006 23:52:29 +0000 (23:52 +0000)]
Merge fnmatch.c:1.20 from HEAD to RELENG_6:

  Convert function declarations to ANSI C.

Approved by: re (scottl)

18 years agoMerge uipc_sem.c:1.22 from HEAD to RELENG_6:
rwatson [Mon, 13 Feb 2006 23:51:19 +0000 (23:51 +0000)]
Merge uipc_sem.c:1.22 from HEAD to RELENG_6:

  Convert remaining functions to ANSI C function declarations.

Approved by: re (scottl)

18 years agoMerge Makefile:1.4 from HEAD to RELENG_6:
rwatson [Mon, 13 Feb 2006 23:48:26 +0000 (23:48 +0000)]
Merge Makefile:1.4 from HEAD to RELENG_6:

  Correct help line: list targets, not names of files generated by targets
  when no argument is provided to make.

Approved by: re (scottl)

18 years agoMerge mergemaster.8:1.34, mergemaster.sh:1.53 from HEAD to RELENG_6:
rwatson [Mon, 13 Feb 2006 23:47:48 +0000 (23:47 +0000)]
Merge mergemaster.8:1.34, mergemaster.sh:1.53 from HEAD to RELENG_6:

  Add a -A argument to mergemaster to allow explicitly specifying an
  architecture to pass through to the underlying makefiles.  This is
  quite useful when building on an i386 box to populate an amd64 NFS
  root.

  Head nod:       dougb

Approved by: re (scottl)

18 years agoMerge ip_input.c:1.311 from HEAD to RELENG_6:
rwatson [Mon, 13 Feb 2006 23:46:31 +0000 (23:46 +0000)]
Merge ip_input.c:1.311 from HEAD to RELENG_6:

  Modify the IP fragment reassembly code so that it uses a new UMA zone,
  ipq_zone, to allocate fragment headers from, rather than using cast mbuf
  storage.  This was one of the few remaining uses of mbuf storage for
  local data structures that relied on dtom().  Implement the resource
  limit on ipq's using UMA zone limits, but preserve current sysctl
  semantics using a sysctl proc.

Approved by: re (scottl)

18 years agoMFC ip_input.c:1.310:
rwatson [Mon, 13 Feb 2006 23:44:20 +0000 (23:44 +0000)]
MFC ip_input.c:1.310:

  Staticize ipqlock, since it is local to ip_input.c.

Approved by: re (scottl)

18 years agoMFC revision 1.10:
ceri [Mon, 13 Feb 2006 21:03:55 +0000 (21:03 +0000)]
MFC revision 1.10:
  Another update for reality: "dangerously dedicated" mode is
  now achieved by hitting 'F', which is no longer undocumented.

Approved by: re (scottl)

18 years agoMFC revision 1.414:
ceri [Mon, 13 Feb 2006 21:02:35 +0000 (21:02 +0000)]
MFC revision 1.414:
Correct a user-visible typo.

Approved by: re (scottl)

18 years agoMFC the following revisions of the help files:
ceri [Mon, 13 Feb 2006 21:01:23 +0000 (21:01 +0000)]
MFC the following revisions of the help files:

  Bring these files somewhat into the present.
  Perform some rewording while here.

  Remove register.hlp, since the code that deals with it was removed
  nearly 7 years ago.

  Revision  Changes    Path
  1.2       +2 -0      src/usr.sbin/sysinstall/help/anonftp.hlp
  1.15      +9 -10     src/usr.sbin/sysinstall/help/distributions.hlp
  1.5       +1 -5      src/usr.sbin/sysinstall/help/fixit.hlp
  1.3       +1 -1      src/usr.sbin/sysinstall/help/html.hlp
  1.9       +75 -18    src/usr.sbin/sysinstall/help/options.hlp
  1.14      +2 -2      src/usr.sbin/sysinstall/help/partition.hlp
  1.6       +0 -76     src/usr.sbin/sysinstall/help/register.hlp (dead)
  1.3       +2 -2      src/usr.sbin/sysinstall/help/securelevel.hlp
  1.12      +15 -12    src/usr.sbin/sysinstall/help/shortcuts.hlp
  1.9       +1 -7      src/usr.sbin/sysinstall/help/slice.hlp
  1.10      +10 -2     src/usr.sbin/sysinstall/help/tcp.hlp
  1.7       +5 -5      src/usr.sbin/sysinstall/help/usermgmt.hlp

Approved by: re (scottl)

18 years agoMFC: 1.2
marius [Mon, 13 Feb 2006 11:47:47 +0000 (11:47 +0000)]
MFC: 1.2

Add a reference to le(4) as the SBus-based Ultra 1 have on-board LANCE.

Approved by: re (scottl)

18 years agoMFC: 1.29
marius [Mon, 13 Feb 2006 11:46:51 +0000 (11:46 +0000)]
MFC: 1.29

Add le(4) to the list of devices supporting VLAN-sized frames natively.

Approved by: re (scottl)

18 years agoMFC: share/man/man4/Makefile 1.337, src/share/man/man4/le.4 1.2
marius [Mon, 13 Feb 2006 11:45:21 +0000 (11:45 +0000)]
MFC: share/man/man4/Makefile 1.337, src/share/man/man4/le.4 1.2

Add a man page for le(4).

Approved by: re (scottl)

18 years agoMFC: sys/conf/NOTES 1.1349, sys/conf/files 1.1090,
marius [Mon, 13 Feb 2006 11:39:02 +0000 (11:39 +0000)]
MFC: sys/conf/NOTES 1.1349, sys/conf/files 1.1090,
     sys/conf/files.sparc64 1.78, sys/modules/Makefile 1.471,
     sys/modules/le/Makefile 1.1, sys/sparc64/conf/GENERIC 1.105

Hook up le(4) to the build.

Approved by: re (scottl)

18 years agoMFC: sys/dev/le/am7990.c 1.1, sys/dev/le/am79900.c 1.1,
marius [Mon, 13 Feb 2006 11:30:40 +0000 (11:30 +0000)]
MFC: sys/dev/le/am7990.c 1.1, sys/dev/le/am79900.c 1.1,
     sys/dev/le/am79900reg.h 1.1, sys/dev/le/am79900var.h 1.1,
     sys/dev/le/am7990reg.h 1.1, sys/dev/le/am7990var.h 1.1,
     sys/dev/le/if_le_ledma.c 1.1, sys/dev/le/if_le_pci.c 1.1,
     sys/dev/le/lance.c 1.1, sys/dev/le/lancereg.h 1.1,
     sys/dev/le/lancevar.h 1.1

Add le(4), a driver for AMD Am7900 LANCE and Am79C9xx PCnet NICs,
ported from NetBSD.
This version differs from HEAD in that if_le_ledma.c inlines
lsi64854_enet_intr() from rev. 1.8 of sys/sparc64/sbus/lsi64854.c
in le_dma_hwintr() in order to not break the API of the LSI64854
driver in RELENG_6.

Approved by: re (scottl)

18 years agoMFC: 1.17
marius [Sun, 12 Feb 2006 22:57:04 +0000 (22:57 +0000)]
MFC: 1.17

- Don't shift the clock frequency in MHz left by 8 before assigning it
  to sbus_mdvec.dv_clock as sbus_mdvec.dv_clock is meant to be specified
  in MHz. While this was a bug it shouldn't have affected FreeBSD/sparc64
  as sbus_mdvec.dv_clock is used to limit the clock rate of chips when
  a machine isn't able to support them at maximum speed which isn't the
  case for sun4u machines.
- Remove the code that checks whether the clock frequency returned by
  sbus_get_clockfreq() is 0 and falls back to 25MHz if it is as that's
  already done in sbus(4).

Approved by: re (scottl)

18 years agoMFC: 1.15
marius [Sun, 12 Feb 2006 22:20:09 +0000 (22:20 +0000)]
MFC: 1.15

- Sync the list of supported chips with pcn_probe() as of sys/pci/if_pcn.c
  rev. 1.77 (also applies to RELENG_6), i.e. remove Am53C974/Am79C970/
  Am79C974 PCnet-PCI and Am79C970A PCnet-PCI II.
- Change the entry of the PCnet-Home in the list of supported chips to
  match the other ones, i.e. s,PCnet/Home HomePNA,Am79C978 PCnet-Home,.
- s,familly,family

Approved by: re (scottl)

18 years agoMFC:
flz [Sun, 12 Feb 2006 22:13:16 +0000 (22:13 +0000)]
MFC:

  - Add a startup script for hostapd.
  - Document associated variable in rc.conf(5).

      src/etc/rc.d/Makefile: rev 1.64 -> 1.65
      src/share/man/man5/rc.conf.5: rev 1.283 -> 1.284
      src/etc/rc.d/hostapd: rev 0 -> 1.1
      src/etc/defaults/rc.conf: rev 1.273 -> 1.274

Approved by: re (hrs)

18 years agopad embedded structs so we can preserve abi's moving forward
sam [Sun, 12 Feb 2006 19:00:39 +0000 (19:00 +0000)]
pad embedded structs so we can preserve abi's moving forward

Reviewed by: scottl, dwhite, kensmith, avatar
Approved by: re

18 years agoMFC a set of changes that fixes DHCP handling in sysinstall(8)
delphij [Sun, 12 Feb 2006 15:23:50 +0000 (15:23 +0000)]
MFC a set of changes that fixes DHCP handling in sysinstall(8)

 * network.c,v 1.53 (by ceri):
   Fixes DHCP handling to use a more robust way to determine whether
   DHCP should be used.
 * tcpip.c,v 1.134:
   Avoid adding unnecessary tailing space when no media option(s) is
   specified.

Approved by: re (scottl)

18 years agoMFC rev. 1.95:
yar [Sun, 12 Feb 2006 12:19:06 +0000 (12:19 +0000)]
MFC rev. 1.95:

  Set IFF_BROADCAST and IFF_MULTICAST on vlan interfaces from the
  beginning and simply refuse to attach to a parent without either
  flag.  Our network stack doesn't like those flags changing and
  there is no need in them doing so.

Approved by: re (scottl)

18 years agoMFC:
marcel [Sat, 11 Feb 2006 18:54:19 +0000 (18:54 +0000)]
MFC:
src/release/doc/en_US.ISO8859-1/hardware/common/dev.sgml:1.295
src/release/doc/en_US.ISO8859-1/hardware/ia64/proc-ia64.sgml:1.10
src/release/doc/share/misc/dev.archlist.txt:1.77

Approved by: re (hrs; thanks!)

18 years agoMFC 1.168: Never select the PCB that has INP_IPV6 flag and is bound
ume [Sat, 11 Feb 2006 09:02:59 +0000 (09:02 +0000)]
MFC 1.168: Never select the PCB that has INP_IPV6 flag and is bound
to :: if we have another PCB which is bound to 0.0.0.0.  If a PCB has
the INP_IPV6 flag, then we set its cost higher than IPv4 only PCBs.

Approved by: re (scottl)

18 years agoMFC: rev. 1.18
brueffer [Sat, 11 Feb 2006 08:25:22 +0000 (08:25 +0000)]
MFC: rev. 1.18

Clean up some sysctl descriptions, debug messages etc.

Approved by: re (scottl)

18 years agoMFC: obey opt_inet6.h and opt_ipsec.h in kernel build directory.
ume [Sat, 11 Feb 2006 08:19:37 +0000 (08:19 +0000)]
MFC: obey opt_inet6.h and opt_ipsec.h in kernel build directory.

src/sys/modules/ipfw/Makefile: 1.22, 1.23
src/sys/netinet/ip_fw2.c: 1.117
src/sys/netinet/ip_fw_pfil.c: 1.20

Approved by: re (scottl)

18 years agoMFC: add cardbus_device.c. This file was left out when the rest of the
imp [Sat, 11 Feb 2006 06:55:50 +0000 (06:55 +0000)]
MFC: add cardbus_device.c.  This file was left out when the rest of the
changes were merged, resulting in load errors at boot time.

Approved by: re@ (scottl)

18 years agoMFC rev. 1.6, 1.7: Add HARDWARE section.
marcel [Sat, 11 Feb 2006 06:30:41 +0000 (06:30 +0000)]
MFC rev. 1.6, 1.7: Add HARDWARE section.

Approved by: re (hrs)

18 years agoMFC:
yar [Fri, 10 Feb 2006 00:38:08 +0000 (00:38 +0000)]
MFC:
Avoid creating (and subsequently using) fake opt_*.h files
when the modules are built with the kernel and hence actual
opt_*.h files are available in ${KERNBUILDDIR}.  Fix a few
small bugs that would prevent this from working.

At last the build options of the modules become consistent
with those of the kernel unless the MODULES_WITH_WORLD way
still is used.

Approved by: re (kensmith, scottl)
Requested by: ru
Tested on: amd64 i386 sparc64
Tested by: md5

18 years agoMFC: 1.35: Fix interface output queue handling.
ru [Thu, 9 Feb 2006 16:59:37 +0000 (16:59 +0000)]
MFC: 1.35: Fix interface output queue handling.

Approved by: re (scottl)

18 years agoMFC ifconfig.c rev. 1.117:
yar [Thu, 9 Feb 2006 10:48:43 +0000 (10:48 +0000)]
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)

18 years agoMFC 1.56: make IPV6_V6ONLY socket option work for UDP as well.
ume [Thu, 9 Feb 2006 02:33:14 +0000 (02:33 +0000)]
MFC 1.56: make IPV6_V6ONLY socket option work for UDP as well.

Approved by: re (scottl)

18 years agoMFC: 1.97: axe unused function, 1.98: fix locking.
ru [Wed, 8 Feb 2006 16:22:45 +0000 (16:22 +0000)]
MFC: 1.97: axe unused function, 1.98: fix locking.

Approved by: re (scottl)

18 years agoMFC: Bump copyright year.
ru [Wed, 8 Feb 2006 09:11:58 +0000 (09:11 +0000)]
MFC: Bump copyright year.

Approved by: re (scottl)

18 years agoMFC:
ps [Wed, 8 Feb 2006 05:58:17 +0000 (05:58 +0000)]
MFC:
Remove GIANT from device random.

Approved by: re (scottl)

18 years agoMFC 1.21: update man page for boot stuff plus remove some cards described.
mjacob [Tue, 7 Feb 2006 22:01:59 +0000 (22:01 +0000)]
MFC 1.21: update man page for boot stuff plus remove some cards described.
Approved by: re

18 years agoMFC amd64/amd64/machdep.c revision 1.646, i386/i386/machdep.c
davidxu [Tue, 7 Feb 2006 00:29:33 +0000 (00:29 +0000)]
MFC amd64/amd64/machdep.c revision 1.646, i386/i386/machdep.c
    revision 1.622
>
> Clear carry flag in get_mcontext so that setcontext does not
> return a bogus error.
>
> PR: misc/92110

Approved by: re (scottl)

18 years agoMFC rev 1.79 and 1.80:
netchild [Mon, 6 Feb 2006 20:29:17 +0000 (20:29 +0000)]
MFC rev 1.79 and 1.80:
  Allow to use more than 7 buttons (31 in case you don't want to look
  at the code) with USB mice.

Requested by: Seán C. Farley <sean-freebsd@farley.org>
Approved by: re (kensmith)

18 years agoMFC: 1.3: RELENG_6_* commit constraints.
ru [Mon, 6 Feb 2006 16:39:06 +0000 (16:39 +0000)]
MFC: 1.3: RELENG_6_* commit constraints.

Approved by: re (kensmith)

18 years agoFix misspelling: s/Janurary/January/
bmah [Sun, 5 Feb 2006 20:45:04 +0000 (20:45 +0000)]
Fix misspelling:  s/Janurary/January/

Approved by: re (scottl)

18 years agoMFC 1.120:
oleg [Sun, 5 Feb 2006 18:07:15 +0000 (18:07 +0000)]
MFC 1.120:
1) Fix link state detection for cards operating in TBI mode (fiber ones)
2) add missing bus_dmamap_sync() call in bge_intr()

Approved by: re (scottl)

18 years agoMFC overflow bug fixes and disable ISP_DAC_SUPPORTED for now
mjacob [Sat, 4 Feb 2006 23:53:08 +0000 (23:53 +0000)]
MFC overflow bug fixes and disable ISP_DAC_SUPPORTED for now

Approved by: re

18 years agoMFC
netchild [Sat, 4 Feb 2006 11:58:28 +0000 (11:58 +0000)]
MFC
 - rev 1.31 of maestro.c
 - rev 1.93 of dsp.c

Both fix potential NULL pointer dereferencing.

Found with: Coverity Prevent(tm)
Approved by: re (kensmith)

18 years agoadd DEFAULTS and remove entries in GENERIC now duplicated
sam [Fri, 3 Feb 2006 23:37:21 +0000 (23:37 +0000)]
add DEFAULTS and remove entries in GENERIC now duplicated

Approved by: re (scottl)

18 years agoMFC: 1.119: Make sure we reprogram multicast filter on IFF_ALLMULTI.
ru [Fri, 3 Feb 2006 15:56:42 +0000 (15:56 +0000)]
MFC: 1.119: Make sure we reprogram multicast filter on IFF_ALLMULTI.

Approved by: re (kensmith)

18 years agoMFC: 1.25, 1.26: Fix multicast routing on 64-bit platforms.
ru [Fri, 3 Feb 2006 15:51:17 +0000 (15:51 +0000)]
MFC: 1.25, 1.26: Fix multicast routing on 64-bit platforms.

Approved by: re (kensmith)

18 years agoMFC: Move inlined functions into a library.
scottl [Fri, 3 Feb 2006 14:43:57 +0000 (14:43 +0000)]
MFC: Move inlined functions into a library.

Approved by: re

18 years agoMFC r1.150, do not send two ARP replies if the bridge has an address.
thompsa [Fri, 3 Feb 2006 08:07:42 +0000 (08:07 +0000)]
MFC r1.150, do not send two ARP replies if the bridge has an address.

Approved by: re (scottl)

18 years agoMFC r1.52, fix inconsistencies with the bridge route table.
thompsa [Fri, 3 Feb 2006 08:06:11 +0000 (08:06 +0000)]
MFC r1.52, fix inconsistencies with the bridge route table.

Approved by: re (scottl)

18 years agoThis commit was manufactured by cvs2svn to create branch 'RELENG_6'.
cvs2svn [Fri, 3 Feb 2006 01:35:37 +0000 (01:35 +0000)]
This commit was manufactured by cvs2svn to create branch 'RELENG_6'.

18 years agoMFC:
trhodes [Thu, 2 Feb 2006 07:50:02 +0000 (07:50 +0000)]
MFC:

Work around an mdoc bug.

Actually MFC the enhanced SYNOPSIS section, wasn't a real bug according
to ru.

Requested/reminded by:  marius
Approved by:            re (scottl)

18 years agoMFC: rev. 1.62
brueffer [Thu, 2 Feb 2006 06:06:27 +0000 (06:06 +0000)]
MFC: rev. 1.62

Document JMicron JMB360.

Approved by: re (scottl)

18 years agoNote that we've entered code freeze and the 6.1-RELEASE cycle has
kensmith [Wed, 1 Feb 2006 18:04:43 +0000 (18:04 +0000)]
Note that we've entered code freeze and the 6.1-RELEASE cycle has
begun but we're not ready to branch yet so we call it PRERELEASE
between now and when we're ready to branch.

Approved by: re (implicit)

18 years agoUnbreak building RELENG_6 on RELENG_5 by providing a __format_arg macro if
stefanf [Wed, 1 Feb 2006 12:24:39 +0000 (12:24 +0000)]
Unbreak building RELENG_6 on RELENG_5 by providing a __format_arg macro if
it's not defined in <sys/cdefs.h>.  This situation happens early when building
the bootstrap-tools, where the new <nl_types.h> is mixed with the old
<sys/cdefs.h>.

Submitted by: imp
Reviewed by: ru

18 years agoMFC: Remove unsupported hardware.
nyan [Wed, 1 Feb 2006 11:12:34 +0000 (11:12 +0000)]
MFC: Remove unsupported hardware.

18 years agoMFC: -j 1.9 -j 1.10
rik [Wed, 1 Feb 2006 04:50:07 +0000 (04:50 +0000)]
MFC: -j 1.9 -j 1.10
----------------------------
revision 1.10
date: 2006/01/29 22:06:51;  author: rik;  state: Exp;  lines: +1 -0
Fix module from panic.
Pointy hat: brooks
MFC after: 3 days

18 years agoMFC: usr.sbin/sysinstall/disks.c 1.155
jkim [Tue, 31 Jan 2006 22:07:18 +0000 (22:07 +0000)]
MFC: usr.sbin/sysinstall/disks.c 1.155

- Hide 'incorrect geometry warning' in non-interactive mode. Users should
know what they are doing in non-interactive mode.  Less scarier warning
goes to debugging info instead.
- Print sanitized geometry to debugging info.

18 years agoMFC: Add `mediaOpen' function. This function mounts selected media device.
jkim [Tue, 31 Jan 2006 22:03:19 +0000 (22:03 +0000)]
MFC: Add `mediaOpen' function. This function mounts selected media device.

For example, you can dynamically generate and load configuration file
depending on the hardware configuration with the following template:

mediaSetCDROM
mediaOpen
command=/dist/scripts/install.sh
system
mediaClose
configFile=generated.cfg
loadConfig

Now we have full access to files on the media before installation begins.

18 years agoMFC: sbin/geom/class/eli/geom_eli.c 1.6
pjd [Tue, 31 Jan 2006 21:24:36 +0000 (21:24 +0000)]
MFC: sbin/geom/class/eli/geom_eli.c 1.6

Remove unused argument.

18 years agoMFC: reorg tools to simplify use with crunchgen and rename net80211
sam [Tue, 31 Jan 2006 20:48:21 +0000 (20:48 +0000)]
MFC: reorg tools to simplify use with crunchgen and rename net80211
     tools as originally intended

18 years agoMFC 1.37
brd [Tue, 31 Jan 2006 20:32:36 +0000 (20:32 +0000)]
MFC 1.37
- Mention that users need to be in the wheel group to `su - root' by default, and how to change it.

PR: docs/70616
Submitted by: Jilles Tjoelker <jilles at stack dot nl>
Reviewed by: ru@
Approved by: ceri@

18 years agoMFC: Note that the device names in /dev for rp(4) and si(4) have changed.
jhb [Tue, 31 Jan 2006 20:29:43 +0000 (20:29 +0000)]
MFC: Note that the device names in /dev for rp(4) and si(4) have changed.

Requested by: scottl (sorta, these aren't release notes)

18 years agoMFC: Update rp(4) filenames due to the changes to fix support for machines
jhb [Tue, 31 Jan 2006 20:13:58 +0000 (20:13 +0000)]
MFC: Update rp(4) filenames due to the changes to fix support for machines
with multiple rp(4) cards.

Requested by: scottl

18 years agoMFC r1.5:
joel [Tue, 31 Jan 2006 18:39:35 +0000 (18:39 +0000)]
MFC r1.5:
  Make the SYNOPSIS section a bit more informative.

18 years agoMFC: pkg_add.1:1.70
krion [Tue, 31 Jan 2006 18:33:59 +0000 (18:33 +0000)]
MFC: pkg_add.1:1.70

  date: 2006/01/29 20:30:55;  author: krion;  state: Exp;  lines: +1 -1
  Fix typo.

18 years agoMFC r1.46:
joel [Tue, 31 Jan 2006 18:31:34 +0000 (18:31 +0000)]
MFC r1.46:
  -  Remove the comment about WSS/MSS cards being the best supported
     cards on the market.
  -  Remove the entire HARDWARE section.  It's superfluous since all
     snd_* manual pages have their own HARDWARE sections these days.

18 years agoMFC:
joel [Tue, 31 Jan 2006 18:30:41 +0000 (18:30 +0000)]
MFC:
  Remove sound since the sound(4) manual page no longer have a
  HARDWARE section.

18 years agoMFC:
jhay [Tue, 31 Jan 2006 18:16:04 +0000 (18:16 +0000)]
MFC:
Add AfriNIC as a RIR.

PR: 80421
Submitted by: Adrian Frith <adrian at frith.homelinux.org>

18 years agoMFC: 1.21 (don't update to current time on error)
ache [Tue, 31 Jan 2006 18:02:56 +0000 (18:02 +0000)]
MFC: 1.21 (don't update to current time on error)

18 years agoMFC: Add the macro __format_arg which expands to the format_arg attribute if
stefanf [Tue, 31 Jan 2006 17:57:17 +0000 (17:57 +0000)]
MFC:  Add the macro __format_arg which expands to the format_arg attribute if
      supported.

18 years agoMFC: 1.114
imp [Tue, 31 Jan 2006 17:10:02 +0000 (17:10 +0000)]
MFC: 1.114
Add some sanity checking for cards being inserted multiple times.
Be more careful about initializing lists to prevent resource leaks.

18 years agoMFC 1.85: don't embed scope id before running packet filters.
ume [Tue, 31 Jan 2006 16:36:11 +0000 (16:36 +0000)]
MFC 1.85: don't embed scope id before running packet filters.

18 years agoMFC 1.110 & 1.111: Simplify ip_next_mtu().
andre [Tue, 31 Jan 2006 16:21:43 +0000 (16:21 +0000)]
MFC 1.110 & 1.111: Simplify ip_next_mtu().

18 years agoMFC 1.312: In ip_forward() compute MTU always if it hasn't been done before.
andre [Tue, 31 Jan 2006 16:17:22 +0000 (16:17 +0000)]
MFC 1.312: In ip_forward() compute MTU always if it hasn't been done before.

18 years agoMFC 1.117: In ip_mdq() compute TV_DELTA the correct way around.
andre [Tue, 31 Jan 2006 16:13:22 +0000 (16:13 +0000)]
MFC 1.117: In ip_mdq() compute TV_DELTA the correct way around.

18 years agoMFC 1.93: In in_control() only remove in_ifaddr from ia_hash if it is an
andre [Tue, 31 Jan 2006 16:11:37 +0000 (16:11 +0000)]
MFC 1.93: In in_control() only remove in_ifaddr from ia_hash if it is an
AF_INET address.

18 years agoMFC 1.286 & 1.287: Check the correct TTL in both the IPv6 and IPv4 cases.
andre [Tue, 31 Jan 2006 16:09:34 +0000 (16:09 +0000)]
MFC 1.286 & 1.287: Check the correct TTL in both the IPv6 and IPv4 cases.

18 years agoMFC 1.253: In in_delayed_cksum() don't perform m_pullup() because we can't
andre [Tue, 31 Jan 2006 16:06:05 +0000 (16:06 +0000)]
MFC 1.253: In in_delayed_cksum() don't perform m_pullup() because we can't
pass the new mbuf pointer to the callers.

18 years agoMFC 1.81: In syncache_expand() fix a case that currently can't be triggered.
andre [Tue, 31 Jan 2006 16:03:42 +0000 (16:03 +0000)]
MFC 1.81: In syncache_expand() fix a case that currently can't be triggered.

18 years agoMFC 1.252: Prevent dereferencing NULL route pointer when trying to update
andre [Tue, 31 Jan 2006 16:01:38 +0000 (16:01 +0000)]
MFC 1.252: Prevent dereferencing NULL route pointer when trying to update
the route MTU.

18 years agoMFC:
glebius [Tue, 31 Jan 2006 15:56:47 +0000 (15:56 +0000)]
MFC:
  Add some initial locking to gif(4), that covers output path.

18 years agoMFC:
phk [Tue, 31 Jan 2006 15:56:33 +0000 (15:56 +0000)]
MFC:
Updated flash library
ramdisk sizes and last orders.

18 years agoMFC:
glebius [Tue, 31 Jan 2006 15:44:51 +0000 (15:44 +0000)]
MFC:
  - In pipe() return the error returned by pipe_create(), rather then
    hardcoded ENFILES, which is incorrect. pipe_create() can fail due
    to ENOMEM.
  - Update manual page, describing ENOMEM return code.

  Reviewed by:    arch

18 years agoMFC 1.182:
glebius [Tue, 31 Jan 2006 15:40:15 +0000 (15:40 +0000)]
MFC 1.182:
  Implement 'ipfw fwd laddr,port' feature for UDP. According to ipfw(8)
  it should work, however it never did. People expect it to work.

  PR: kern/90834

18 years agoMFC 1.27:
glebius [Tue, 31 Jan 2006 15:39:05 +0000 (15:39 +0000)]
MFC 1.27:
  Simplify ng_source_send() removing temporary queue and merging two
  cycles into one.

18 years agoSync ng_pppoe with HEAD, merging:
glebius [Tue, 31 Jan 2006 15:36:11 +0000 (15:36 +0000)]
Sync ng_pppoe with HEAD, merging:
- ktr(4) instead of printfs.
- D-Link compat mode.
- style(9) cleanup.

18 years agoMFC 1.124:
oleg [Tue, 31 Jan 2006 14:48:03 +0000 (14:48 +0000)]
MFC 1.124:
Fix minor bug in uRPF: if net.link.ether.inet.useloopback=1 and we send
broadcast packet using our own source ip address it may be rejected by
uRPF rules.

PR: kern/76971

18 years agoI haven't yet merged back the defines from -current for
imp [Tue, 31 Jan 2006 14:42:43 +0000 (14:42 +0000)]
I haven't yet merged back the defines from -current for
__PCI_REROUTE_INTERRUPT, so merging it was in error.  I thought I'd
specifically checked before the commit, but it looks like I was wrong.

Thanks to Peter Pentchev (roam@) for his help in finding this...

18 years agoMFC: sbin/geom/core/geom.8 1.18
pjd [Tue, 31 Jan 2006 12:39:26 +0000 (12:39 +0000)]
MFC: sbin/geom/core/geom.8 1.18

Add a reference to geli(8).

18 years agoMFC r1.215:
ssouhlal [Tue, 31 Jan 2006 06:00:32 +0000 (06:00 +0000)]
MFC r1.215:
  Don't try to load KLDs if we're mounting the root. We'd otherwise panic.

  Tested by:      kris