summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update dialog to 1.1-20110707.nwhitehorn2011-07-1444-1553/+3755
|\
| * Import dialog 1.1-20110707. This adds support for several features (e.g.nwhitehorn2011-07-1443-1549/+3754
| | | | | | | | --hline) found in the old FreeBSD dialog.
* | Fix indentation.bz2011-07-141-1/+1
| | | | | | | | | | | | Obtained from: Ed Maste at Sandvine Incorporated Sponsored by: Sandvine Incorporated MFC after: 3 days
* | Unbreak no-INET kernels after r223839 adding the needed #ifdef INET.bz2011-07-141-0/+2
| | | | | | | | MFC after: 4 weeks
* | Include device rt in RT305X config.ray2011-07-142-8/+9
| | | | | | | | Approved by: adrian (mentor)
* | Revert it back. Too many changes for one commit.ray2011-07-142-124/+120
| | | | | | | | Approved by: adrian (mentor)
* | Include device rt in RT305X config and little cleanup.ray2011-07-142-120/+124
| | | | | | | | Approved by: adrian (mentor)
* | Add a -l option to show file system's corresponding /dev/ufsid path.delphij2011-07-142-5/+26
| | | | | | | | | | | | | | This is useful for scripts that converts existing system's fstab to use their /dev/ufsid devices. MFC after: 2 weeks
* | Use calloc() instead of an explicit memset.delphij2011-07-141-4/+2
| | | | | | | | MFC after: 2 weeks
* | Add a new option, -N to disable the default and recommended syslogd(8)delphij2011-07-142-8/+31
| | | | | | | | | | | | | | | | behavior, which binds to the well known UDP port. This option implies -s. MFC after: 2 months
* | Use prototype. While I'm there, add a pair of parenthesis to mark an ifdelphij2011-07-145-7/+8
| | | | | | | | | | | | statment's border. MFC after: 1 month
* | More Japan regulatory domain fixes:adrian2011-07-141-1/+21
| | | | | | | | | | | | * Add HT40 entries for the two new Japan bands * Fix a channel separation bug in one of the new bands I introduced in a previous commit.
* | Japan regulatory domain update #1 - sync with CRDA entries.adrian2011-07-141-0/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifics: * add 4920MHz-4980MHz for 11a and 11n/HT20 * add 5040MHz-5080MHz for 11a and 11n/HT20 * add 5500MHz-5700MHz for 11a and 11n/HT20 (DFS needed) * add 5500MHz-5680MHz for 11n/HT40 (DFS needed) TODO: * add correct HT40 bands for 4920-4980 and 5040-5080 For the curious: There's been many revisions to the Japan regulatory rules. Apparently, the requirements require old cards certified on a previous version of the rules to obey the older rules, not the newer rules. The regdomain.xml outlines the -current- restrictions. The card driver (eg the ath_hal regulatory domain code) may include previous revisions of the Japan rules. The ath_hal regdomain code populates the initial channel list based on what the EEPROM indicates is possible. The regdomain.xml database imposes further restrictions on this. So regdomain.xml only needs to have the -current- rules. If the card was certified on an earlier set of JP rules, it may only support a subset of those channels - these are calculated at device attach and this restricted list is kicked to net80211. regdomain.xml operates on -this- list of channels. And thus, the correct regulatory behaviour for Japan is handled with only one regdomain.xml Japan database entry. (phew.) Obtained from: Linux wireless-regdb
* | Remove trailing whitespace in the shutdown(8) manual.gjb2011-07-141-2/+2
| | | | | | | | MFC after: 1 week
* | Improvements to the shutdown(8) manual.gjb2011-07-141-12/+14
| | | | | | | | | | | | PR: 158807 Submitted by: arundel MFC after: 1 week
* | Fix for dump after shutdown with USB keyboard plugged in. It appears that thehselasky2011-07-131-2/+32
| | | | | | | | | | | | | | | | | | | | system timer is stopped during shutdown and that the pause() statement in ukbd causes infinite hang in this regard. The fix is to use mi_switch() instead of pause() to do the required task switch to ensure that the required USB processes get executed. Reported by: Mike_Karels@mcafee.com MFC after: 1 week
* | While fixing the looping of a thread while devfs vnode is reclaimed,kib2011-07-131-6/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r179247 introduced a possibility of devfs_allocv() returning spurious ENOENT. If the vnode is selected by vnlru daemon for reclamation, then devfs_allocv() can get ENOENT from vget() due to devfs_close() dropping vnode lock around the call to cdevsw d_close method. Use LK_RETRY in the vget() call, and do some part of the devfs_reclaim() work in devfs_allocv(), clearing vp->v_data and de->de_vnode. Retry the allocation of the vnode, now with de->de_vnode == NULL. The check vp->v_data == NULL at the start of devfs_close() cannot be affected by the change, since vnode lock must be held while VI_DOOMED is set, and only dropped after the check. Reported and tested by: Kohji Okuno <okuno.kohji jp panasonic com> Reviewed by: attilio MFC after: 3 weeks
* | - Expand the scope of the lock in the interrupt routine to close races withmarius2011-07-131-22/+25
| | | | | | | | | | | | | | | | checking IFF_DRV_RUNNING and simplify the code. This also involves holding the driver lock in the rx_ch callout. - Just use ifp instead of sc->sc_ifp. Submitted by: jhb (mostly)
* | - For SAS but neither FC nor SPI controllers default to using MSI (stillmarius2011-07-132-22/+20
| | | | | | | | | | | | | | | | | | | | | | | | allowing their use to be disabled via device hints though). This matches what the corresponding Linux driver provided by LSI does. Tested with SAS1064. - There's no need to keep track of the RIDs used. - Don't allocate MSI/MSI-X as RF_SHAREABLE. - Remove a comment which no longer applies since r209599. - Assign NULL rather than 0 to pointers. MFC after: 1 month
* | PCIB_ALLOC_MSIX() may already fail on the first pass, f.e. when the PCI-PCImarius2011-07-131-1/+4
| | | | | | | | | | | | | | | | | | | | | | bridge is blacklisted. In that case just return from pci_alloc_msix_method(), otherwise we continue without a single MSI-X resource, causing subsequent attempts to use the seemingly available resource to fail or when booting verbose a NULL-pointer dereference of rle->start when trying to print the IRQ in pci_alloc_msix_method(). Reviewed by: jhb MFC after: 1 week
* | Remove extra empty lines.marius2011-07-131-11/+0
| |
* | Run newaliases at the end of the install process.nwhitehorn2011-07-131-0/+4
| | | | | | | | Submitted by: kevlo
* | When exiting with error because of an invalid command line argumenttrociny2011-07-131-3/+3
| | | | | | | | | | | | use errx(3), not err(3), and the exit code from sysexits(3). Approved by: pjd (mentor)
* | Fix indentation.trociny2011-07-131-1/+1
| | | | | | | | Approved by: pjd (mentor)
* | r222389 introduced a case where the NFSv4 client couldrmacklem2011-07-131-1/+2
| | | | | | | | | | | | | | | | | | | | loop in nfscl_getcl() when a forced dismount is in progress, because nfsv4_lock() will return 0 without sleeping when MNTK_UNMOUNTF is set. This patch fixes it so it won't loop calling nfsv4_lock() for this case. MFC after: 2 weeks
* | Document RFTSIGZMB. Fix spelling of SIGCHLD. Note that signals arekib2011-07-121-2/+14
| | | | | | | | | | | | delivered, not returned. MFC after: 1 week
* | Implement an RFTSIGZMB flag to rfork(2) to specify a signal that iskib2011-07-122-1/+24
| | | | | | | | | | | | | | | | delivered to parent when the child exists. Submitted by: Petr Salinger <Petr.Salinger seznam cz> (Debian/kFreeBSD) MFC after: 1 week X-MFC-note: bump __FreeBSD_version
* | Don't check for SOCK_DGRAM anymore. Also remove multicasttuexen2011-07-121-9/+1
| | | | | | | | related code which is not necessary anymore.
* | Mention myself in the AUTHORS section.pluknet2011-07-121-1/+8
| | | | | | | | Requested by: stas
* | The socket API only specifies SCTP for SOCK_SEQPACKET andtuexen2011-07-122-44/+20
| | | | | | | | | | | | SOCK_STREAM, but not SOCK_DGRAM. So don't register it for SOCK_DGRAM. While there, fix some indentation.
* | Remove NULL assignments which are redundant for static timecounters.marius2011-07-121-4/+0
| | | | | | | | Submitted by: jkim
* | - Remove redundant timecounter masking from counter_get_timecount().marius2011-07-121-4/+2
| | | | | | | | | | | | | | - Zero the timecounter when allocation so we don't need to initialize unused members and remove a now redundant NULL assignment. Submitted by: jkim
* | - Current testing shows that (ab)using the JBC performance counter in busmarius2011-07-121-13/+10
| | | | | | | | | | | | | | | | cycle mode as timecounter just works fine. My best guess is that a firmware update has fixed this, check at run-time whether it advances and use a positive quality if it does. The latter will cause this timecounter to be used instead of the tick counter based one, which just sucks for SMP. - Remove a redundant NULL assignment from the timecounter initialization.
* | - Add a missing shift in schizo_get_timecount(). This happened to be non-fatalmarius2011-07-121-3/+3
| | | | | | | | | | | | | | as STX_CTRL_PERF_CNT_CNT0_SHIFT actually is zero, if we were using the second counter in the upper 32 bits this would be required though as the MI timecounter code doesn't support 64-bit counters/counter registers. - Remove a redundant NULL assignment from the timecounter initialization.
* | Update mxge(4) firmware to the latest version available fromgallatin2011-07-124-34013/+34835
| | | | | | | | | | | | | | Myricom (1.4.53a). MFC after: 7 days Sponored by: Myricom, Inc.
* | Fix media reporting for dual port CX4 myri10ge NICsgallatin2011-07-121-1/+1
| | | | | | | | | | MFC after: 7 days Sponsored by: Myricom, Inc.
* | Sort Xr's by number then by nameivoras2011-07-121-2/+2
| | | | | | | | Nitpicked by: niclas zeising at gmail.com :)
* | Try and fix the exports.5 man page so that it clarifies howrmacklem2011-07-121-1/+21
| | | | | | | | | | | | | | | | NFSv4 exports are handled. Improved by informal review comments from mckusick, kudak at mit.edu and bde. This is a content change. MFC after: 2 weeks
* | Provide a simple manual page for libprocstat(3).pluknet2011-07-123-2/+256
| | | | | | | | Reviewed by: jilles, gjb
* | Properly align the end of a candidate back region based on the window'sjhb2011-07-121-1/+1
| | | | | | | | | | | | | | granularity when growing a PCI-PCI window up. Tested by: dougb MFC after: 3 days
* | Partially merge r223648, r223648 and r223949 from gem(4):marius2011-07-122-46/+42
| | | | | | | | | | | | | | | | | | | | | | | | - Consistently use the newly introduced sc_mac_rxcfg throughout the driver instead of reading the old content of CAS_MAC_RX_CONF. - Increment if_iqdrops instead of if_ierrors in case of RX buffer allocation failure. - According to the Cassini datasheet the RX MAC should also be disabled in cas_setladrf() before changing its configuration. - Add error messages to gem_disable_{r,t}x() and take advantage of these throughout the driver instead of duplicating their functionality all over the place.
* | Correct r223648; as gem_init_locked() was calling gem_setladrf(), whichmarius2011-07-121-21/+20
| | | | | | | | | | | | | | | | | | | | | | sets GEM_MAC_RX_CONFIG based on sc_mac_rxcfg which in turn is initialized to zero, before reading the supposedly default configuration we were effectively not basing sc_mac_rxcfg and thus GEM_MAC_RX_CONFIG on the default configuration. Solve this by calling gem_setladrf() after reading in the default configuration of GEM_MAC_RX_CONFIG. This also avoids the need to distinguish whether gem_setladrf() should enable the RX MAC again and should be slightly more correct as we're now doing all of the RX MAC configuration in the intended step.
* | Truncate link addresses like it is done for anytuexen2011-07-121-1/+1
| | | | | | | | | | | | other address type. MFC after: 4 weeks
* | Use NULL instead of 0 for third argument of sigaction(2).ae2011-07-121-1/+1
| | | | | | | | | | Pointed by: kib MFC after: 2 weeks
* | Add SIGINFO handler.ae2011-07-121-0/+24
| | | | | | | | | | | | Reviewed by: kib Obtained from: NetBSD (partly) MFC after: 2 weeks
* | According to the OpenSolaris source the PCI latency and the cache line sizemarius2011-07-123-16/+29
| | | | | | | | | | should be set for Sun ERI. Tested by: yongari
* | If one's message is longer than the buffer size, then we reset 'cnt' at theobrien2011-07-121-1/+2
| | | | | | | | wrong point and the actual column # get out of sync across the buffer size.
* | Fix run-time breakage when encoutering invalid input-data.edwin2011-07-111-0/+2
| | | | | | | | PR: bin/157718
* | Since r219452 the alignment of __dmadat has changed, revealing that fsread()marius2011-07-111-31/+35
| | | | | | | | | | | | | | | | | | | | bogusly casts its contents around causing alignment faults on sparc64 and most likely also on at least powerpc. Fix this by copying the contents bytewise instead as partly already done here. Solving this the right way costs some space, i.e. 148 bytes with GCC and 16 bytes with clang on x86 there are still some bytes left there though, and an acceptable hack which tricks the compiler into only using a 2-byte alignment instead of the native one when accessing the contents turned out to even take up more space that.
* | Add a leading space to the status messages output after toggling thejhb2011-07-111-2/+2
| | | | | | | | | | | | | | | | | | | | 'C' and 'H' flags at runtime. This matches messages output for other toggles which leave the first column in the message blank to hold the cursor. PR: bin/158775 Submitted by: arundel MFC after: 3 days
OpenPOWER on IntegriCloud