summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Ensure that newsyslog -n prints the correct message for a rotation rulemarkj2013-01-271-4/+9
| | | | | | | | that uses the 'R' flag. Reviewed by: gad Approved by: rstone (co-mentor) MFC after: 1 week
* When the 'R' flag is used with a newsyslog.conf entry, some fields ofmarkj2013-01-271-1/+3
| | | | | | | | | | | | the corresponding struct sigwork_entry were left uninitialized, potentially causing an early return from do_sigwork(). Ensure that these fields are initialized, and handle the 'R' flag properly in do_sigwork(). PR: bin/175330 Reviewed by: gad Approved by: rstone (co-mentor) MFC after: 1 week
* Return with an error from copy_link(), copy_fifo() and copy_special() ifmarkj2013-01-271-0/+17
| | | | | | | | the -n option is specified and the destination file exists. PR: bin/174489 Approved by: rstone (co-mentor) MFC after: 2 weeks
* truss: use 'e' flag for fopen instead of fcntl(.., FD_CLOEXEC)mjg2013-01-271-7/+4
|
* truss: if file requested with -o flag could not be opened print the reasonmjg2013-01-271-1/+1
| | | | MFC after: 3 days
* Add support for the GlobalScale Technologies DreamPlug computer.ian2013-01-273-0/+842
| | | | | | | | | | | | This adds support for version 10, revision 01, but it should also work without changes for the 0901 model, at least until we get drivers for the two different wifi chips involved. Many users contributed to and tested the various patchsets floating around for the past year that have eventually evolved into this checkin, most notably Richard Neese who provided the bulk of the kernel config file. Approved by: cognet (mentor)
* Add a default do-nothing implementation of fdt_pci_devmap() using a weak alias,ian2013-01-275-54/+20
| | | | | | | | | | | so that we don't need an empty implementation of it for every Marvell platform that has no PCI. This allows the removal of the SheevaPlug-specific stub and config files, and eliminates the need to add similar stubs for future models. Marvell platforms that do expose PCI are compiled with 'device pci' which causes the real (non-weak) implementation in dev/fdt/fdt_pci.c to be used. Approved by: cognet (mentor)
* Add the chip used in recent GlobalScale Technologies *Plug computersian2013-01-271-0/+2
| | | | Approved by: cognet (mentor)
* Clean some 'svn:executable' properties in the tree.pfg2013-01-26122-0/+0
| | | | | Submitted by: Christoph Mallon MFC after: 3 days
* Revert accidental regression to previous misspelling.ian2013-01-261-1/+1
| | | | Approved by: cognet (mentor)
* Cosmetical off-by-onepfg2013-01-261-2/+2
| | | | | | | | | Technically, the case when all the blocks are released is not a sanity check. Move further the comment while here. Suggested by: bde MFC after: 3 days
* Reduce watchdogd's memory footprint when running daemonized.ian2013-01-261-1/+9
| | | | | | | | | | | This uses the recently-added jemalloc(3) feature of setting the lg_chunk tuning option to zero to request that memory be allocated in the smallest chunks possible. Without this option, the default is to initally map 8MB, and then the mlockall() call wires that entire allocation even though the program only uses a few Kbytes of it at runtime. PR: bin/173332 Approved by: cognet (mentor)
* Fix a buffer overrun while pre-formatting the names array, perpetrated inian2013-01-261-7/+5
| | | | | | | | | | the prior commit. Use essentially the same sprintf() statement for both formatting and pre-formatting, and use a format string which eliminates the need for an extra temporary buffer when formatting the name. Noted by: Christoph Mallon Pointy hat to: ian Approved by: cognet (mentor)
* Add new USB quirk.hselasky2013-01-262-0/+3
| | | | | | PR: usb/175599 Submitted by: Juan J Lopez MFC after: 1 week
* g_mirror: g_getattr() failure should not be fatalavg2013-01-261-3/+1
| | | | | | | | | | | This allows to use gmirror e.g. on top of ZVOLs. PR: kern/175323 Submitted by: Alexei.Volkov@softlynx.ru, mav Reported by: Alexei.Volkov@softlynx.ru Tested by: Alexei.Volkov@softlynx.ru Reviewed by: ae, mav, pjd MFC after: 1 week
* spa_generate_rootconf: add support for old vdev labelsavg2013-01-261-3/+2
| | | | | | | | | It seems that old ZFS versions (v15) completely omit "vdev_children" property when there is a single child. Reported by: jase Tested by: jase MFC after: 1 week
* Align td_frame as it will be placed into the sp register which must beandrew2013-01-261-0/+6
| | | | 8 byte aligned on ARM EABI.
* Install an extra hold on the newly allocated synq entry so that itnp2013-01-261-5/+10
| | | | | | | | | | cannot be freed while do_pass_accept_req is running. This closes a race where do_pass_establish on another CPU (the driver chose a different queue for the new tid) expands the synq entry into a full PCB and then releases the only hold on it, all while do_pass_accept_req is still running. MFC after: 3 days
* Force the 404-BT card (4 x 1G) to use the "uwire" configuration file.np2013-01-262-4/+12
| | | | MFC after: 3 days
* Add a couple of missing error codes. Treat CPL_ERR_KEEPALV_NEG_ADVICE asnp2013-01-266-5/+15
| | | | | | negative advice and not a fatal error. MFC after: 3 days
* Add checks for SO_NO_OFFLOAD in a couple of places that I missed earliernp2013-01-261-0/+2
| | | | in r245915.
* cxgbe/tom: List IFCAP_TOE6 as supported now that all the required piecesnp2013-01-261-1/+1
| | | | | are in place. You still have to enable it explicitly, after loading the t4_tom KLD.
* Teach toe_l2_resolve to resolve IPv6 destinations too.np2013-01-261-1/+66
| | | | Reviewed by: bz@
* Mention NetLink controllers in the fallback description, too.marius2013-01-261-1/+1
|
* Initial cut at making IBSS support 802.11n aware.adrian2013-01-263-7/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add HTINFO field decoding to ieee80211_ies_expand() - it's likely not 100% correct as it's not looking at the draft 11n HTINFO location, but I don't think anyone will care. * When doing an IBSS join make sure the 11n channel configuration is used - otherwise the 11a/11bg channel will be used and there won't be any chance for an upgrade to 11n. * When creating an IBSS network, ensure the channel is updated to an 11n channel so other 11n nodes can see it and speak to it with MCS rates. * Add a bit of code that's disabled for now which handles the HT field updating. This won't work out very well with lots of adhoc nodes as we'd end up ping-ponging between the HT configuration for each node. Instead, we should likely only pay attention to the "master" node we initially associated against and then ensure we propagate that information forward in our subsequent beacons. However, due to the nature of IBSS (ie, there's no specific "master" node in the specification) it's unclear which node we should lift the HT parameters from. So for now this assumes the HT parameters are squirreled away in the initial beacon/probe response. So there's some trickiness here. With ap/sta pairing, the probe response just populates a legacy node and the association request/response is what is used for negotiation 11n-ness (and upgrading things as needed.) With ibss networks, the pairing is done with probe request/response, with discovery being done by creating nodes when new beacons in the IBSS / BSSID are heard. There's no assoc request/response frames going on. So the trick here has been to figure out where to upgrade things. I don't like how I just taught ieee80211_sta_join() to "speak" HT - I'd rather there be an upgrade path when an IBSS node joins and there are HT parameters present. Once I've done that, I'll kill this HT special casing that's going on in ieee80211_sta_join(). Tested: * AR9280, AR5416, AR5212 - basic iperf and ping interoperability tests whilst in a non-encrypted adhoc network. TODO: * Fix up the HT upgrade path for IBSS nodes rather than adding code in ieee80211_sta_join(), then remove my code from there. * When associating, there's a concept of a "master" node in the IBSS which is the node you first joined the network through. It's possible the correct thing to do is to listen to HT updates and configure WME parameters from that node. However, once that node goes away, which node(s) should be listened to for configuration changes? For things like HT channel width, it's likely going to be ok to just associate as HT40 and then use the per-neighbor rate control and HTINFO/HTCAP fields to figure out which rates and configuration to speak. Ie, for a 20MHz 11n node, just speak 20MHz rates to it. It shouldn't "change", like what goes on in AP/STA configurations.
* Migrate the TX sending code out from under the ath0 taskq and intoadrian2013-01-264-6/+22
| | | | | | | | | | | | | | | | | | the separate ath0 TX taskq. Whilst here, make sure that the TX software scheduler is also running out of the TX task, rather than the ath0 taskqueue. Make sure that the tx taskqueue is blocked/unblocked as necessary. This allows for a little more parallelism on multi-core machines, as well as (eventually) supporting a higher task priority for TX tasks, allowing said TX task to preempt an already running RX or TX completion task. Tested: * AR5416, AR9280 hostap and STA modes
* - Improve some comments.marius2013-01-261-83/+70
| | | | | | | | | | | | - Make bge_lookup_{rev,vendor}() static. - Factor out chip identification rather than duplicating the code. - Sanitize bge_probe() a bit (don't hardcode buffer sizes, allow bge_lookup_vendor() to return NULL so the excessive panic() three can be removed there, etc.) and return BUS_PROBE_DEFAULT rather than hardcoding 0. - According to the Linux tg3 driver, BCM57791 and BCM57795 aren't capable of Gigabit Ethernet. - Check the return value of taskqueue_start_threads().
* Generate lle_event in the IPv6 neighbor discovery code too.np2013-01-262-0/+7
| | | | Reviewed by: bz@
* Move lle_event to if_llatbl.hnp2013-01-252-11/+10
| | | | | | | | | | | | lle_event replaced arp_update_event after the ARP rewrite and ended up in if_ether.h simply because arp_update_event used to be there too. IPv6 neighbor discovery is going to grow lle_event support and this is a good time to move it to if_llatbl.h. The two in-tree consumers of this event - OFED and toecore - are not affected. Reviewed by: bz@
* - Check the return value of taskqueue_start_threads().marius2013-01-251-4/+13
| | | | | | | | | | | | - At least the Saturn chips of 501-6738 cards need a delay after freezing the external GMII pins before the internal PHY is accessible again. So wait a bit after (un)freezing these. Also don't touch the other bits of that configuration register. [1] - Take advantage of nitems(). Reported and tested by: Paul Keusemann [1] MFC after: 3 days
* Avoid NULL dereference in nd6_storelladdr when no mbuf is provided. Itnp2013-01-251-1/+1
| | | | | | | is called this way from a couple of places in the OFED code. (toecore calls it too but that's going to change shortly). Reviewed by: bz@
* There is no need to call into the TOE driver twice in pru_rcvd (tod_rcvdnp2013-01-251-0/+1
| | | | | | and then tod_output right after that). Reviewed by: bz@
* Improve correctness of rtc register implementation.grehan2013-01-251-5/+15
| | | | Submitted by: tycho nightingale at pluribusnetworks com
* Add TCP_OFFLOAD hook in syncache_respond for IPv6 too, just like the onenp2013-01-251-0/+9
| | | | | | that exists for IPv4. Reviewed by: bz@
* Fix update method (s/SUP/CVS) warning.gjb2013-01-251-1/+1
| | | | | Submitted by: Ryan Stone MFC after: 1 day
* Always allow access to the sysenter cs/esp/eip MSRs since theygrehan2013-01-251-0/+7
| | | | | | | are automatically saved and restored in the VMCS. Reviewed by: neel Obtained from: NetApp
* Teach toe_4tuple_check() to deal with IPv6 4-tuples too.np2013-01-251-5/+9
| | | | Reviewed by: bz@
* Heed SO_NO_OFFLOAD.np2013-01-251-2/+5
| | | | MFC after: 1 week
* Remove redundant test, we know inp_lport is 0.np2013-01-251-2/+1
| | | | MFC after: 1 week
* Don't time travel back and use a present date.delphij2013-01-251-1/+1
| | | | Noticed by: mckusick
* MK_* variable should be compared to "no" not "NO".brooks2013-01-251-1/+1
| | | | Submitted by: "b.f." <bf1783@googlemail.com>
* Expand description of how gptboot and gptzfsboot choose a partition forwblock2013-01-251-11/+28
| | | | | | | booting. Reviewed by: ae MFC after: 1 week
* Further cleanups to use of timestamps in NFS:jhb2013-01-257-43/+20
| | | | | | | | | | | | | | | - Use NFSD_MONOSEC (which maps to time_uptime) instead of the seconds portion of wall-time stamps to manage timeouts on events. - Remove unused nd_starttime from the per-request structure in the new NFS server. - Use nanotime() for the modification time on a delegation to get as precise a time as possible. - Use time_second instead of extracting the second from a call to getmicrotime(). Submitted by: bde (3) Reviewed by: bde, rmacklem MFC after: 2 weeks
* Arithmetic on pointers takes into account the size of the type. Properly ↵dchagin2013-01-251-2/+2
| | | | | | cast the pointer to avoid incorrect pointer scaling. MFC after: 1 Week
* In mbuf(9) API length is always integer. Thus, cast mbuf lengthglebius2013-01-251-4/+7
| | | | | | constants to be integers. Reviewed by: bde
* Fix style nit in dtc man page: sentences should start on new lines.theraven2013-01-251-58/+86
| | | | Reported By: joel
* Fix method of naming compatible string to followganbold2013-01-254-9/+9
| | | | | | | | "<manufacturer>,<model>" as described in http://www.devicetree.org/Device_Tree_Usage Reviewed by: andrew@ Approved by: gonzo@
* Use the correct type (uint64_t) to retrieve sysctl machdep.tsc_freq.neel2013-01-251-5/+2
| | | | | | | | Simplify the function a bit by falling through after initialization and return via the normal code path. Reviewed by: grehan Obtained from: NetApp
* bsd.own.mk needs to be included before Makefil.inc so MK_ARM_EABI is definedandrew2013-01-251-3/+3
|
* Update and clarify comments regarding VFS op table initializationpluknet2013-01-242-4/+7
| | | | | | | | in the man page and its header counterpart. Submitted by: Christoph Mallon <christoph.mallon@gmx.de> (initial version) Reviewed and further improved by: bde (previous version) All bugs are: mine
OpenPOWER on IntegriCloud