summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Plug well observed races on la_hold entries with the callout handler.bz2010-11-293-58/+90
| | | | | | | | | | | | | | | | | | | Call the handler function with the lock held, return unlocked as we might free the entry. Rework functions later in the call graph to be either called with the lock held or, only if needed, unlocked. Place asserts to document and tighten assumptions on various lle locking, which were not always true before. We call nd6_ns_output() unlocked and the assignment of ip6->ip6_src was decentralized to minimize possible complexity introduced with the formerly missing locking there. This also resulted in a push down of local variable scopes into smaller blocks. Reported by: many PR: kern/148857 Submitted by: Dmitrij Tejblum (tejblum yandex-team.ru) (original version) MFC After: 4 days
* document that most of ioctl requests in cd(4) are implemented by acd(4)..jmg2010-11-281-0/+8
|
* sh: Make the test for cd/pwd with long pathnames more useful:jilles2010-11-281-7/+8
| | | | | * Use $(getconf PATH_MAX /) to make sure we actually exercise the hard part * Delete our test area even if the test fails
* Define VM_KMEM_SIZE_MAX on sparc64. Otherwise kernel built withfjoe2010-11-281-0/+8
| | | | | | | | DEBUG_MEMGUARD panics early in kmeminit() with the message "kmem_suballoc: bad status return of 1" because of zero "size" argument passed to kmem_suballoc() due to "vm_kmem_size_max" being zero. The problem also exists on ia64.
* Add option -D for ranlib(1). When -D is speicified, ranlib(1) will generatekaiw2010-11-282-1/+5
| | | | | | | a deterministic archive symbol table (i.e. timestamp for the symbol table member header is set to 0). Submitted by: Erik Cederstrand
* Several chipset drivers alter parameters relevant for the DMA tag creation,marius2010-11-288-28/+33
| | | | | | | | | | | | i.e. alignment, max_address, max_iosize and segsize (only max_address is thought to have an negative impact regarding this issue though), after calling ata_dmainit() either directly or indirectly so these values have no effect or at least no effect on the DMA tags and the defaults are used for the latter instead. So change the drivers to set these parameters up-front and ata_dmainit() to honor them. Reviewd by: mav MFC after: 1 month
* Calling fill_fpregs() for curthread is legitimate, and ELF coredumpkib2010-11-282-2/+4
| | | | | | | does this. Reported and tested by: pho MFC after: 5 days
* Add a manual shrinked version of swiss-8x16 as swiss-8x14.delphij2010-11-282-1/+85
| | | | MFC after: 2 months
* Merge Cavium Octeon SDK 2.0 Simple Executive; this brings some fixes and newjmallett2010-11-28263-126624/+278391
|\ | | | | | | | | | | | | facilities as well as support for the Octeon 2 family of SoCs. XXX Note that with our antediluvian assembler, we can't support some Octeon 2 instructions and fall back to using the old ones instead.
| * Import Cavium Octeon SDK 2.0 Simple Executive from cnusers.org.jmallett2010-11-28259-126600/+278169
| |
* | - Add watchdog driver for Cavium Octeon. At the moment onlygonzo2010-11-283-0/+308
| | | | | | | | UP systems are supported.
* | Bump up MIPS limits once again; the new Cavium Octeon SDK requires even higherjmallett2010-11-281-1/+2
| | | | | | | | | | limits. I'd rather disable the warning and keep the limits at a sane level, but for now they'll be ridiculously-high.
* | o) Remove some commented out or unimplemented code.jmallett2010-11-289-364/+89
| | | | | | | | | | | | | | | | | | o) Remove some options that are configurable on Linux but not FreeBSD. o) Centralize open/poll/stop routines for XAUI and SGMII and use the common uninit routine directly rather than providing a wrapper for it. The init functions for these interfaces are now identical and the common init routine could merge in setting those function pointers except that some hardware seems to use no open/poll/stop method?
* | Fix issue noted by alc while reviewing r215938:jchandra2010-11-283-5/+5
| | | | | | | | | | | | | | | | The current implementation of vm_page_alloc_freelist() does not handle order > 0 correctly. Remove order parameter to the function and use it only for order 0 pages. Submitted by: alc
* | Set MACHINE_ARCH based on ABI and endianness.jmallett2010-11-281-1/+17
| | | | | | | | Reviewed by: imp
* | Add initial AX88772A support.yongari2010-11-282-4/+75
| | | | | | | | H/W donated by: Derrick Brashear (shadow <> gmail dot com)
* | Introduce new macro AXE_IS_178_FAMILY and AXE_IS_772. Includeyongari2010-11-282-13/+26
| | | | | | | | | | AX88772A and AX88772B for future extension. While here add TX buffer size for 178 family controllers.
* | Do full controller initialization in axe_reset() for controllersyongari2010-11-281-0/+6
| | | | | | | | | | that require special configuration from EEPROM. This will put controllers into known sane state.
* | Make sure to change to currently selected media.yongari2010-11-281-0/+2
| |
* | Do not reinitialize controller if it's already running.yongari2010-11-281-0/+3
| |
* | Move axe_reset() to axe_init().yongari2010-11-281-2/+2
| |
* | Apply GPIO configuration for all CICADA PHYs.yongari2010-11-281-2/+5
| | | | | | | | While I'm here show selected phymode to ease of debugging.
* | Remove unused and broken code to implement POW send and POW-only devices; ajmallett2010-11-285-232/+5
| | | | | | | | separate POW driver makes more sense, generally.
* | Use if_transmit to avoid ifq locking in transmit path.jmallett2010-11-271-26/+15
| |
* | Fix more continuous/contiguous typos (cf. r215955)brucec2010-11-275-7/+7
| |
* | Fix typo.brucec2010-11-271-1/+1
| |
* | Add ISP_INTERNAL_TARGET as an option for isp(4).mjacob2010-11-272-0/+3
| |
* | Partially revert 208119. We were overwriting tunable settings.mjacob2010-11-271-3/+0
| | | | | | | | | | Obtained from: Oleg Sharoyko MFC after: 1 week
* | First step in fixing the handle_workitem_freeblocks panic.pho2010-11-271-5/+6
| | | | | | | | In collaboration with: kib
* | Remove DEBUG sections.kib2010-11-271-24/+0
| | | | | | | | MFC after: 3 days
* | Use if_transmit method instead of if_start, this avoids the interface queue ↵jchandra2010-11-272-86/+86
| | | | | | | | | | | | | | | | lock. Use the hardware IP checksum verification on receive. Submitted by: Sriram Gorti (srgorti at netlogicmicro dot com)
* | Remove unused traceroute(8) contrib code from headuqs2010-11-2720-6969/+1
| | | | | | | | It still lives on under vendor/traceroute.
* | Do hard reset before soft reset for SATA channels. Soft reset reported to bemav2010-11-271-1/+1
| | | | | | | | | | | | not enough to restore device readiness in some situations. Tested by: Roger Hammerstein <cheeky.m@live.com> on ServerWorks HT1000.
* | Interrupt handler, and stats changes from Michael Tuexen,jfv2010-11-271-149/+408
| | | | | | | | thanks Michael!
* | Allow pause support advertisement to be turned off again.marius2010-11-272-0/+2
| | | | | | | | Submitted by: yongari (ip1000phy(4))
* | Fix build by correcting function name. Pointed out by dougb.emaste2010-11-271-1/+1
| |
* | and the header...jfv2010-11-271-0/+3
| |
* | A couple fixes got clobbered, putting them back.jfv2010-11-261-13/+33
| |
* | Update ixgbe driver to verion 2.3.6jfv2010-11-2620-1241/+7889
| | | | | | | | | | | | | | | | | | | | - This adds a VM SRIOV interface, ixv, it is however transparent to the user, it links with the ixgbe.ko, but when ixgbe is loaded in a virtualized guest with SRIOV configured this will be detected. - Sync shared code to latest - Many bug fixes and improvements, thanks to everyone who has been using the driver and reporting issues.
* | Unwanted extra call to set_vlan_hw added back by mistake.jfv2010-11-261-3/+0
| |
* | Remove the description of the dev.fxp.%d.noflow tunable as it was removedmarius2010-11-261-4/+1
| | | | | | | | | | in r215906 and the flowcontrol media option now should be set as desired via ifconfig(8) instead.
* | Fix and implement missing parts of flow control support. This also removesmarius2010-11-263-35/+74
| | | | | | | | | | | | | | | | the dev.fxp.%d.noflow tunable as the same effect can now be achieved with ifconfig(8) by setting the flowcontrol media option as desired (besides the tunable never having a chance to actually enable flow control support so far). In joint forces with: yongari
* | Ensure Bay flow control is disabled as we're going to use IEEE 802.3 annexmarius2010-11-261-1/+13
| | | | | | | | 31B full duplex flow control instead.
* | Remove clause 3 and 4 from TNF licenses.uqs2010-11-262-14/+0
| | | | | | | | | | Obtained from: NetBSD Approved by: core
* | Make the size of the direct map easily configurable. Changing NDMPML4Ealc2010-11-263-11/+29
| | | | | | | | | | | | | | | | now suffices. Increase the size of the direct map to 1TB. An earler version of this patch was tested by sbruno@.
* | - Advertise when the reboot came from a watchdog-induced reset.attilio2010-11-261-8/+9
| | | | | | | | | | | | | | | | | | | | - Fix a bug where TCO_BOOT_STS was supposed to be cleared after TCO_SECOND_TO_STS and not before. Sponsored by: Sandvine Incorporated Submitted by: Mark Johnston <mjohnston at sandvine dot com> Reviewed by: des MFC after: 10 days
* | Remove npxgetregs(), npxsetregs(), fpugetregs() and fpusetregs()kib2010-11-269-291/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functions, they are unused. Remove 'user' from npxgetuserregs() etc. names. For {npx,fpu}{get,set}regs(), always use pcb->pcb_user_save for FPU context storage. This eliminates the need for ugly copying with overwrite of the newly added and reserved fields in ucontext on i386 to satisfy alignment requirements for fpusave() and fpurstor(). pc98 version was copied from i386. Suggested and reviewed by: bde Tested by: pho (i386 and amd64) MFC after: 1 week
* | MFaesni r215427:kib2010-11-263-9/+31
| | | | | | | | | | | | | | | | Only save FPU context when not executing in the context of the crypto thread. Tested by: Mike Tancsa MFC after: 1 week
* | Include x86/_align.h directly instead of including the i386 header.tijl2010-11-261-26/+3
| | | | | | | | Approved by: kib (mentor)
* | Merge amd64/i386 _align.h by aligning on the size of register_t (copiedtijl2010-11-263-94/+58
| | | | | | | | | | | | | | from powerpc). Reviewed by: imp, jhb Approved by: kib (mentor)
OpenPOWER on IntegriCloud