summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fxi a bunch of typos.eadler2013-05-1021-27/+27
| | | | | PR: misc/174625 Submitted by: Jeremy Chadwick <jdc@koitsu.org>
* Add the letter 'q' to the font iso05-8x16.fnteadler2013-05-101-1/+1
| | | | | | | PR: 72585 PR: 169797 Submitted by: Takefu <takefu@airport.fm> Submitted by: Satoshi KImura <satosi.kimura@nifty.ne.jp>
* Bring /etc/protocols up to date.eadler2013-05-101-0/+7
| | | | | PR: conf/175397 Submitted by: ak
* Bump .Dd for recent content change.eadler2013-05-102-2/+2
| | | | Reported by: delphij
* Make sure the holding descriptor and link pointer are both freed duringadrian2013-05-102-2/+30
| | | | | | | | | | | | | | | | | | | | | | | a non-loss reset. When the drain functions are called, the holding descriptor and link pointers are NULLed out. But when the processq function is called during a non-loss reset, this doesn't occur. So the next time a DMA occurs, it's chained to a descriptor that no longer exists and the hardware gets angry. Tested: * AR5416, STA mode; use sysctl dev.ath.X.forcebstuck=1 to force a non-loss reset. TODO: * Further AR9380 testing just to check that the behaviour for the EDMA chips is sane. PR: kern/178477
* Check the return value of sbuf_finish().jh2013-05-101-2/+4
| | | | MFC after: 1 week
* Fix a VAP BSS node reference in the HT code to actually take a referenceadrian2013-05-101-1/+7
| | | | | | | | | | | | | | before using said node. The "blessed" way here is to take a node reference before referencing anything inside the node, otherwise the node can be freed between the time the pointer is copied/dereferenced and the time the node contents are used. This mirrors fixes that I've done elsewhere in the net80211/driver stack. PR: kern/178470
* another minor bugfix in the memory allocator, this time in the free routine.luigi2013-05-101-1/+1
|
* Make the read/write routines default to the newer DS1337 part, but keepimp2013-05-101-20/+2
| | | | the supported bits board specific.
* Move 'compatible' line out of the common am335x.dtsi and intokientzle2013-05-103-2/+160
| | | | | | | | the beaglebone-specific .dts file. Add a new .dts for the BeagleBone Black with more memory, slightly different pinmux initialization, and with mmchs1 configured (though the latter doesn't quite work yet).
* As requested, move this back to opt-in and list my boards.imp2013-05-101-3/+30
|
* Remove the commented out code I just committed. If we need it, I'llimp2013-05-101-225/+0
| | | | bring it back uncommented our, or rewrite it.
* Implement 'split -d' which allows a numeric suffix instead of aneadler2013-05-102-5/+29
| | | | | | | | | alphabetic one. PR: bin/116209 Submitted by: Marcin Gryszkalis <mg@fork.pl> (adapted from) Reviewed by: will MFC after: 1 week
* Style(9) changes fo xargs.ceadler2013-05-101-2/+4
|
* Add support for 'dmesg -c' which clears the dmesg buffer after it haseadler2013-05-102-6/+18
| | | | | | | | | | | been printed. This provides compatibility with other *nix systems (including Linux). While here use stdbool booleans for 'all'. PR: bin/178295 Submitted by: Levent Serinol <lserinol@gmail.com> Reviewed by: will
* Add commented out OCTEON_VENDOR_GEFESimp2013-05-101-0/+1
|
* Add support from GE Intelligent Platform Cavium Octeon boards. Addimp2013-05-105-12/+457
| | | | | | | | | | options OCTEON_VENDOR_GEFES to enable support for these boards, to match changes that GE publishes to the Octeon Simple Executive. Since board types overlap with other boards, it is unlikely that we will properly boot on other Octeon boards with OCTEON_VENDOR_GEFES enabled. Tested extensively on the WANIC 6354, but I retained support for all the other models. Some features need changes in the base kernel, and those are in progress.
* Support array-type of stats in bhyve.neel2013-05-104-35/+74
| | | | | | | | | | | | | | | An array-type stat in vmm.ko is defined as follows: VMM_STAT_ARRAY(IPIS_SENT, VM_MAXCPU, "ipis sent to vcpu"); It is incremented as follows: vmm_stat_array_incr(vm, vcpuid, IPIS_SENT, array_index, 1); And output of 'bhyvectl --get-stats' looks like: ipis sent to vcpu[0] 3114 ipis sent to vcpu[1] 0 Reviewed by: grehan Obtained from: NetApp
* Both my EBH5200 and GE WANIC 6354 have a RTC as well. It looks fromimp2013-05-101-18/+3
| | | | | | the Linux tree that they always include this chip in their FDT, so make support for the ds1337 opt-out rather than opt-in. Now my boards boot with the correct time.
* Retire write-only PCB_GS32BIT pcb flag on amd64.dchagin2013-05-096-7/+3
|
* Fix two typoseadler2013-05-091-2/+2
| | | | Reviewed by: jilles
* posix_spawn_file_actions_adddup2(3): Document difference with dup2().jilles2013-05-091-2/+23
| | | | | | | | The ability to clear a file descriptor's close-on-exec flag via posix_spawn_file_actions_adddup2() is in fact proposed in Austin Group issue #411. MFC after: 1 week
* MFp4 CH=227440:bz2013-05-092-134/+134
| | | | | | | | | Convert the structures to C99 style initialisation, which makes it a lot easier to check that all of them are set and to generate a derived template from them. Sponsored by: DARPA, AFRL MFC after: 2 weeks
* Add some missing arge MDIO hints.adrian2013-05-091-0/+6
| | | | Submitted by: Luiz Otavio O Souza <loos.br@gmail.com>
* Revision 233677 broke certain machines. Specifically, if the firmware/BIOSjhb2013-05-091-2/+29
| | | | | | | | | | | | | | | | | | | | assigned conflicting ranges to BARs then leaving the BARs alone could result in one device stealing mmio accesses intended to go to a second device. Prior to 233677 the PCI bus driver attempted to handle this case by clearing the BAR to 0 depending on BARs based at 0 not decoding (which is not guaranteed to be true). Now when a conflicting BAR is detected the following steps are taken: 1) If hw.pci.realloc_bars (a new tunable) is enabled (default is enabled), then ignore the current BAR setting from the firmware and attempt to allocate a fresh resource range for the BAR. 2) If 1) failed (or was disabled), disable decoding for the relevant BAR type (e.g. disable mem decoding for a memory BAR) and emit a warning if booting verbose. Tested by: Alex Keda <admin@lissyara.su> MFC after: 1 week
* Correct the type for the literal used on the left side of the shift upkib2013-05-091-2/+2
| | | | | | | | | | to 63 bit positions. Do not fill the save area and do not set the saved bit in the xstate bit vector for the state which is not marked as enabled in xsave_mask. Reported and tested by: Jim Ohlstein <jim@ohlste.in> MFC after: 3 days
* if_lem.c: make sure that lem_rxeof() can drain the entire rx queueluigi2013-05-094-5/+27
| | | | | | | | | | | | irrespective of the setting of lem_rx_process_limit, while giving a chance to the taskqueue scheduler to act after each chunk. This makes lem_rxeof similar to the one in if_em.c and if_igb.c . if_lem.c and if_em.c: add a sysctl to manually configure the 'itr' moderation register. Approved by: Jack Vogel
* simplify the code to initialize the RDT while in netmap mode.luigi2013-05-092-20/+9
|
* posix_spawn_file_actions_addopen(3): Correct error for bad file descriptor.jilles2013-05-091-2/+2
| | | | | | | | As per POSIX.1-2008, posix_spawn_file_actions_add* return [EBADF] if a file descriptor is negative, not [EINVAL]. The bug was only in the manual page; the code is correct. MFC after: 1 week
* Add option WITNESS_NO_VNODE to suppress printing LORs between VNODEmarcel2013-05-096-2/+19
| | | | | | | | | locks. To support this, VNODE locks are created with the LK_IS_VNODE flag. This flag is propagated down using the LO_IS_VNODE flag. Note that WITNESS still records the LOR. Only the printing and the optional entering into the kernel debugger is bypassed with the WITNESS_NO_VNODE option.
* Fix a bug that would cause the category menu to display the wrong valuedteske2013-05-091-4/+4
| | | | | for number of packages available in the "All" category. Problem caused by re-using a variable that was still needed; fixed by variable name change.
* Item 1 in r248830 causes earlier exits from the sendfile(2), beforekib2013-05-091-18/+29
| | | | | | | | | | | | | | | | | all requested data was sent. The reason is that xfsize <= 0 condition must not be tested at all if space == loopbytes. Otherwise, the done is set to 1, and sendfile(2) is aborted too early. Instead of moving the condition to exiting the inner loop after the xfersize check, directly check for the completed transfer before the testing of the available space in the socket buffer, and revert item 1 of r248830. It is arguably another bug to sleep waiting for socket buffer space (or return EAGAIN for non-blocking socket) if all bytes are already transferred. Reported by: pho Discussed with: scottl, gibbs Tested by: scottl (stable/9 backport), pho
* Update the holding buffer locking for EDMA.adrian2013-05-091-3/+3
|
* Remove duplicated copies of various NetBSD compatibility shims used bybrooks2013-05-098-1401/+16
| | | | | | | makefs and use libnetbsd, contrib/mtree, and contrib/mknod instead. Sponsored by: DARPA, AFRLo MFC after: 1 month
* wordexp(): Simplify code by deferring work to sh.jilles2013-05-091-13/+3
|
* Move snmp_hast manual to section 3, where all other manual pages fortrociny2013-05-092-3/+3
| | | | | | | | | | | | | | | bsnmp modules are located. Section 3 (Library Functions) looks wrong for this manual page, which contains only module description, that is why initially it was located to section 8 (System Manager's Manual). On the other hand manual pages for all other bsnmpd modules are already located in the section 3, and having all pages in one section looks more consistent. Also, currently, similarly to manuals for other modules, snmp_hast manual contains LIBRARY section, which is not good style for section 8. Requested by: joel X-MFC with: r250379
* Fix return value for setcontext and swapcontext.davidxu2013-05-091-4/+8
|
* Start sentences on new lines.eadler2013-05-091-2/+4
|
* Generalize the bitset operations, present in cpuset and offer a KPI toattilio2013-05-094-126/+243
| | | | | | | | | | redefine such operations for different consumers. This will be used when NUMA support will be finished and numaset will need to be used. Sponsored by: EMC / Isilon storage division Obtained from: jeff Reviewed by: alc
* Unbreak build - this can only build on i386 as-is due to use of libl inpeter2013-05-081-1/+0
| | | | a .so file, and we currently (intentionally) only build libl.a.
* When gcc 4.2.0 was imported, the 3DNow intrinsics header <mm3dnow.h> wasdim2013-05-081-1/+2
| | | | | | | not added to the list of intrinsics headers to install, so belatedly (5 years :) add it. MFC after: 1 week
* For some reason, the gcc intrinsics header tmmintrin.h was imported withdim2013-05-081-224/+0
| | | | | | two copies of itself pasted together. Remove the extraneous copy. MFC after: 3 days
* Fix the holding descriptor logic to actually be "right" (for valuesadrian2013-05-082-8/+55
| | | | | | | | | | | | | | | | | | | | of "right".) Flip back on the "always continue TX DMA using the holding descriptor" code - by always setting ATH_BUF_BUSY and never setting axq_link to NULL. Since the holding descriptor is accessed via txq->axq_link and _that_ is done behind the TXQ lock rather than the TX path lock, the holding descriptor stuff itself needs to be behind the TXQ lock. So, do the mental gymnastics needed to do this. I've not seen any of the hardware failures that I was seeing when I last tried to do this. Tested: * AR5416, STA mode
* Minor improvements.joel2013-05-081-4/+6
|
* Revert r250339 as apparently it is more clutter than help.attilio2013-05-081-42/+0
| | | | | Sponsored by: EMC / Isilon storage division Requested by: jhb
* Remove EOL whitespace.joel2013-05-081-1/+1
|
* mdoc: new sentence, new line.joel2013-05-081-2/+4
|
* Bring in a basic ethernet switch driver for the IP17x series ofadrian2013-05-0812-0/+1655
| | | | | | | | | switches. These are notably found on some AR71xx based Mikrotik boards. Submitted by: Luiz Otavio O Souza <loos.br@gmail.com> Reviewed by: ray
* Modify the routerstation config to use ukswitch for now.adrian2013-05-082-2/+13
| | | | | | | | Until an ADM6996 driver shows up, this allows for the two switch ports to be used. Submitted by: Luiz Otavio O Souza <loos.br@gmail.com> Reviewed by: ray
* Fix the ukswitch code to work with the new vlan changes:adrian2013-05-081-9/+9
| | | | | | | | | | | * Fix API changes; * remove unused code; * Allow some switches to be used that don't expose a set of PHY registers for the CPU facing port (eg the ADM6996 for the Ubiquiti Routerstation.) Submitted by: Luiz Otavio O Souza <loos.br@gmail.com> Reviewed by: ray
OpenPOWER on IntegriCloud