summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Attach to the T580 (2 x 40G) card.np2013-04-301-1/+1
| | | | MFC after: 1 week.
* - Provide accurate ifmedia information so that 40G ports/transceivers arenp2013-04-302-6/+44
| | | | | | | | displayed properly in ifconfig, etc. - Use the same number of tx and rx queues for a 40G port as for a 10G port. MFC after: 1 week
* cxgbe(4): Some updates to shared code.np2013-04-304-30/+94
| | | | | Obtained from: Chelsio MFC after: 1 week
* Pass a format string to kproc_create() [1] and thus fix the build withpluknet2013-04-301-10/+1
| | | | | | | | | -DBKTR_NEW_MSP34XX_DRIVER and -Wformat-security. This also allows to eliminates a superfluous malloc/snprintf/free on intermediate buffer. PR: kern/175546 MFC after: 1 week
* Oh wow.. disassociate/disown any connection with cvs.peter2013-04-301-1/+0
|
* Reset some more softc state when the guest resets the virtio network device.neel2013-04-301-0/+7
| | | | Obtained from: NetApp
* Use a separate mutex for the receive path instead of overloading the softcneel2013-04-301-20/+58
| | | | | | mutex for this purpose. Reviewed by: grehan
* Sync from git - ah_config is in 'ath_hal', not 'ath_hal_private' onadrian2013-04-291-1/+1
| | | | FreeBSD.
* xenstore/xenstore.c:gibbs2013-04-291-1/+2
| | | | | | | | Prevent access to invalid memory region when listing an empty directory in the XenStore. Reported by: Bei Guan MFC after: 1 week
* Add a new driver to support the Intel Non-Transparent Bridge(NTB).carl2013-04-2912-0/+3023
| | | | | | | | | | | | | | | | | | | | The NTB allows you to connect two systems with this device using a PCI-e link. The driver is made of two modules: - ntb_hw which is a basic hardware abstraction layer for the device. - if_ntb which implements the ntb network device and the communication protocol. The driver is limited at the moment to CPU memcpy instead of using DMA, and only Back-to-Back mode is supported. Also the network device isn't full featured yet. These changes will be coming soon. The DMA change will also bring in the ioat driver from the project branch it is on now. This is an initial port of the GPL/BSD Linux driver contributed by Jon Mason from Intel. Any bugs are my contributions. Sponsored by: Intel Reviewed by: jimharris, joel (man page only) Approved by: jimharris (mentor)
* Properly terminate the result string for intermediate results, tokib2013-04-291-1/+2
| | | | | | | | allow the final strcpy() to start at the intended place. Reported and tested by: pgj Pointy hat to: kib MFC after: 3 days
* Style nit.des2013-04-291-1/+2
|
* Add a -Z option which zeroes unused blocks. It can be combined with -E,des2013-04-295-7/+56
| | | | | | | in which case unused blocks are first zeroed and then erased. Reviewed by: mckusick MFC after: 3 weeks
* Fix a bug that allows NFS clients to issue READDIR on files.des2013-04-291-0/+2
| | | | | | PR: kern/178016 Security: CVE-2013-3266 Security: FreeBSD-SA-13:05.nfsserver
* whitespace - document alternative locking under linuxluigi2013-04-291-0/+2
|
* Only cleanup CMI-related state on detach if the system supports CMI.jhb2013-04-291-12/+10
| | | | | PR: kern/163268 MFC after: 1 week
* whitespace changes:luigi2013-04-298-9/+11
| | | | remove $Id$ lines, and add blank lines around some #if / #elif /#endif
* Add missing braces.delphij2013-04-291-1/+2
| | | | | | Submitted by: Sascha Wildner <saw online de> Obtained from: DragonFly MFC after: 1 week
* explicitly mark some variables as constluigi2013-04-291-4/+4
|
* A transition period of more than two years is more than enough:eadler2013-04-291-7/+0
| | | | | | | | Remove the compatibility code added in 2011-02-10. This change is not intended for MFC Reviewed by: imp
* Debugging changes!adrian2013-04-291-3/+3
| | | | | | | | * That lock isn't actually held during reset - just the whole TX/RX path is paused. So, remove the assertion. * Log the TX queue status - how many hardware frames are active in the MAC and whether the queue is active.
* Remove useless ifdef KLD_MODULE from dummynet module unload path. Thisglebius2013-04-291-7/+0
| | | | | | fixes panic on unload. Reported by: pho
* Mark usage() __dead2eadler2013-04-281-1/+1
|
* Replace a silly command sequence with a proper if-then-else.n_hibma2013-04-281-5/+5
| | | | | | | Generate images sparsely. This saves space and time, especially when generating images inside a VM (PR 173482). Add a 'true' statement to last_orders to prevent some version of sh from tripping over an empty function.
* Remove cast that was only required for K&R C.eadler2013-04-281-1/+1
| | | | Reviewed by: jilles
* Doing a cpio from /var/empty if dir was not specified or non-existentn_hibma2013-04-281-6/+7
| | | | | | | | copies its mode to the destination. This is not desirable. Rephrase this code to be more sensible. PR: 173483 MFC after: 1 week
* Correct comment typo'ssmh2013-04-282-3/+7
| | | | | | | | Add missing comment Reviewed by: pjd (mentor) Approved by: pjd (mentor) MFC after: 2 weeks
* Silence warning from clang:sbruno2013-04-281-1/+2
| | | | | | | | | | /home/sbruno/bsd/head/sys/dev/hptrr/hptrr_osm_bsd.c:178:66: warning: for loop has empty body [-Wempty-body] for (order=0, size=PAGE_SIZE; size<f->size; order++, size<<=1) ; ^ /home/sbruno/bsd/head/sys/dev/hptrr/hptrr_osm_bsd.c:178:66: note: put the semicolon on a separate line to silence this warning Obtained from: Yahoo! Inc. MFC after: 2 weeks
* The controller does not zero this data structure, ever.sbruno2013-04-281-0/+1
| | | | | | | Zero it out here so we do not misinterpret the data error. Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Rework the handling of the tmpfs node backing swap object and tmpfskib2013-04-284-165/+137
| | | | | | | | | | | | | | | | | | vnode v_object to avoid double-buffering. Use the same object both as the backing store for tmpfs node and as the v_object. Besides reducing memory use up to 2x times for situation of mapping files from tmpfs, it also makes tmpfs read and write operations copy twice bytes less. VM subsystem was already slightly adapted to tolerate OBJT_SWAP object as v_object. Now the vm_object_deallocate() is modified to not reinstantiate OBJ_ONEMAPPING flag and help the VFS to correctly handle VV_TEXT flag on the last dereference of the tmpfs backing object. Reviewed by: alc Tested by: pho, bf MFC after: 1 month
* Make vm_object_page_clean() and vm_mmap_vnode() tolerate the vnode'kib2013-04-282-3/+15
| | | | | | | | | | | | | | | | | v_object of non OBJT_VNODE type. For vm_object_page_clean(), simply do not assert that object type must be OBJT_VNODE, and add a comment explaining how the check for OBJ_MIGHTBEDIRTY prevents the rest of function from operating on such objects. For vm_mmap_vnode(), if the object type is not OBJT_VNODE, require it to be for swap pager (or default), handle the bypass filesystems, and correctly acquire the object reference in this case. Reviewed by: alc Tested by: pho, bf MFC after: 1 week
* Assert that the object type for the vnode' non-NULL v_object, passedkib2013-04-281-0/+6
| | | | | | | | | | | | | | to vnode_pager_setsize(), is either OBJT_VNODE, or, if vnode was already reclaimed, OBJT_DEAD. Note that the later is only possible due to some filesystems, in particular, nfsiods from nfs clients, call vnode_pager_setsize() with unlocked vnode. More, if the object is terminated, do not perform the resizing operation. Reviewed by: alc Tested by: pho, bf MFC after: 1 week
* Eliminate the layering violation in the kern_sendfile(). When queringkib2013-04-281-14/+16
| | | | | | | | | | | | | | | | the file size, use VOP_GETATTR() instead of accessing vnode vm_object un_pager.vnp.vnp_size. Take the shared vnode lock earlier to cover the added VOP_GETATTR() call and, as consequence, the whole internal sendfile loop. Reduce vm object lock scope to not protect the local calculations. Note that this is the last misuse of the vnp_size in the tree, the others were removed from the ELF image activator by r230246. Reviewed by: alc Tested by: pho, bf (previous version) MFC after: 1 week
* Convert panic() into KASSERT().kib2013-04-281-2/+1
| | | | | Reviewed by: alc MFC after: 1 week
* Add some cam_freeze_devq()'s missed at r249466.mav2013-04-281-0/+3
| | | | | | This makes number of freezes match the number of releases. Reported by: dim
* When the world is built WITHOUT_OPENSSH also don'teadler2013-04-282-4/+7
| | | | | | | | install ssh-copy-id. PR: misc/177590 Submitted by: Oleg Ginzburg <olevole@olevole.ru> Reviewed by: imp
* Enable building string functions as part of libstand on mips; the Makefilerwatson2013-04-281-3/+1
| | | | | | | | | is a bit obfuscated here, as ia64 adds string source files elsewhere, so simply exclude it here. Reviewed by: imp MFC after: 3 days Sponsored by: DARPA, AFRL
* Let's align correctly by setting to 17.sbruno2013-04-281-1/+1
| | | | | | | | | | OpenCISS states that if the value is 0, then the driver should try a value of 31. That's just silly. Set to 17 so that the subtraction for maxio becomes 16 and aligns nicely. Reviewed by: scottl Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Its time to retire COMPAQ. I don't think that its coming back. :-)sbruno2013-04-281-1/+1
| | | | | Obtained from: Yahoo! Inc. MFC after: 2 weeks
* Merge @228176 from Perforce to fix a bug introduced in r249553:rwatson2013-04-281-2/+0
| | | | | | | | | | Trim two now-unneeded (and likely harmful) lines from the libstand setjmp/longjmp for MIPS. Spotted by: jmallett MFC after: 3 days Sponsored by: DARPA, AFRL
* Fix EXIT STATUS. biff reports its status when it was invoked.joel2013-04-281-3/+3
| | | | | | Submitted by: Ryan Kavanagh, Jason McIntyre <jmc@kerhand.co.uk> Obtained from: OpenBSD
* Eliminate an unneeded call to vm_radix_trimkey() from vm_radix_lookup_le().alc2013-04-281-1/+0
| | | | | | | This call is clearing bits from the key that will be set again by the next line. Sponsored by: EMC / Isilon Storage Division
* Bring copyright changes with the agreement of Thomas Skibo.wkoszek2013-04-2810-166/+176
| | | | | | | Communication on src-commiters, Sat, 27 Apr 2013 22:09:06 -0700, Subject was: "Re: svn commit: r249997" As I'm here, fix the style main block comments in files' headers.
* mdoc improvementsjoel2013-04-281-8/+16
|
* Remove extra code for SA_RESETHAND, it is not needed because kernel hasdavidxu2013-04-281-7/+0
| | | | already done this.
* Add an alternate version of beastie to the examples directory.eadler2013-04-282-0/+2474
| | | | | | | PR: docs/38556 Submitted by: Rahul Siddharthan <rsidd@online.fr> Submitted on: 25 May 2002 22:49:56 -0000 MFC After: 2 weeks
* Get rid of the 'vsc_rxpend' state - it doesn't serve any purpose because weneel2013-04-281-20/+0
| | | | | | | | | drop any frames that arrive while the device is starved for receive buffers. This makes the receive path to only execute in context of the receive thread and allows for further simplification. Reviewed by: grehan
* Bring over my FreeBSD modifications for the AR9300 HAL to make itadrian2013-04-2832-1172/+4642
| | | | | | | | | | | work in FreeBSD. This is still heavily a work in progress but I'd rather it start shipping in -HEAD sooner rather than later. This doesn't (yet) link it into the build system either for a static kernel or as a module; that will come later (after many, many make universe tests.)
* Copy the vendor branch ar9300 code from qcamain_open_hal into thisadrian2013-04-2868-0/+233321
|\ | | | | | | | | | | directory. Only copy the ar9300 HAL, we don't want to grab everything.
| * Initial import of the QCA qcamain_open_hal repository.adrian2013-04-2871-0/+233429
| | | | | | | Source: https://github.com/qca/qcamain_open_hal_public Revision: 60390a9f9ac6a20db168fbbc01a4ad4e01c395ce Thankyou to QCA for this release.
OpenPOWER on IntegriCloud