summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Little-endian and other fixes for Broadcom XLP network driverjchandra2013-01-242-7/+9
| | | | | | | | | | | | | | | The changes are: - the microcore code loaded into the NAE has to be byteswapped in LE - the descriptors in memory for a P2P NAE descriptor has to be byteswapped in LE - the m_data pointer is already cacheline aligned, so the unnecessary m_adj to cacheline size can be removed - fix mask used to obtain physical address from the Tx freeback descriptor - fix a compile error in code under #ifdef Obtained from: Venkatesh J V <venkatesh.vivekanandan@broadcom.com>
* Fix credit configuration on Broadcom XLP CMSjchandra2013-01-241-2/+2
| | | | | | The CMS output queue credit configuration register is 64 bit, so use a 64 bit variable while updating it. Obtained from: Venkatesh J V <venkatesh.vivekanandan@broadcom.com>
* Reorder so that NO_MAN is declared before bsd.own.mk is included and thusbrooks2013-01-241-6/+7
| | | | | has an effect (not installed a g++.1 manpage over the g++.1(.gz) link created in ../cc).
* Broadcom XLP network driver update for XLP 8xx B1 revjchandra2013-01-244-13/+28
| | | | | | | | Update MDIO reset code to support Broadcom XLP B1 revisions. Update nlm_xlpge_ioctl, nlm_xlpge_port_enable need not be called after nlm_xlpge_init. Obtained from: Venkatesh J V <venkatesh.vivekanandan@broadcom.com>
* Minor updates to the Broadcom XLP NAE driverjchandra2013-01-242-23/+11
| | | | | Remove unnecessary SGMII initialization code from nae.c. While there clean up some prints and whitespace.
* Broadcom XLP updates for the new firmwarejchandra2013-01-242-3/+31
| | | | | | | Support few more versions of board firmware. In case the security block is disabled, enable it at boot. Also increase the excluded memory region to cover the area used by the firmware to initialize devices.
* - Utilize m_get2(), accidentially fixing some signedness bugs.glebius2013-01-241-20/+3
| | | | | - Return EMSGSIZE in both cases if uio_resid is oversized or undersized. - No need to clear rcvif.
* Little-endian fix for PCI on Broadcom XLP.jchandra2013-01-241-2/+5
| | | | | | Update the function xlp_pcib_hardware_swap_enable() to do nothing when BYTE_ORDER is not BIG_ENDIAN. PCIe hardware swap is not requred in little-endian mode as the endianness matches that of CPU.
* Fix timer to support oneshot and periodic modeganbold2013-01-241-75/+113
| | | | | | | Use 64 bit high and low counter for timecounter and delay Reviewed by: mav@, ian@ Approved by: gonzo@
* Disable MSI interrupts for SB600 chipset. According to the report they aremav2013-01-241-1/+4
| | | | | | | not functional. PR: kern/174880, kern/174985, kern/175002 MFC after: 1 week
* style(9)glebius2013-01-241-2/+2
| | | | Reviewed by: bde
* - Move large functions m_getjcl() and m_get2() to kern/uipc_mbuf.cglebius2013-01-242-101/+83
| | | | | | - style(9) fixes to mbuf.h Reviewed by: bde
* Indicate a bunch of new hardware support.eadler2013-01-241-1/+9
| | | | | | PR: docs/173893 Submitted by: Mathieu Simon <mathieu.sim@gmail.com> Approved by: bcr (mentor)
* - Wrap long line;delphij2013-01-242-2/+4
| | | | | | - Add -, to SYNOPSIS section. MFC after: 2 weeks
* bge_attach() can fail before attaching mii(4). So make sure to checkyongari2013-01-241-2/+2
| | | | bge_miibus before detaching mii(4).
* Update list of ports required for importing jemalloc.jasone2013-01-241-0/+1
|
* Import jemalloc 3.3.0. This reduces zeroed memory validation overhead forjasone2013-01-2421-314/+588
| | | | non-MALLOC_PRODUCTION builds.
* For 57765 class controllers, set low watermark max receive frames to 1.yongari2013-01-241-1/+1
|
* Remove several MLINKS that were listed twice.brooks2013-01-231-7/+0
|
* manctl is conditionally added to SUBDIRS later on. Don't unconditionallybrooks2013-01-231-1/+0
| | | | include in the main list.
* Only try to install one link at each path.brooks2013-01-231-9/+1
| | | | | Don't install verify_krb5_conf.8. It is installed in kerberos5/usr.bin/verify_krb5_conf.
* Revert the part of r239864 which removed obtaining the SMP mutex aroundmarius2013-01-232-20/+4
| | | | | | | | | | | | | reading registers from other CPUs. As it turns out, the hardware doesn't really like concurrent IPI'ing causing adverse effects. Also the thought deadlock when using this spin lock here and the targeted CPU(s) are also holding or in case of nested locks can't actually happen. This is due to the fact that on sparc64, spinlock_enter() only raises the PIL but doesn't disable interrupts completely. Thus direct cross calls as used for the register reading (and all other MD IPI needs) still will be executed by the targeted CPU(s) in that case. MFC after: 3 days
* Don't assume that all Linux TCP-level socket options are identical tojhb2013-01-233-4/+38
| | | | | | | | FreeBSD TCP-level socket options (only the first two are). Instead, using a mapping function and fail unsupported options as we do for other socket option levels. MFC after: 2 weeks
* Always update the hw.uart.console hint anytime a change is made to thejhb2013-01-231-18/+7
| | | | | | | | | | | comconsole setup. Previously the hint would be set when if you set a custom port, but it would not be updated if you later set a custom speed. Also, leave the hw.uart.console hint mutable so it can be overridden or unset by the user if needed. Reviewed by: kib (earlier version) MFC after: 1 week
* Fix a typo.jhb2013-01-231-1/+1
|
* ext2fs: fix a check for negative block numbers.pfg2013-01-231-2/+1
| | | | | | | | | The previous change accidentally left the substraction we were trying to avoid in case that i_blocks could become negative. Reported by: bde MFC after: 4 days
* posix_fadvise(2) first appeared in FreeBSD 9.1glebius2013-01-231-1/+1
|
* Add __aeabi_ulcmp to allow building of the LINT kernel.andrew2013-01-232-0/+17
|
* Explicitly include headers that are implicitly included by libstdc++. Fixestheraven2013-01-236-4/+24
| | | | building dtc with libc++.
* Don't build the kernel with Thumb interworking as we don't support Thumb.andrew2013-01-231-0/+2
|
* Fix compilation errors.jasone2013-01-231-2/+2
|
* Add support for transparent mode while in netmap.luigi2013-01-231-30/+179
| | | | | | | | | | | | | | | | | | | | By setting dev.netmap.fwd=1 (or enabling the feature with a per-ring flag), packets are forwarded between the NIC and the host stack unless the netmap client clears the NS_FORWARD flag on the individual descriptors. This feature greatly simplifies applications where some traffic (think of ARP, control traffic, ssh sessions...) must be processed by the host stack, whereas the bulk is handled by the netmap process which simply (un)marks packets that should not be forwarded. The default is chosen so that now a netmap receiver operates in a mode very similar to bpf. Of course there is no free lunch: traffic to/from the host stack still operates at OS speed (or less, as there is one extra copy in one direction). HOWEVER, since traffic goes to the user process before being reinjected, and reinjection occurs in a user context, you get some form of livelock protection for free.
* control some debugging messages with dev.netmap.verboseluigi2013-01-233-54/+123
| | | | | add infrastracture to adapt to changes in number of queues and buffers at runtime
* leftover from r245579... flags for semi transparent mode and directluigi2013-01-231-8/+41
| | | | forwarding through a VALE switch
* Return "failure" as we do for 'cp -i' and a "n" answer.obrien2013-01-231-1/+1
| | | | | | Otherwise with '-v' we print out the file name as if it was copied: /tmp/2gb-card/M0132.CTG not overwritten /mnt/DCIM/CANONMSC/M0132.CTG -> /tmp/2gb-card/M0132.CTG
* Use snprintf instead of strc* functions and add bounds checking when creatingbapt2013-01-222-4/+9
| | | | | | pkgngpath Submitted by: sbz, gahr
* Introduce a new option -DNO_ROOT that allows install and distributionbrooks2013-01-222-8/+77
| | | | | | | | | | | | | | | targets to be run without root privilege. Information about ownership, group, flags, and suid bits are stored in the file specified by METALOG which defaults to ${DESTDIR}/METALOG. This file can be used in conjunction with bsdtar or makefs to generate archives or file system images with correct permissions. The packageworld target has been altered to use this metadata allowing non-root releases (subject to further changes in release/Makefile.) Sponsored by: DARPA, AFRL Reviewed by: ian, ray
* Similar to r245823, use decimal constants for UNIX domain socket options.jhb2013-01-221-3/+3
| | | | MFC after: 1 week
* Use decimal values for UDP and TCP socket options rather than hex to avoidjhb2013-01-222-13/+15
| | | | | | | implying that these constants should be treated as bit masks. Reviewed by: net MFC after: 1 week
* Fix spurious leading / on dtc path in Makefile.inc1. Spotted by jhb.theraven2013-01-221-1/+1
|
* Remove documentation of the old -M option.brooks2013-01-221-5/+2
| | | | Sponsored by: DARPA, AFRL
* ext2fs: make some inode fields match the ext2 spec.pfg2013-01-224-9/+11
| | | | | | | | | | | | | | Ext2fs uses unsigned fields in its dinode struct. FreeBSD can have negative values in some of those fields and the inode is meant to interact with the system so we have never respected the unsigned nature of most of those fields. Block numbers and the NFS generation number do not need to be signed so redefine them as unsigned to better match the on-disk information. MFC after: 1 week
* MFP4 change 219820brooks2013-01-221-1/+1
| | | | | | | | Add a missing 0 to the mask for byte0 of C_SIZE. The previous mask (0xc) worked except that the last 0-1536K of the disk could not be accessed since we were shifting the (wrong) bits we did mask off the right edge.
* MFP4 change 219819brooks2013-01-221-7/+0
| | | | | | Remove a duplicate computation of C_SIZE_MULT. Once is sufficient. Sponsored by: DARPA, AFRL
* ext2fs: temporarily disable the reallocation code.pfg2013-01-221-2/+2
| | | | | | | | | Testing with fsx has revealed problems and in order to hunt the bugs properly we need reduce the complexity. This seems to help but is not a complete solution. MFC after: 3 days
* Remove EOL whitespace.joel2013-01-221-11/+11
|
* Minor mdoc fixes.joel2013-01-221-4/+2
|
* add myself to committers-doc.dotdru2013-01-221-0/+4
| | | | Approved by: bcr (mentor)
* Fix the missing sentence that ended in the middle in the man page for dtc (alsotheraven2013-01-221-1/+4
| | | | spotted by gavin).
* Fix logic error in explicitly specified dtb versions spotted by gavin.theraven2013-01-221-1/+1
|
OpenPOWER on IntegriCloud