aboutsummaryrefslogtreecommitdiff
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add in support for multicast.George V. Neville-Neil2011-05-033-22/+4
| | | | | | | | | | | | | | | | Submitted by: Sriram Rapuru at @ Wipro for Exar Inc. MFC after: 2 weeks Notes: svn path=/head/; revision=221389
| * SNDCTL_DSP_GETIPTR: set pointer to sndbuf_getfreeptr()Andriy Gapon2011-05-031-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rationale: - unlike current behavior this seems to be compliant with OSS specification: http://manuals.opensound.com/developer/SNDCTL_DSP_GETIPTR.html - this seems to meet expectations of some OSS programs compiled for or ported from Linux, e.g. ALSA OSS plugin - this doesn't seem to break any programs as far as current testing shows Tested by: nox, hselasky MFC after: 4 days Notes: svn path=/head/; revision=221388
| * Do not report legacy unit numbers (do not create legacy aliases) for disksAlexander Motin2011-05-031-3/+6
| | | | | | | | | | | | | | | | on port multiplier ports above first two. They don't fit into ATA_STATIC_ID scheme and so can't be mapped properly. No need to pollute dev. Notes: svn path=/head/; revision=221384
| * Change the way rctl interfaces with jails by introducing prison_racctEdward Tomasz Napierala2011-05-035-75/+167
| | | | | | | | | | | | | | | | | | structure, which acts as a proxy between them. This makes jail rules persistent, i.e. they can be added before jail gets created, and they don't disappear when the jail gets destroyed. Notes: svn path=/head/; revision=221362
| * Fix corner case where the size is a power of two.Marcel Moolenaar2011-05-031-1/+1
| | | | | | | | Notes: svn path=/head/; revision=221356
| * - Fixed a typo in an if() statement when setting flow control for MTUDavid Christensen2011-05-021-1/+1
| | | | | | | | | | | | | | | | | | greater than 5000 bytes. Submitted by: yongari Notes: svn path=/head/; revision=221354
| * Add LINT-NOINET6 which we have inofficially supported for yearsBjoern A. Zeeb2011-05-021-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and our users complained when broken. Similarly add LINT-NOINET, and for at least documentation purposes add LINT-NOIP (which compiles out INET and INET6 and couple of NIC drivers). Tested by: make universe (if you broke it since you fix it) Reviewed by: gnn Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 2 weeks Notes: svn path=/head/; revision=221353
* | Add a comment explaining the discrepancy in size between kernel andAttilio Rao2011-05-031-0/+4
| | | | | | | | | | | | | | | | | | userland of cpuset_t. Discussed with: jhb Notes: svn path=/projects/largeSMP/; revision=221396
* | Make CPU_MAXSETSIZE dependant by MAXCPU as well.Attilio Rao2011-05-031-1/+1
| | | | | | | | | | | | | | Discussed with: jhb Notes: svn path=/projects/largeSMP/; revision=221395
* | MFCAttilio Rao2011-05-0218-61/+147
|\| | | | | | | Notes: svn path=/projects/largeSMP/; revision=221350
| * Clang r130700 can now compile sys/boot/i386/boot2 with room to spare.Dimitry Andric2011-05-021-3/+6
| | | | | | | | Notes: svn path=/head/; revision=221348
| * Handle a rare edge case with nearly full TCP receive buffers. If a TCPJohn Baldwin2011-05-023-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | buffer fills up causing the remote sender to enter into persist mode, but there is still room available in the receive buffer when a window probe arrives (either due to window scaling, or due to the local application very slowing draining data from the receive buffer), then the single byte of data in the window probe is accepted. However, this can cause rcv_nxt to be greater than rcv_adv. This condition will only last until the next ACK packet is pushed out via tcp_output(), and since the previous ACK advertised a zero window, the ACK should be pushed out while the TCP pcb is write-locked. During the window while rcv_nxt is greather than rcv_adv, a few places would compute the remaining receive window via rcv_adv - rcv_nxt. However, this value was then (uint32_t)-1. On a 64 bit machine this could expand to a positive 2^32 - 1 when cast to a long. In particular, when calculating the receive window in tcp_output(), the result would be that the receive window was computed as 2^32 - 1 resulting in advertising a far larger window to the remote peer than actually existed. Fix various places that compute the remaining receive window to either assert that it is not negative (i.e. rcv_nxt <= rcv_adv), or treat the window as full if rcv_nxt is greather than rcv_adv. Reviewed by: bz MFC after: 1 month Notes: svn path=/head/; revision=221346
| * Correct spelling in comments.Marius Strobl2011-05-021-2/+2
| | | | | | | | | | | | | | Submitted by: brucec Notes: svn path=/head/; revision=221344
| * Fix an logic bug which caused jumbo buffers to not be synced.Marius Strobl2011-05-021-1/+1
| | | | | | | | | | | | | | | | | | Reported and tested by: Michael Moll MFC after: 3 days Notes: svn path=/head/; revision=221343
| * - Re-committed r220603 which was accidentally backed out by an earlierDavid Christensen2011-05-022-4/+1
| | | | | | | | | | | | | | | | | | | | commit. - Fixed a bug in an unused debug macro. MFC after: One week. Notes: svn path=/head/; revision=221342
| * Probe the PHY accompanying BCM57765.Marius Strobl2011-05-022-0/+2
| | | | | | | | | | | | | | | | | | Tested by: Paul Thornton MFC after: 1 week Notes: svn path=/head/; revision=221341
| * The ACPI Host-PCI bridge driver actually supports multiple domains viaJohn Baldwin2011-05-021-1/+1
| | | | | | | | | | | | | | | | the optional _SEG function. Return that value (ap->segment) rather than 0 for the pcib domain ivar. Notes: svn path=/head/; revision=221336
| * Correct a typo. According to Intel document 318914, the Tj(max) for Core 2Xin LI2011-05-021-1/+1
| | | | | | | | | | | | | | | | | | | | Duo Mobile CPUs should be 105. Noticed by: Mark Johnston <markjdb gmail.com> MFC after: 3 days Notes: svn path=/head/; revision=221335
| * Don't use the whole region 5 for KVA, because the CPU may not implement allMarcel Moolenaar2011-05-021-1/+2
| | | | | | | | | | | | | | | | | | | | of the 61 bits available within the region for virtual addressing. Since there's no good way for us to map out the gap in the virtual address space, limit KVA to the architectural minimum implemented address bits. This still gives us 1 petabyte of KVA, so no worries. Notes: svn path=/head/; revision=221334
| * Fix build with clang. Please note there is an LLVM/Clang PR:Jung-uk Kim2011-05-021-1/+1
| | | | | | | | | | | | | | | | | | http://llvm.org/bugs/show_bug.cgi?id=9379 Reported by: rpaulo, dim Notes: svn path=/head/; revision=221331
| * All PCI based wireless drivers seem to be explicitly removed from theBernhard Schmidt2011-05-021-0/+6
| | | | | | | | | | | | | | PAE kernel config, do that also for those added to GENERIC lately. Notes: svn path=/head/; revision=221329
| * Some more cleanups related to an kernel without INET.Michael Tuexen2011-05-022-40/+96
| | | | | | | | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=221328
| * Don't explicitly list pci_write_ivar() for bus_write_ivar, the method isJohn Baldwin2011-05-021-1/+0
| | | | | | | | | | | | | | already inherited from the PCI bus driver. Notes: svn path=/head/; revision=221327
| * Add an entry for the Kuroutoshikou SERIAL4P-LPPCI2 which uses an OxfordJohn Baldwin2011-05-021-0/+6
| | | | | | | | | | | | | | | | | | | | | | 4 port chip but with a nonstandard clock. PR: kern/104212 Submitted by: Shuichi KITAGUCHI kit of ysnb net MFC after: 1 week Notes: svn path=/head/; revision=221326
* | MFC @ r221324Attilio Rao2011-05-0218-58/+109
|\| | | | | | | Notes: svn path=/projects/largeSMP/; revision=221325
| * Add implementations of BUS_ADJUST_RESOURCE() to the PCI bus driver,John Baldwin2011-05-027-21/+43
| | | | | | | | | | | | | | | | generic PCI-PCI bridge driver, x86 nexus driver, and x86 Host to PCI bridge drivers. Notes: svn path=/head/; revision=221324
| * Add in the work-around for the AR8316 gige switch PHY.Adrian Chadd2011-05-021-1/+5
| | | | | | | | | | | | | | | | | | This allows the ethernet to function on the PB92 board. Submitted by: Luiz Otavio O Souza Notes: svn path=/head/; revision=221321
| * Add -Wmissing-include-dirs to CWARNFLAGS, so tinderbox will punish thoseRebecca Cran2011-05-021-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | developers committing new code with broken include directories. Fix a few whitespace issues. Improve a couple of comments. -W is now deprecated and is referred to as -Wextra (see gcc(1)). Submitted by: arundel Notes: svn path=/head/; revision=221320
| * Add documentation to sys/conf/options pointing out that AH_SUPPORT_AR9130Adrian Chadd2011-05-021-0/+3
| | | | | | | | | | | | | | | | shouldn't be enabled by default unless you're truely building for the AR913x platform. Notes: svn path=/head/; revision=221312
| * Some AR724x PCIe fixes, which should wrap up the first roundAdrian Chadd2011-05-011-24/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of endian-ness issues with the AR724x. From Luiz: * Fix the bus space tag used so endian-ness is correctly handled; * Only do the workaround for the AR7240; AR7241/AR7242 (PB92) don't require this From me: * Add a read flush from openwrt Submitted by: Luiz Otavio O Souza Notes: svn path=/head/; revision=221307
| * Add the kernel support needed to zero out the nfsstatsRick Macklem2011-05-012-0/+3
| | | | | | | | | | | | | | | | | | | | structure for the new NFS subsystem. This will be used by nfsstats.c to implement the "-z" option. MFC after: 2 weeks Notes: svn path=/head/; revision=221306
| * These are of course i386/amd64 only.Bernhard Schmidt2011-05-011-8/+0
| | | | | | | | Notes: svn path=/head/; revision=221301
| * Add files for wpi(4)Bernhard Schmidt2011-05-011-0/+1
| | | | | | | | Notes: svn path=/head/; revision=221300
| * No need for htole32(), which is an uint8_t.Bernhard Schmidt2011-05-011-2/+2
| | | | | | | | Notes: svn path=/head/; revision=221299
| * Add the remaining wireless drivers.Bernhard Schmidt2011-05-013-0/+35
| | | | | | | | | | | | | | Discussed with: joel Notes: svn path=/head/; revision=221296
* | - Merge a fix fixup for the last lazyfix removalAttilio Rao2011-05-022-54/+28
| | | | | | | | | | | | | | - Sync xen with i386 about the ipi_send_cpu() usage Notes: svn path=/projects/largeSMP/; revision=221322
* | MFC @ r221286Attilio Rao2011-05-011-2/+2
|\| | | | | | | Notes: svn path=/projects/largeSMP/; revision=221287
| * Fix typos.Konstantin Belousov2011-04-301-2/+2
| | | | | | | | | | | | | | | | | | Noted by: Fabian Keil <freebsd-listen fabiankeil de> Pointy hat to: kib MFC after: 1 week Notes: svn path=/head/; revision=221281
* | Remove unnused typedef.Attilio Rao2011-05-011-1/+0
| | | | | | | | Notes: svn path=/projects/largeSMP/; revision=221286
* | - Remove the following sysctl:Attilio Rao2011-04-301-31/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | kern.sched.ipiwakeup.onecpu kern.sched.ipiwakeup.htt2 Because they are absolutely obsolete. Probabilly the whole wakeup forward mechanism should be revisited for a better fitting in modern hw. - As map2 variable is no longer used rename map3 to map2 - Fix a string by making more informative the msg and removing the arguments passing Approved by: julian Notes: svn path=/projects/largeSMP/; revision=221285
* | Add the function md_assert_nopreempt(), which is a very consistentAttilio Rao2011-04-305-0/+50
| | | | | | | | | | | | | | | | | | | | function on the possibility of a thread to not preempt. As this function is very tied to x86 (interrupts disabled checkings) it is not intended to be used in MI code. Notes: svn path=/projects/largeSMP/; revision=221284
* | Remove the support for lazy cr3 switching from i386.Attilio Rao2011-04-307-219/+2
| | | | | | | | | | | | | | | | | | amd64 has already this micro-optimization removed. Submitted by: kib Notes: svn path=/projects/largeSMP/; revision=221283
* | Fix a typo/error.Attilio Rao2011-04-301-1/+1
| | | | | | | | Notes: svn path=/projects/largeSMP/; revision=221280
* | Remove unnecessary usage of memory barriers when dealing withAttilio Rao2011-04-301-3/+3
| | | | | | | | | | | | | | | | | | pmc_cpumask. Discussed with: fabient Notes: svn path=/projects/largeSMP/; revision=221279
* | idle_cpus_mask is just used in the SMP case and within sched_4BSD.Attilio Rao2011-04-303-2/+2
|/ | | | | | | Declare appropriately. Notes: svn path=/projects/largeSMP/; revision=221278
* Stop linking against a direct-mapped virtual address and insteadMarcel Moolenaar2011-04-3014-308/+527
| | | | | | | | | | | | | | use the PBVM. This eliminates the implied hardcoding of the physical address at which the kernel needs to be loaded. Using the PBVM makes it possible to load the kernel irrespective of the physical memory organization and allows us to replicate kernel text on NUMA machines. While here, reduce the direct-mapped page size to the kernel's page size so that we can support memory attributes better. Notes: svn path=/head/; revision=221271
* LACP frames must not be send VLAN-tagged, check for that before processing.Andrew Thompson2011-04-301-1/+1
| | | | | | | | | PR: kern/156743 Submitted by: Dmitrij Tejblum MFC after: 1 week Notes: svn path=/head/; revision=221270
* Turn PBVM page table entries into PTEs so that they can be insertedMarcel Moolenaar2011-04-302-11/+22
| | | | | | | | | into the TLB as-is. While here, have ia64_platform_alloc() return ~0UL on failure. Notes: svn path=/head/; revision=221269
* Update carp, gre and pf module builds to be depenent on INET and/orBjoern A. Zeeb2011-04-302-3/+15
| | | | | | | | | | | | INET6_SUPPORT. Reviewed by: gnn (slightly earlier version without pf) Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 2 weeks Notes: svn path=/head/; revision=221267
* Allow MKMODULESENV being preset from other sources like makeoptionsBjoern A. Zeeb2011-04-301-1/+1
| | | | | | | | | | | | | kernel configurations to apply WITH_* WITHOUT_* knobs we use for module building as well to restrict or control opt_*.h flags. Reviewed by: imp, + Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems MFC after: 2 weeks Notes: svn path=/head/; revision=221265