summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Correct a few sizeof()seadler2013-05-014-4/+4
| | | | | Submitted by: swildner@DragonFlyBSD.org Reviewed by: alfred
* Disable TXCONT, it's not here in FreeBSD.adrian2013-05-011-0/+2
|
* There's no HAL_EEPROM in FreeBSD - use ar9300_eeprom_t instead.adrian2013-05-011-1/+1
|
* Remove ancient compatibility cruft.eadler2013-04-302-123/+0
| | | | Reviewed by: delphij
* Add missing braceseadler2013-04-301-1/+2
| | | | | Reviewed by: swildner@dragonflybsd.org Reviewed by: delphij
* Add some advice to get past the hurdle of install -l for the common, butbrooks2013-04-301-0/+8
| | | | | non-default (and unsupportable) case of setting INSTALL="install -C" in /etc/make.conf or /etc/src.conf.
* Fix DDP breakage introduced in r248925. Bitwise OR has highernp2013-04-301-2/+7
| | | | | | precedence than ternary conditional. MFC after: 1 week
* Make an attempt to detect missing MTREE files in distrib-dirs. Notbrooks2013-04-301-1/+1
| | | | | | | | perfect, but this is just a developer seatbelt. PR: conf/176897 Submitted by: Garrett Cooper <yaneurabeya@gmail.com> MFC after: 1 week
* MFP4 change 222060:brooks2013-04-301-0/+19
| | | | | | | On Intel devices, put the Factory PPR in kenv. On some FPGA boards it may be the only software accessable unique ID. Sponsored by: DARPA, AFRL
* MFP4 changes 222065 and 222068:brooks2013-04-303-1/+2
| | | | | | | Add a simplebus attachment for cfi(4)'s FDT support and move cfi_bus_fdt.c to sys/conf/files so non-ppc architectures are supported. Sponsored by: DARPA, AFRL
* Partial MFC of change 228122:brooks2013-04-301-1/+1
| | | | | | | Due to the requirement that tty prefixes be unique per driver, rename the Altera JTAG UART devices to ttyj#. Sponsored by: DARPA, AFRL
* Wrap the creation of the ../include link in /usr/lib inbrooks2013-04-301-1/+3
| | | | | | | | !defined(LIBRARIES_ONLY) so it is only created once on architectures with 32-bit compat support. Replace ln -fhs with ${INSTALL_SYMLINK} to the link is logged in the METALOG.
* Fix the man page installation broken in r250079. Pointy hat to me.carl2013-04-301-1/+2
| | | | | | | Thanks to Florian Smeets for pointing this out and providing a patch. Submitted by: Florian Smeets <flo@smeets.im> Approved by: jimharris (mentor)
* use netmap_rx_irq() and netmap_tx_irq() instead of replicating theluigi2013-04-301-10/+3
| | | | logic in the individual driver.
* use netmap_rx_irq() / netmap_tx_irq() to handle interrupts inluigi2013-04-304-73/+16
| | | | | | netmap mode, removing the logic from individual drivers. (note: if_lem.c not updated yet due to some other pending modifications)
* Partial cleanup in preparation for upcoming changes:luigi2013-04-302-35/+87
| | | | | | | | | | | | | - netmap_rx_irq()/netmap_tx_irq() can now be called by FreeBSD drivers hiding the logic for handling NIC interrupts in netmap mode. This also simplifies the case of NICs attached to VALE switches. Individual drivers will be updated with separate commits. - use the same refcount() API for FreeBSD and linux - plus some comments, typos and formatting fixes Portions contributed by Michio Honda
* remove $Id$ (whitespace change)luigi2013-04-302-2/+0
|
* malloc(9) cannot return NULL if M_WAITOK flag is specified.davide2013-04-302-17/+5
|
* Forgot to update UPDATING in head last night.des2013-04-301-0/+3
|
* The Intel PMC architectural events have encodings which are identical todavide2013-04-302-25/+49
| | | | | | | | | | | | | | | | | those of some non-architectural core events. This is not a problem in the general case as long as there's an 1:1 mapping between the two, but there are few exceptions. For example, 3CH_01H on Nehalem/Westmere represents both unhalted-reference-cycles and CPU_CLK_UNHALTED.REF_P. CPU_CLK_UNHALTED.REF_P on the aforementioned architectures does not measure reference (i.e. bus) but TSC, so there's the need to disambiguate. In order to avoid the namespace collision rename all the architectural events in a way they cannot be ambigous and refactor the architectural events handling function to reflect this change. While here, per Jim Harris request, rename iap_architectural_event_is_unsupported() to iap_event_is_architectural(). Discussed with: jimharris Reviewed by: jimharris, gnn
* socket: Make shutdown() wake up a blocked accept().jilles2013-04-301-0/+2
| | | | | | | | | | | | | | | | | | | A blocking accept (and some other operations) waits on &so->so_timeo. Once it wakes up, it will detect the SBS_CANTRCVMORE bit. The error from accept() is [ECONNABORTED] which is not the nicest one -- the thread calling accept() needs to know out-of-band what is happening. A spurious wakeup on so->so_timeo appears harmless (sleep retried) except when lingering on close (SO_LINGER, and in that case there is no descriptor to call shutdown() on) so this should be fairly safe. A shutdown() already woke up a blocked accept() for TCP sockets, but not for Unix domain sockets. This fix is generic for all domains. This patch was sent to -hackers@ and -net@ on April 5. MFC after: 2 weeks
* Complete r250097:davide2013-04-301-3/+6
| | | | Do not change the initialization order in pmc_intel_initialize().
* support for sshd (newer config file location)luigi2013-04-302-0/+1
|
* sync with my local copy (this file may go away, eventually)luigi2013-04-301-0/+1
|
* When hwpmc(4) module is unloaded it reports a double leakage. This happensdavide2013-04-301-7/+3
| | | | | | | | at least if FreeBSD is ran under VirtualBox. In order to avoid the leakage, properly deallocate structures in case CPU claims that hw performance monitoring counters are not supported. Reported by: hiren
* Fixup Westmere hwpmc(4) support: add missing CPU flag so thatdavide2013-04-301-3/+3
| | | | | | | intrucion-retired, llc-misses and llc-reference events can now be allocated. Reviewed by: jimharris, gnn
* Adapt to the fact that minidumps are now on by default.joel2013-04-301-4/+11
| | | | PR: 177188
* 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
|
OpenPOWER on IntegriCloud