]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
15 years agoMFH colldef and timedef for nb_NO, nn_NO.
des [Sat, 23 Aug 2008 13:25:56 +0000 (13:25 +0000)]
MFH colldef and timedef for nb_NO, nn_NO.

PR: conf/51920

15 years agoMFC r180753 by luoqi@:
mlaier [Sat, 23 Aug 2008 03:40:49 +0000 (03:40 +0000)]
MFC r180753 by luoqi@:
  Only enable MSI mappings for devices that use MSI.  Fixes interrupt loss
  on some nForce based boards.

PR:             kern/118842

15 years agoMFC: Back FreeBSD(98)'s copyright to 2003.
nyan [Fri, 22 Aug 2008 12:40:59 +0000 (12:40 +0000)]
MFC: Back FreeBSD(98)'s copyright to 2003.

15 years agoMFC: sync with HEAD.
luigi [Fri, 22 Aug 2008 10:18:18 +0000 (10:18 +0000)]
MFC: sync with HEAD.

BTW, the change in rev.1.42 in head is totally unrelated to the
commit message: it only adds .svn to the exclude list when copying
files using tar.

15 years agoMFC r180758:
kib [Fri, 22 Aug 2008 09:54:56 +0000 (09:54 +0000)]
MFC r180758:
Prevent the bdflush() activity when several buffers are locked at once
by setting the TDP_INBDFUSH for the problematic code blocks.

15 years agoMFC r181868:
kib [Fri, 22 Aug 2008 09:47:01 +0000 (09:47 +0000)]
MFC r181868:
In brelse, put the B_NEEDSGIANT buffer on the QUEUE_DIRTY_GIANT queue,
instead of QUEUE_DIRTY.

15 years agoMFC r181753:
philip [Fri, 22 Aug 2008 08:09:13 +0000 (08:09 +0000)]
MFC r181753:

  Introduce a new loader tunable "hw.ata.ata_dma_check_80pin", defaulting
  to 1.  This can be used to disable the 80pin cable check on systems which
  forget to set the bit -- such as certain laptops and Soekris boards.

15 years agoMFC r179894, r181224
thompsa [Fri, 22 Aug 2008 03:55:37 +0000 (03:55 +0000)]
MFC r179894, r181224

 Add support for the optional key in the GRE header.

 PR: kern/114714
 Submitted by: Cristian KLEIN

15 years agoMFC r178214
thompsa [Fri, 22 Aug 2008 03:15:50 +0000 (03:15 +0000)]
MFC r178214

 If the .inf file did not have a Default entry for the registry key then write
 out a blank value and close the brackets on the ndis_regvals array.

15 years agoMFC r174150, r174240, r179009, r179720
thompsa [Fri, 22 Aug 2008 03:08:31 +0000 (03:08 +0000)]
MFC r174150, r174240, r179009, r179720

Sync sys/compat/ndis to HEAD.

 - Correct the calculation for the number of 100ns intervals since January 1,
   1601. The 1601 - 1970 period was in seconds rather than 100ns units.
 - Remove duplication by having NdisGetCurrentSystemTime call ntoskrnl_time.
 - Implement functions required by some ndis drivers.
 - Fix a panic when it occurred during initializing the ndis driver because it
   try to read network address through ifnet structure which is NULL until the
   ndis driver's initialization is finished.
 - fix a page fault that it occurred during ifp is NULL.  This bug happens when
   NDIS driver's initialization is failed and NDIS driver's trying to call
   NdisWriteErrorLogEntry().

15 years agoMFC 181653:
kmacy [Fri, 22 Aug 2008 01:30:39 +0000 (01:30 +0000)]
MFC 181653:
Fix runt TSO packet issue.

Obtained from: Chelsio Inc.

15 years agoMFC 181652:
kmacy [Fri, 22 Aug 2008 01:28:57 +0000 (01:28 +0000)]
MFC 181652:

Add LRO and MAC statistics to exported sysctls.

Obtained from: Chelsio Inc.

15 years agoMFC 181616:
kmacy [Fri, 22 Aug 2008 01:23:39 +0000 (01:23 +0000)]
MFC 181616:
Remove cxgb private lro implementation and switch to using system implementation.

Obtained from: Chelsio Inc.

15 years agoMFC r181823:
kib [Thu, 21 Aug 2008 09:58:18 +0000 (09:58 +0000)]
MFC r181823:
Remove the check for mode and conditional swapgs in doreti_iret_fault,
we already have right gs base in the MSR.

15 years agoMFC r180754
weongyo [Thu, 21 Aug 2008 05:40:38 +0000 (05:40 +0000)]
MFC r180754

when NDIS framework try to query/set informations NDIS drivers can
return NDIS_STATUS_PENDING.  In this case, it's waiting for 5 secs to
get the response from drivers now.  However, some NDIS drivers can send
the response before NDIS framework gets ready to receive it so we might
always be blocked for 5 secs in current implementation.  NDIS framework
should reset the event before calling NDIS driver's callback not after.

15 years agoMFC r180730
weongyo [Thu, 21 Aug 2008 05:34:37 +0000 (05:34 +0000)]
MFC r180730

remove reference for unexisting ndisapi(9)

15 years agoMFC r179855
weongyo [Thu, 21 Aug 2008 05:30:26 +0000 (05:30 +0000)]
MFC r179855

handle .INF files for PCMCIA correctly that specify multiple entries in
their [Manufacturer] sections and prevent a case that NDIS_PCI_DEV_TABLE
definition was always emitted that it's only emitted once if a .INF file
is for PCI.

15 years agoMFC r179423
weongyo [Thu, 21 Aug 2008 05:13:55 +0000 (05:13 +0000)]
MFC r179423

Fix a panic that a priority value which is passed to cv_broadcastpri(9)
can be < 0.  We don't ignore a `increment' argument but at least we keep
a priority value of NDIS threads over PRI_MIN_KERN.

Reviewed by: thompsa

15 years agoMFC r181557:
yongari [Thu, 21 Aug 2008 03:45:50 +0000 (03:45 +0000)]
MFC r181557:
  Use device_set_desc() instead of device_set_desc_copy() as we don't
  manipulate the verbose description of a device.

15 years agoMFC r180954:
yongari [Thu, 21 Aug 2008 03:34:14 +0000 (03:34 +0000)]
MFC r180954:
  style(9) - space after keywords, don't indent case.

15 years agoMFC r180952, r181556:
yongari [Thu, 21 Aug 2008 03:25:44 +0000 (03:25 +0000)]
MFC r180952, r181556:
  Nuke referencing softc in device probe.

15 years agoMFC r180950:
yongari [Thu, 21 Aug 2008 02:03:01 +0000 (02:03 +0000)]
MFC r180950:
  s/printf/device_printf/g
  Don't hard code function name in device_printf() and use __func__.
  While I'm here nuke bfe_unit in softc as it's not needed anymore.

15 years agoBump _FreeBSD_version for physically contiguous jumbo frame support
kmacy [Wed, 20 Aug 2008 22:42:20 +0000 (22:42 +0000)]
Bump _FreeBSD_version for physically contiguous jumbo frame support

Requested by: Andrew Gallatin (gallatin@)

15 years agoMFC r179374
ghelmer [Wed, 20 Aug 2008 19:57:58 +0000 (19:57 +0000)]
MFC r179374

Similar to changes previously made to src/usr.bin/uniq/uniq.c,
fix truncation of lines at LINE_MAX characters by dynamically
extending line buffers.

15 years agoMFC: Attach the cpufreq child devices with specific orders to enforce
jhb [Wed, 20 Aug 2008 18:33:09 +0000 (18:33 +0000)]
MFC: Attach the cpufreq child devices with specific orders to enforce
relative priority of some of the drivers that manage the same state (e.g.
ichss0 vs est0).

15 years agoMFC: Decode "exotic" instructions such as pause as well as "cmov*" on i386.
jhb [Wed, 20 Aug 2008 17:44:02 +0000 (17:44 +0000)]
MFC: Decode "exotic" instructions such as pause as well as "cmov*" on i386.

15 years agoMFC r181468-181469,181594:
philip [Wed, 20 Aug 2008 14:16:07 +0000 (14:16 +0000)]
MFC r181468-181469,181594:

  Add the glxsb(4) manual page.

15 years agoMFC r181467, r181593:
philip [Wed, 20 Aug 2008 11:33:13 +0000 (11:33 +0000)]
MFC r181467, r181593:

  Add glxsb(4) driver for the Security Block in AMD Geode LX processors (as
  found in Soekris hardware, for instance).  The hardware supports
  acceleration of AES-128-CBC accessible through crypto(4) and supplies
  entropy to random(4).

15 years agoMFC r176265:
yongari [Wed, 20 Aug 2008 05:23:31 +0000 (05:23 +0000)]
MFC r176265:
  Prefer NULL over integer 0 for pointer type.

15 years agoMFC r176264:
yongari [Wed, 20 Aug 2008 05:19:41 +0000 (05:19 +0000)]
MFC r176264:
  Nuke local jumbo allocator and switch to use of UMA backed page
  allocator for jumbo frame.
   o Removed unneeded jlist lock which was used to manage jumbo
     buffers.
   o Don't reinitialize hardware if MTU was not changed.
   o Added additional check for minimal MTU size.
   o Added a new tunable hw.skc.jumbo_disable to disable jumbo frame
     support for the driver. The tunable could be set for systems that
     do not need to use jumbo frames and it would save
     (9K * number of Rx descriptors) bytes kernel memory.
   o Jumbo buffer allocation failure is no longer critical error for
     the operation of sk(4). If sk(4) encounter the allocation failure
     it just disables jumbo frame support and continues to work without
     user intervention.

  With these changes jumbo frame performance of sk(4) was slightly
  increased and users should not encounter jumbo buffer allocation
  failure. Previously sk(4) tried to allocate physically contiguous
  memory, 3388KB for 256 Rx descriptors. Sometimes that amount of
  contiguous memory region could not be available for running systems
  which in turn resulted in failure of loading the driver.

15 years agoMFC r176859:
yongari [Wed, 20 Aug 2008 05:12:30 +0000 (05:12 +0000)]
MFC r176859:
  Nuke local jumbo allocator and switch to use of UMA backed page
  allocator for jumbo frame. Also remove unneeded jlist lock which
  is no longer required to protect jumbo buffers.
  With these changes jumbo frame performance of nfe(4) was slightly
  increased and users should not encounter jumbo buffer allocation
  failure anymore.

15 years agoMFC r181655:
yongari [Wed, 20 Aug 2008 04:55:40 +0000 (04:55 +0000)]
MFC r181655:
  Fix VLAN hardware tag insertion/stripping on big-endian
  architectures.

  Reported by:  naddy
  Tested on:    sparc64

15 years agoMFC r181619:
yongari [Wed, 20 Aug 2008 04:46:46 +0000 (04:46 +0000)]
MFC r181619:
  Restore link state handling which was broken in rev 1.69.
  Also report current link state while auto-negotiation is in
  progress.
  With this change link loss should be reported within a second
  and drivers that rely on link state should work.

15 years agoMFC r181617-r181618:
yongari [Wed, 20 Aug 2008 04:19:28 +0000 (04:19 +0000)]
MFC r181617-r181618:
 r181617: Remove whitespace at the end of line.
 r181618: Remove 'cr' at the end of line.

15 years agoMFC teh ability to use tablearg with a skipto.
julian [Tue, 19 Aug 2008 19:58:42 +0000 (19:58 +0000)]
MFC teh ability to use tablearg with a skipto.
This was already supported in userland.

15 years agoUpdate locking table, based on changes in r173444:
emaste [Tue, 19 Aug 2008 19:31:58 +0000 (19:31 +0000)]
Update locking table, based on changes in r173444:
 - Have SPIN / want SPIN adds the "Recursion is defined per lock" footnote.
 - Have sx / want Slp & have sx / want rw changed from no to ok.

15 years agoMFC r181731:
kensmith [Tue, 19 Aug 2008 13:40:54 +0000 (13:40 +0000)]
MFC r181731:

> Catch up on removal of /usr/src/compat.

15 years agoMFC r179175:
kib [Tue, 19 Aug 2008 12:36:40 +0000 (12:36 +0000)]
MFC r179175:
Implement the per-open file data for the cdev.
The td_fpop member of the struct thread is appended to the end, and cleared
in the thread allocator to keep struct thread KBI-compatible on RELENG_7.

MFC r181635:
Remove unnecessary locking around pointer fetch.

15 years agoMFC: r179773, r181862
kevlo [Tue, 19 Aug 2008 01:51:37 +0000 (01:51 +0000)]
MFC: r179773, r181862

- Add the D-Link DWA-110
Tested by: Jonathan Lee <spamtrap at tczyhatczsche dot eu>

- Add the D-Link DWA-111

15 years agoMFC 174247:
kmacy [Tue, 19 Aug 2008 01:36:45 +0000 (01:36 +0000)]
MFC 174247:

Introduce an UMA backend page allocator for the jumbo frame zones that
allocates physically contiguous memory.

MFC after: 3 months
Requested and reviewed by: Kip Macy
Tested by: Andrew Gallatin and Pyun YongHyeon

Approved by: alc

15 years agoAvoid possible namespace collision between function scope sin and locally sub-express...
kmacy [Tue, 19 Aug 2008 01:25:08 +0000 (01:25 +0000)]
Avoid possible namespace collision between function scope sin and locally sub-expression scoped sin
by moving sin declaration to point of use.

15 years agoIn anticipation of MFCing physically contiguous jumbo frames MFC r177921:
kmacy [Tue, 19 Aug 2008 01:16:12 +0000 (01:16 +0000)]
In anticipation of MFCing physically contiguous jumbo frames MFC r177921:
 Reintroduce UMA_SLAB_KMAP; however, change its spelling to
 UMA_SLAB_KERNEL for consistency with its sibling UMA_SLAB_KMEM.
 (UMA_SLAB_KMAP met its original demise in revision 1.30 of
 vm/uma_core.c.)  UMA_SLAB_KERNEL is now required by the jumbo frame
 allocators.  Without it, UMA cannot correctly return pages from the
 jumbo frame zones to the VM system because it resets the pages' object
 field to NULL instead of the kernel object.  In more detail, the jumbo
 frame zones are created with the option UMA_ZONE_REFCNT.  This causes
 UMA to overwrite the pages' object field with the address of the slab.
 However, when UMA wants to release these pages, it doesn't know how to
 restore the object field, so it sets it to NULL.  This change teaches
 UMA how to reset the object field to the kernel object.

Crashes reported by: kris
Fix tested by: kris

Approved by: alc

15 years agoMFC: r181782, cvs 1.235 udp_usrreq.c, 1.102 ip6_input.c, 1.44 ip6_var.h
bz [Mon, 18 Aug 2008 23:00:41 +0000 (23:00 +0000)]
MFC: r181782, cvs 1.235 udp_usrreq.c, 1.102 ip6_input.c, 1.44 ip6_var.h

  Fix a regression introduced in r179289 splitting up ip6_savecontrol()
  into v4-only vs. v6-only inp_flags processing.
  When ip6_savecontrol_v4() is called from ip6_savecontrol() we
  were not passing back the **mp thus the information will be missing
  in userland.
  Istead of going with a *** as suggested in the PR we are returning
  **mp now and passing in the v4only flag as a pointer argument.

PR: kern/126349

15 years agoMFC: Allow comment to be placed at the end of a configuration line.
sobomax [Mon, 18 Aug 2008 20:35:02 +0000 (20:35 +0000)]
MFC: Allow comment to be placed at the end of a configuration line.

15 years agoMFC: Fix 6-year old cut&paste error. The # could be escaped with '\', not
sobomax [Mon, 18 Aug 2008 20:31:50 +0000 (20:31 +0000)]
MFC: Fix 6-year old cut&paste error. The # could be escaped with '\', not
with '\\'.

15 years agoMerge r178285, r178318, r178319, r178320, r178321, r178322, r178325,
rwatson [Mon, 18 Aug 2008 08:11:48 +0000 (08:11 +0000)]
Merge r178285, r178318, r178319, r178320, r178321, r178322, r178325,
r178376, r178377, r178378, r178419, r179412, r179414, r180127, r180338,
r180343, r180344, r180346, r180348, r180368, r180422, r180429, r180536,
r180558, r180589, r181364, r181365 from head to stable/7:

Introduce and use rwlocks throughout the inpcbinfo and inpcb infrastructure,
and protocols that depend on that infrastructure, including UDP, TCP, and
IP raw sockets.  Significant parts of this work were reviewed by Bjoern Zeeb,
and tested by Paul Saab, Kris Keneway, and George Neville-Neil, whose
contributions to this work are greatly appreciated.

Tested by:      ps, kris, gnn, Mike Tancsa <mike at sentex dot net>
Reviewed by:    bz, des

15 years agoMFC r179467
sam [Mon, 18 Aug 2008 01:20:39 +0000 (01:20 +0000)]
MFC r179467

5416 and similar chips grew another region in the pci clock domain
where register accesses do not pass through the byte-lane hardware;
extend the register op macros to deal with this

15 years agoMFC r179640: correct code returned in AsssocResp
sam [Mon, 18 Aug 2008 01:16:04 +0000 (01:16 +0000)]
MFC r179640: correct code returned in AsssocResp

15 years agoMFC r180837: don't deauth a station because it sends a ps-poll w/ a bogus aid
sam [Mon, 18 Aug 2008 01:05:46 +0000 (01:05 +0000)]
MFC r180837: don't deauth a station because it sends a ps-poll w/ a bogus aid

15 years agoMFC r181083
sam [Mon, 18 Aug 2008 00:59:07 +0000 (00:59 +0000)]
MFC r181083

unset TARGET_CPUTYPE and TARGET_BIG_ENDIAN when building the kernel
to silence compiler complaints when cross-building

15 years agoMFC r181454: recognize WPS ie's
sam [Mon, 18 Aug 2008 00:51:19 +0000 (00:51 +0000)]
MFC r181454: recognize WPS ie's

15 years agoMFC r181347: add WPS oui
sam [Mon, 18 Aug 2008 00:16:57 +0000 (00:16 +0000)]
MFC r181347: add WPS oui

15 years agoMFC support to return all received information elements in scan results
sam [Sun, 17 Aug 2008 23:00:47 +0000 (23:00 +0000)]
MFC support to return all received information elements in scan results
and station information

15 years agoSomewhat belatedly, update for SA-08:06.bind and EN-08:02.tcp.
bmah [Sun, 17 Aug 2008 12:58:32 +0000 (12:58 +0000)]
Somewhat belatedly, update for SA-08:06.bind and EN-08:02.tcp.

15 years agoMFC allocator improvements and fixes:
jasone [Sat, 16 Aug 2008 20:14:21 +0000 (20:14 +0000)]
MFC allocator improvements and fixes:

* Enhance the chunk map to support run coalescing, and substantially reduce
  the number of red-black tree operations performed.

* Remove unused code.

* Fix arena_run_reg_dalloc() to use the entire precomputed division table.

* Improve lock preemption performance for hyperthreaded CPUs.

15 years agoMFC r173217,176789,176792-176793,176839,176842
yar [Sat, 16 Aug 2008 19:17:36 +0000 (19:17 +0000)]
MFC r173217,176789,176792-176793,176839,176842

Don't forget to set MAKEFLAGS in the childs' environment
from the .MAKEFLAGS global variable even if it's empty or
unset.  This means setting MAKEFLAGS to just an empty string
in the latter case.

The non-POSIX environment variable MAKE was superseded
by MAKEFLAGS ages ago, so don't mention it in comments.

Update the manpage accordingly and make the whole description of
MAKEFLAGS and .MAKEFLAGS more consistent as this change indeed
brings more consistency into the reliable behaviour of make(1).

Give more details in the manpage on the following topics:
o How global, command-line, and environment variables relate.
o What peculiarities the -f option has WRT ${MAKEFLAGS}.

(.Dd in the manpage is already beyond the date of those changes
in HEAD.)

15 years agoMFC: Update man page for addition of BIOCSETFNR.
dwmalone [Sat, 16 Aug 2008 11:48:44 +0000 (11:48 +0000)]
MFC: Update man page for addition of BIOCSETFNR.

15 years agoMFC:
dwmalone [Sat, 16 Aug 2008 11:48:10 +0000 (11:48 +0000)]
MFC:
Add a new ioctl for changing the read filter (BIOCSETFNR). This is
just like BIOCSETF but it doesn't drop all the packets buffered on
the discriptor and reset the statistics.

Also, when setting the write filter, don't drop packets waiting to
be read or reset the statistics.

15 years agoMFC: Use an explicit path to pw(8) so /usr/sbin does not have to be in
jhb [Fri, 15 Aug 2008 20:20:23 +0000 (20:20 +0000)]
MFC: Use an explicit path to pw(8) so /usr/sbin does not have to be in
the user's path.

15 years agoMFC: If the kernel fails to allocate resources for the initial value of a
jhb [Fri, 15 Aug 2008 20:16:21 +0000 (20:16 +0000)]
MFC: If the kernel fails to allocate resources for the initial value of a
PCI BAR, then zero the BAR and clear the resource list entry so that a
new resource will be allocated by the device driver.

15 years agoMFC: Fix some of the hangs reported with the real mode BTX by disabling
jhb [Fri, 15 Aug 2008 19:51:23 +0000 (19:51 +0000)]
MFC: Fix some of the hangs reported with the real mode BTX by disabling
interrupts for software interrupts.

15 years agoMFC: Initialize the vm86 structure to a known-good state, specifically
jhb [Fri, 15 Aug 2008 19:31:12 +0000 (19:31 +0000)]
MFC: Initialize the vm86 structure to a known-good state, specifically
eflags.

15 years agoMFC: Close two different races with concurrent opens of pty master devices.
jhb [Fri, 15 Aug 2008 19:25:40 +0000 (19:25 +0000)]
MFC: Close two different races with concurrent opens of pty master devices.

15 years agoMFC: Close a race with concurrent open's of a pts master device which
jhb [Fri, 15 Aug 2008 19:22:33 +0000 (19:22 +0000)]
MFC: Close a race with concurrent open's of a pts master device which
could result in leaked tty structures.

15 years agoMFC r180495 to stable/7:
antoine [Fri, 15 Aug 2008 16:42:07 +0000 (16:42 +0000)]
MFC r180495 to stable/7:
  Staticize M_STACK.

  Approved by:    rwatson (mentor)
  MFC after:      1 month

15 years agoMFC: r177373
marius [Fri, 15 Aug 2008 11:37:29 +0000 (11:37 +0000)]
MFC: r177373

Oops. Use atomic_add_long() for atomic_fetchadd_long() (not atomic_add_int())
for sparc64 and sun4v.

15 years agoMFC r177535 by peter:
kib [Fri, 15 Aug 2008 09:08:35 +0000 (09:08 +0000)]
MFC r177535 by peter:
(Micro)optimization of cpu_switch for amd64.
Because r173004 (pure kernel threads) is not MFCed to stable/7, I use
P_KTHREAD flag from curthread->td_proc->p_flag instead of TDP_KTHREAD
flag from curthread->td_pflags to test whether the fs/gs bases need to
be restored [1].

No objections for MFC from: peter
Suggested by: jhb [1]

MFC r180992:
Bring back the save/restore of the %ds, %es, %fs and %gs registers for
the 32bit images on amd64.

The end result is almost complete syncronization of the
amd64/amd64/cpu_switch.S between head and stable/7, besides TDP_KTHREAD
difference.

15 years agoMFC of r180208, r181413, r181418, r181421, r181424
edwin [Fri, 15 Aug 2008 01:12:28 +0000 (01:12 +0000)]
MFC of r180208, r181413, r181418, r181421, r181424

  Set magic fbsd:nokeywords property

  Remove Theory, which isn't part of the zoneinfo module but came out
  of /head/usr.sbin/zic (and isn't installed from there neither).

  MFC of tzdata2008c

  - Africa/Morocco will have DST in 2008.
  - Asia/Choibalsan should be GMT+08:00.
  - Asia/Pakistan will have DST in 2008.

  MFC of tzdata2008d

  - Mauritius will have a DST experiment between 2008-11-01 and 2009-03-31.
  - Add/Fix historical data for C-Eur, the SovietZone, Germany,
    Bahamas, San Luis.
  - Add information about West Para (America/Santarem)
  - America/Eirunepe and America/Rio_Branco go to UTC-4

  MFC on tzdata2008e:

  - Fix dates in 2008/2009 for Africa/Mauritius.
  - Leap second notification for the end of 2008.

15 years agoMFC: Add support for cpusets to the 4BSD scheduler.
jhb [Thu, 14 Aug 2008 22:04:52 +0000 (22:04 +0000)]
MFC: Add support for cpusets to the 4BSD scheduler.

Committed from: my iPhone

15 years agoMFC: Various and sundry whitespace fixes.
jhb [Thu, 14 Aug 2008 19:27:47 +0000 (19:27 +0000)]
MFC: Various and sundry whitespace fixes.

15 years agoMFC: Retire the odd ts_flags #define that caused us to often go from the
jhb [Thu, 14 Aug 2008 18:51:19 +0000 (18:51 +0000)]
MFC: Retire the odd ts_flags #define that caused us to often go from the
thread to the td_sched back to the thread to find flags.

15 years agoMFC: Use an sx lock to serialize writes and remove D_NEEDGIANT.
jhb [Thu, 14 Aug 2008 18:00:37 +0000 (18:00 +0000)]
MFC: Use an sx lock to serialize writes and remove D_NEEDGIANT.

15 years agoRemove mergeinfo on these files now that it's been taken care of in parent.
peter [Thu, 14 Aug 2008 04:34:47 +0000 (04:34 +0000)]
Remove mergeinfo on these files now that it's been taken care of in parent.

15 years agoCheckpoint; remove et mergeinfo, it should never have come back to life.
peter [Thu, 14 Aug 2008 04:32:53 +0000 (04:32 +0000)]
Checkpoint; remove et mergeinfo, it should never have come back to life.

15 years agoCheckpoint more mergeinfo repairs. Some of these might have been from
peter [Thu, 14 Aug 2008 04:11:49 +0000 (04:11 +0000)]
Checkpoint more mergeinfo repairs.  Some of these might have been from
people reverting merges they thought weren't relevant prior to commits.

15 years agoFix a bunch of missing merge records for changes that have been mfc'ed,
peter [Thu, 14 Aug 2008 03:46:18 +0000 (03:46 +0000)]
Fix a bunch of missing merge records for changes that have been mfc'ed,
but somehow got removed from sys mergeinfo.

15 years agoRestore some missing merge records from sys that somebody deleted.
peter [Thu, 14 Aug 2008 03:29:50 +0000 (03:29 +0000)]
Restore some missing merge records from sys that somebody deleted.
Restore some missing records from forth/support.4th that I trashed.

15 years agoRev r179864 was recorded as a blanket merge of 44604-178817, but actually
peter [Thu, 14 Aug 2008 03:05:30 +0000 (03:05 +0000)]
Rev r179864 was recorded as a blanket merge of 44604-178817, but actually
merged just 174777.

15 years agoHoist mergeinfo for sys/cam/scsi to sys. This elides separate copy of
peter [Thu, 14 Aug 2008 02:47:46 +0000 (02:47 +0000)]
Hoist mergeinfo for sys/cam/scsi to sys.  This elides separate copy of
mergeinfo for cam/scsi now.

15 years agoHoist mergeinfo for sys/dev/usb up to sys
peter [Thu, 14 Aug 2008 02:23:26 +0000 (02:23 +0000)]
Hoist mergeinfo for sys/dev/usb up to sys

15 years agoHoist mergeinfo for sys/dev/gem up to sys
peter [Thu, 14 Aug 2008 02:21:17 +0000 (02:21 +0000)]
Hoist mergeinfo for sys/dev/gem up to sys

15 years agoMFC of r181352
edwin [Thu, 14 Aug 2008 01:47:39 +0000 (01:47 +0000)]
MFC of r181352

Update the units library file.

- Merge changes from NetBSD and OpenBSD.
- Add the Euro as a primitive unit, add old converted currency and
  pegged currency (Obtained from Wikipedia)
- Rename "dollar" to "usdollar" as primitive unit, remove non-pegged
  currency and add pegged currency (Obtained from Wikipedia)
- Updated the accuracy of a lot of constants (Obtained from Wikipedia)

PR:             bin/106545 bin/88252
Submitted by:   trasz<trasz@pin.if.uz.zgora.pl>, J Vinopal <banshee@abattoir.com>

15 years agoHoist boot/forth/support.4th mergeinfo to sys
peter [Thu, 14 Aug 2008 01:46:35 +0000 (01:46 +0000)]
Hoist boot/forth/support.4th mergeinfo to sys

15 years agoHoist mergeinfo for sys/powerpc/include/atomic.h up to sys.
peter [Thu, 14 Aug 2008 01:40:12 +0000 (01:40 +0000)]
Hoist mergeinfo for sys/powerpc/include/atomic.h up to sys.
Note that some of the changes that were mfc'ed to powerpc actually affect
other platforms.  This hoisting brings those changes to the others.
This adds atomic_fetchadd_long to the rest, and adds
atomic_readandclear_ptr to ia64.  While I have not compile tested this, it
looks harmless.

15 years agoMFH r179051 (support for tracing 32-bit binaries on amd64)
des [Thu, 14 Aug 2008 01:36:47 +0000 (01:36 +0000)]
MFH r179051 (support for tracing 32-bit binaries on amd64)
MFH r179059 (retire alpha support)
MFH r181061 (code cleanup)

15 years agoMFH r175062 (break takes a pointer, not an int)
des [Thu, 14 Aug 2008 01:20:59 +0000 (01:20 +0000)]
MFH r175062 (break takes a pointer, not an int)

15 years agoDocument the E1000 driver changes for the 7.1 RELEASE
jfv [Thu, 14 Aug 2008 00:58:54 +0000 (00:58 +0000)]
Document the E1000 driver changes for the 7.1 RELEASE

15 years agoPromote all sys/kern mergeinfo to sys
peter [Thu, 14 Aug 2008 00:48:59 +0000 (00:48 +0000)]
Promote all sys/kern mergeinfo to sys

15 years agoRevert the well meaning, but broken rev 181692. For example, sys/nlm has
peter [Wed, 13 Aug 2008 19:46:51 +0000 (19:46 +0000)]
Revert the well meaning, but broken rev 181692.  For example, sys/nlm has
had several "all revs" merges.  If this is exported up to the root of sys
as-is, then it records that 'all revs' of head have been merged for the
entire sys tree, which they have not.

Work is in progress to sanitize the current state and prevent it from
happening again.

15 years agoForcibly move all mergeinfo up to sys.
des [Wed, 13 Aug 2008 16:49:00 +0000 (16:49 +0000)]
Forcibly move all mergeinfo up to sys.

15 years agoMFC: r180922: allow kernel config files to include files other than those
obrien [Wed, 13 Aug 2008 14:23:26 +0000 (14:23 +0000)]
MFC: r180922: allow kernel config files to include files other than those
              in the CWD, using unquoted paths.

15 years agoMFC r181345:
kib [Wed, 13 Aug 2008 12:40:23 +0000 (12:40 +0000)]
MFC r181345:
User may do "mount -o snapshot ...", that causes new FFS mount to be
performed with snapshot option, while the mp->mnt_opt is NULL.
Protect against NULL pointer dereference.

MFC r181528:
Revert r181345.
Move the NULL pointer check to the vfs_deleteopt() function.

15 years agoMFC of SVN rev 181482:
brix [Tue, 12 Aug 2008 19:40:18 +0000 (19:40 +0000)]
MFC of SVN rev 181482:

Add quirks for making uhid(4) ignore the Apple iPhone and iPhone 3G.

Approved by: sam

15 years agoMove mergeinfo for sys/net/if_gre.c up to sys/.
jhb [Tue, 12 Aug 2008 19:22:43 +0000 (19:22 +0000)]
Move mergeinfo for sys/net/if_gre.c up to sys/.

15 years agoMFH r176471 (KTR_STRUCT, support for struct stat and struct sockaddr)
des [Tue, 12 Aug 2008 17:22:51 +0000 (17:22 +0000)]
MFH r176471 (KTR_STRUCT, support for struct stat and struct sockaddr)

15 years ago- MFC r180693. Whitespace fixes.
stas [Tue, 12 Aug 2008 10:08:25 +0000 (10:08 +0000)]
- MFC r180693. Whitespace fixes.

Approved by: kib

15 years agoMFC of SVN r181466:
ed [Tue, 12 Aug 2008 08:54:43 +0000 (08:54 +0000)]
MFC of SVN r181466:

Delete unused files in the window(1) directory that contain a colon.

During the import of the 4.4BSD Lite sources, four files got added to
the repository called :tt, :tty, :var and :ww. They seem to contain some
kind of debug information. These files aren't used/installed anywhere.

Unfortunately the colons in the filenames prevents us from checking out
the source tree on file systems that don't support colons (such as FAT).
Just remove these unneeded files to keep SVN happy.

Reported by:    Rohit Tripathi <rohit trip gmail com>

15 years agoMFC of r181322
edwin [Tue, 12 Aug 2008 04:55:54 +0000 (04:55 +0000)]
MFC of r181322

style(9)ify usr.bin/calendar

PR: bin/11864

15 years agoMFC: r181620
kevlo [Tue, 12 Aug 2008 01:21:43 +0000 (01:21 +0000)]
MFC: r181620
Add et(4) to the list of drivers use the miibus interface

15 years agoMFC of the 1.4.7 ixgbe driver
jfv [Mon, 11 Aug 2008 21:02:22 +0000 (21:02 +0000)]
MFC of the 1.4.7 ixgbe driver