summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove one more numeric priority constant.mav2012-10-271-1/+1
|
* Comment out the other BOOTP optionkientzle2012-10-271-1/+1
| | | | | | | This should make PANDABOARD suitable for building bootable SD images. Submitted by: Giovanni Trematerra
* stack_machdep.c is dependent on ddb or stack options, not standard.imp2012-10-261-1/+1
|
* o Remove last argument to ip_fragment(), and obtain all needed informationglebius2012-10-266-29/+31
| | | | | | | | | | | on checksums directly from mbuf flags. This simplifies code. o Clear CSUM_IP from the mbuf in ip_fragment() if we did checksums in hardware. Some driver may not announce CSUM_IP in theur if_hwassist, although try to do checksums if CSUM_IP set on mbuf. Example is em(4). o While here, consistently use CSUM_IP instead of its alias CSUM_DELAY_IP. After this change CSUM_DELAY_IP vanishes from the stack. Submitted by: Sebastian Kuzminsky <seb lineratesystems.com>
* Siba, in theory, is a architecturally neutral bus, so place it inimp2012-10-261-1/+4
| | | | | | files. It used to be in files.mips before the clean-room rewrite and really doesn't belong there. If we need to grow arch specific code, we can move it into $ARCH/$ACH/siba_machdep.c.
* While 'make universe' passed this didn't work with clang.eadler2012-10-261-0/+2
| | | | | | | This reverts r242120 Submitted by: Jan Beich Approved by: cperciva (implicit)
* A little bit easier to read.obrien2012-10-261-6/+7
|
* Test both active and non-active cases.obrien2012-10-261-0/+8
|
* Implement CAM_ATAIO_NEEDRESULT (fetching full set of result registers) formav2012-10-265-6/+21
| | | | | | | ata(4) driver in ATA_CAM mode. That slighty improves error reporting and also should fix `smartctl -l scterc /dev/adaX` operation. MFC after: 3 weeks
* Oops, missed in my last commit.adrian2012-10-261-0/+2
|
* Allow net80211 to be built on -9 and -8.adrian2012-10-261-1/+29
| | | | | | There are some people who use the -HEAD net80211 and wireless drivers on earlier FreeBSD versions in order to get the updated 802.11n support. The previous if_clone API changes broke this.
* Const-ify the zone name argument to uma_zcreate(9).mdf2012-10-264-8/+8
| | | | MFC after: 3 days
* Move the corresponding MTX_SYSINIT() next to their struct mtx declarationandre2012-10-262-8/+10
| | | | to make their relationship more obvious as done with the other such mutexs.
* Fix up some initial issues with creation and deletion of hotpluggedadrian2012-10-262-0/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | net80211 devices and vaps. * vnet sets vnet0 during kldload and device probe/attach, but not for the hotplug event. Thus, plugging in a NIC causes things to panic. So, add a CURVNET_SET(vnet0) for now during the attach phase, until the hotplug code is taught to set CURVNET_SET(vnet0). * there's also no implied detach vnet context - so teach the detach path about ifp->if_vnet. * When creating/deleting vaps, also set the vnet context appropriately. These can be done at any time. Now, the problems! * ieee80211.c is supposed to be OS-portable code, with no OS-specific stuff like vnet. That should be fixed. * When the device hotplug code gets taught about CURVNET_SET(vnet0), the device vnet set can go away; but the VAP vnet set still needs to be there. * .. and there still is the question about potentially adding an implied CURVNET_SET(ifp->if_vnet) on if_free(), since any/all devices may end up being detached by a hotplug event in today's world. That's going to be a topic of a subsequent commit.
* mdoc: sort sections.joel2012-10-261-2/+2
|
* Fix loader crash when some unhalted exception happens during `include`mav2012-10-261-0/+6
| | | | | | | command execution. In case of such unhandled exception, vmReset() inside ficlExecC() flushes the VM state. Attempt to return back to Forth after that cause garbage dereference with unexpected results. To avoid that situation call vmThrow() directly instead of expecting Forth to do it.
* Since it's not immediately obvious whether the current TX path handlesadrian2012-10-261-0/+4
| | | | | | | | | | fragment rate lookups correctly, add a comment describing exactly that. The assumption in the fragment duration code is the duration of the next fragment will match the rate used by the current fragment. But I think a rate lookup is being done for _each_ fragment. For older pre-sample rate control this would almost always be the case, but for sample it may be incorrect more often then correct.
* Add pcpu to the the rctl(8) manual page.trasz2012-10-261-1/+2
|
* Add CPU percentage limit enforcement to RCTL. The resouce name is "pcpu".trasz2012-10-268-31/+590
| | | | It was implemented by Rudolf Tomori during Google Summer of Code 2012.
* Add "-f" to also output filemon(4) information.obrien2012-10-262-11/+56
|
* Iterate rather than use recursion. We can blow out the kernel stack if thereobrien2012-10-263-11/+205
| | | | is a long chain of fork(2)s.
* Prefer an example users born after myself might use.eadler2012-10-261-1/+1
| | | | | Approved by: bcr (mentor) MFC after: 3 days
* zfs: fix label validation code in vdev_geom_read_configavg2012-10-261-3/+5
| | | | | | | | | | | POOL_STATE_SPARE and POOL_STATE_L2CACHE were not handled correctly and thus the cache and spare disks would not be correctly probed. Reported by: Michael Schmiedgen <schmiedgen@gmx.net>, Matthew D. Fuller <fullermd@over-yonder.net> Tested by: Michael Schmiedgen <schmiedgen@gmx.net>, flo MFC after: 5 days
* These no longer appera to be necessary for either 32-bit or 64-bitimp2012-10-261-3/+0
| | | | builds, eliminate them.
* Make sure to define __BIG_ENDIAN and __LITTLE_ENDIAN with the appropriatenwhitehorn2012-10-261-0/+5
| | | | | | | number of underscores for Linux compatibility in drm(4). Submitted by: sendtomatt at gmail dot com MFC after: 2 weeks
* Improve libgeom XML parsing error handling.jh2012-10-261-8/+33
| | | | | | | - Abort parsing and return an error if we run out of memory. - Return EILSEQ from geom_xml2tree() for XML syntax errors. Silence on: freebsd-geom
* Make sure the vendor class quirk only matches the vendor specifichselasky2012-10-261-1/+2
| | | | | | | class, else multiple pcm devices can appear on certain USB audio devices. MFC after: 1 week
* Add support for Fast Track Ultra 8R from M-audio.hselasky2012-10-262-2/+8
| | | | MFC after: 1 week
* Add missing CTLFLAG_TUN flag to tunable sysctls in USB stack.hselasky2012-10-2618-58/+47
| | | | | | | | Rearrange the tunables and belonging sysctl declarations, so that they are next to eachother. Submitted by: n_hibma @ MFC after: 1 week
* set the kernelname from the boot loader environment.kientzle2012-10-261-0/+5
| | | | | | This fixes kern.bootfile sysctl. Submitted by: Giovanni Trematerra
* Comment out the BOOTP/NFSROOT support. Transition thiskientzle2012-10-261-6/+7
| | | | | config file to support a production kernel mounted on an SD card.
* Resurrect and integrate stable/9/usr.sbin/sysinstall/help/usermgmt.hlpdteske2012-10-263-2/+96
| | | | Approved by: adrian (co-mentor) (implicit)
* Port the new PV entry allocator from amd64/i386. This allocator has twoalc2012-10-263-233/+447
| | | | | | | | | | | advantages. First, PV entries are roughly half the size. Second, this allocator doesn't access the paging queues, and thus it allows for the removal of the page queues lock from this pmap. Replace all uses of the page queues lock by a R/W lock that is private to this pmap. Tested by: marcel
* This utility builds without NO_WCAST_ALIGNeadler2012-10-261-2/+0
| | | | | | | | Tested with make universe No objections from: stas Approved by: cperciva MFC after: 3 days
* Remove unnecessary quotation to clean things up.dteske2012-10-261-1/+1
| | | | Approved by: adrian (co-mentor) (implicit)
* Don't mask fwe(4) lp(4) or plip(4) devices from ifconfig(8) list.dteske2012-10-261-3/+0
| | | | Approved by: adrian (co-mentor) (implicit)
* Resurrect and integrate stable/9/sysinstall/help/tcp.hlpdteske2012-10-263-3/+46
| | | | Approved by: adrian (co-mentor) (implicit)
* No MII on the RSYS4GBE (AMC-7211/ATCA-7220).jmallett2012-10-261-0/+5
|
* Tighten-up displays that use a NULL prompt (e.g., networking and usermgmt).dteske2012-10-261-1/+1
| | | | Approved by: adrian (co-mentor) (implicit)
* Fix copy/paste error.dteske2012-10-261-1/+1
| | | | Approved by: adrian (co-mentor) (implicit)
* Switch from using a msgbox to display help files to a textbox instead. Thedteske2012-10-264-40/+81
| | | | | | | | | | | problem with using a msgbox was one of truncation in the case of Xdialog(1) and lack of screen real-estate (since the msgbox is not scrollable in X11 while a textbox is). The textbox renders the text much better and is more appropriate for this type of data display. Approved by: adrian (co-mentor) (implicit)
* Add support for Radisys as a vendor of Octeon hardware. Add some preliminaryjmallett2012-10-265-0/+20
| | | | | support for what their boot loader refers to as the "RSYS4GBE", of which there are two instances ("Data Processing Blocks") on the Radisys ATCA-7220.
* Don't attach if the bootloader has not indicated that we're a PCI host. Thisjmallett2012-10-261-1/+3
| | | | fixes booting on systems which are PCI targets.
* Merge bmake-20121010sjg2012-10-258-1343/+119
| | | | Approved by: marcel (mentor)
* Second attempt to add @every_second keyword support. Due to multiplesobomax2012-10-254-30/+149
| | | | | | | | | | | | | | requests, default to the previous 60-seconds scheduling method unless there is any @every_second entries to conserve CPU cycles and power. This change also improves scheduling in the default mode by running as close to the beginning of the minnute as possible by replacing sleep(3) with nanosleep(2). Previously, the tasks would run anywhere within the first second of the minute and that offset drifted back and forth each time cron(8) was engaged. MFC after: 1 month
* Fix build in case we have SMBVDEBUG turned on.davide2012-10-252-4/+5
| | | | | | Reviewed by: gnn Approved by: gnn Sponsored by: iXsystems inc.
* When Xdialog(1) is passed a NULL argument to its `--help' option, Xdialog(1)dteske2012-10-252-2/+2
| | | | | | | acts like dialog(1) in that it returns exit status 2 when the help button is chosen. Approved by: adri (co-mentor) (implicit)
* - Remove the references to the deprecated zalloc kernel interfacedavide2012-10-252-36/+2
| | | | | | | | - Use M_ZERO flag in malloc() rather than bzero() - malloc() with M_NOWAIT can't return NULL so there's no need to check Reviewed by: alc Approved by: alc
* Let lpr build with -Wmissing-variable-declarations.ed2012-10-257-21/+14
| | | | | | Mark variables static where possible and place the uid/euid variables in lp.h, so that we can compile-time enforce that these variables have the same type.
* Modify the comment to take out the names and URL.rmacklem2012-10-251-6/+3
| | | | | Requested by: kib MFC after: 3 days
OpenPOWER on IntegriCloud