summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix panic on attaching to non-existent interface (introduced by r233937, ↵melifaro2012-05-213-45/+163
| | | | | | | | | | | | | | | | pointed by hrs@) Fix panic on tcpdump being attached to interface being removed (introduced by r233937, pointed by hrs@ and adrian@) Protect most of bpf_setf() by BPF global lock Add several forgotten assertions (thanks to adrian@) Document current locking model inside bpf.c Document EVENTHANDLER(9) usage inside BPF. Approved by: kib(mentor) Tested by: gnn MFC in: 4 weeks
* Add checks for memory allocation failures in appropriate places, andghelmer2012-05-211-12/+27
| | | | | | | | avoid creating bad entries in the grp list as a result of memory allocation failures while building new entries. PR: bin/83340 Reviewed by: delphij (prior version of patch)
* Apply style(9) to return and switch/case statements.ghelmer2012-05-211-19/+22
| | | | Reviewed by: delphij (prior version of the patch)
* Re-add 'ic' and properly wrap it in the SUPERG macro.adrian2012-05-211-0/+3
|
* Don't recurse into libssp when MK_SSP is set to no.marcel2012-05-211-1/+5
|
* Add missing \n when generating pkg.confbapt2012-05-211-1/+1
| | | | | | Reported by: beat Approved by: des (mentor) MFC after: 1 day
* Regenerate usb.confhselasky2012-05-211-5/+13
| | | | MFC after: 3 days
* Import byacc from invisible island, it brings us lots of compatibilities withbapt2012-05-21175-5995/+60981
|\ | | | | | | | | | | | | | | | | | | | | | | | | bison, keeping full compatibility with our previous yacc implementation. Also bring the ability to create reentrant parser This fix bin/140309 [1] PR: bin/140309 [1] Submitted by: Philippe Pepiot <ksh@philpep.org> [1] Approved by: des (mentor) MFC after: 1 month
| * Import byacc 20120115bapt2012-05-03127-0/+52906
| | | | Approved by: des (mentor)
* Disable NLS catalog use in libc if built with WITHOUT_NLS option.gleb2012-05-211-0/+2
| | | | Functions affected: strerror, strsignal, gai_strerror.
* According to shared memory man pages, advice including <sys/types.h>kevlo2012-05-213-3/+3
| | | | instead of <sys/param.h>
* Be a little less magical, not that these values are likely to change...imp2012-05-212-4/+7
|
* Implement pmap_mincore for arm. Now programs using it don't cause aimp2012-05-211-3/+53
| | | | | | flood of console messages. Reviewed by: alc@
* - On FreeBSD, com_err.h is installed into /usr/include, not /usr/include/krb5.stas2012-05-211-1/+1
| | | | | | | Reflect that in the manpage. PR: bin/167986 Reported by: truckman@
* Another minor re-arrangement of the code: calcualte the master clockimp2012-05-211-52/+64
| | | | | | | | | | | | frequency in the at91_pmc_clock_init rather than passing it in. Allow for frequencies >= 21MHz by rounding to the nearest 500Hz (Idea from Ian Lapore whose company uses a similar arrangement in their product). at91_pmc_clock_init() is now nearly independent of the rest of the pmc driver (which means we may be able to call it much earlier in boot soon to eliminate the master clock config file requirement for printf to work during early boot and also eliminate some interdependencies with the device ordering which requires pmc to be the first device added).
* Print key value, an index, otherwise we don't know which key is allocated.davidxu2012-05-211-1/+1
|
* Use strcmp that I replaced by accident.kevlo2012-05-211-3/+3
|
* Fix broken ref countkevlo2012-05-211-0/+1
| | | | Submitted by: gcooper
* Fix improper handling of variadic args with ICDEBUGkevlo2012-05-212-4/+2
| | | | | PR: kern/168095 Submitted by: gcooper
* Remove dead codekevlo2012-05-211-5/+3
|
* Minor cleanup before some more major changes:imp2012-05-201-15/+11
| | | | | o main_clock_hz isn't used, eliminate it o move main clock calculation code and table so we have only one ifdef.
* Replace all uses of the vm page queues lock by a r/w lock that is privatealc2012-05-201-55/+62
| | | | | | | | | | | | to this pmap.c. This new r/w lock is used primarily to synchronize access to the PV lists. However, it will be used in a somewhat unconventional way. As finer-grained PV list locking is added to each of the pmap functions that acquire this r/w lock, its acquisition will be changed from write to read, enabling concurrent execution of the pmap functions with finer-grained locking. Reviewed by: kib X-MFC after: r235598
* Determine kernel load address dynamically from u-boot memory map.kientzle2012-05-203-10/+46
| | | | | | | | | | | The generic ELF loading code maps the kernel into low memory by subtracting KERN_BASE. So the copyin/copyout/readin functions are always called with low addresses. This code finds the largest DRAM block from the U-Boot memory map and adds that base to the addresses. In particular, this fixes ubldr on AM3358, which has DRAM mapped to 0x80000000 at power-on.
* Typo and mdoc(7) style fixes.gjb2012-05-2029-40/+46
| | | | | | PR: 168117 Submitted by: Nobuyuki Koganemaru (kogane&jp!freebsd!org) MFC after: 3 days
* Don't start the sleep state transition procedure while sleep isiwasaki2012-05-201-1/+6
| | | | | | | | | | disabled or the system is in shutdown procedure. This should fix the problem which kernel never response to the sleep button press events after the message `suspend request ignored (not ready yet)'. MFC after: 3 days
* Typo and mdoc(7) style fixes.gjb2012-05-202-2/+2
| | | | | | PR: 167890 Submitted by: Nobuyuki Koganemaru (kogane&jp!freebsd!org) MFC after: 3 days
* Replace the list of PVOs owned by each PMAP with an RB tree. This simplifiesnwhitehorn2012-05-205-179/+77
| | | | | | | range operations like pmap_remove() and pmap_protect() as well as allowing simple operations like pmap_extract() not to involve any global state. This substantially reduces lock coverages for the global table lock and improves concurrency.
* remove unused vap variablebschmidt2012-05-201-2/+0
| | | | MFC after: 1 week
* Discard frames after a DELBA which where queued during an active BAbschmidt2012-05-201-0/+5
| | | | | | session. MFC after: 1 week
* Remove unused variable.bschmidt2012-05-201-1/+0
|
* Add some more 100/130 series device IDs.bschmidt2012-05-201-0/+3
| | | | MFC after: 3 days
* Remove cpususpend IDT vector for XEN.iwasaki2012-05-202-0/+4
| | | | This broke XEN kernel building.
* Migrate the per-frame code out from ath_rx_proc() to ath_rx_pkt().adrian2012-05-201-308/+328
| | | | | This will (eventually) be used by the EDMA RX path used by the AR93xx and later NICs.
* Rewrite nd6_sysctl_{d,p}rlist() to avoid misaligned accesses to char arraysmarius2012-05-201-104/+77
| | | | | | | | | | | | casted to structs by getting rid of these buffers entirely. In r169832, it was tried to paper over this issue by 32-bit aligning the buffers. Depending on compiler optimizations that still was insufficient for 64-bit architectures with strong alignment requirements though. While at it, add comments regarding the total lack of locking in this area. Tested by: bz Reviewed by: bz (slightly earlier version), yongari (earlier version) MFC after: 1 week
* Migrate most of the beacon handling functions out to if_ath_beacon.c.adrian2012-05-206-746/+859
| | | | This is also in preparation for supporting AR9300 and later NICs.
* Migrate the TDMA management functions out of if_ath.c into if_ath_tdma.c.adrian2012-05-208-370/+586
| | | | | | There's some TX path TDMA code in if_ath_tx.c which should be migrated out, but first I should likely try and verify/fix/repair the TDMA support in 9.x and -HEAD.
* "nvram,flash" may not be the first in the compatible list property of thejhibbits2012-05-201-1/+2
| | | | | | | nvram ofw node, so check all strings in the list. Approved by: nwhitehorn (mentor) MFC after: 3 days
* .. and update this.adrian2012-05-201-1/+1
|
* Migrate the bulk of the RX routines out from if_ath.c to if_ath_rx.[ch].adrian2012-05-207-914/+1123
| | | | | | | | | | | | | | | | | | | * migrate the rx processing out into if_ath_rx.c * migrate the TSF functions into if_ath_tsf.h, as inlines This is in prepration for supporting the EDMA RX routines, required to support the AR93xx series NICs. TODO: * ath_start() shouldn't be private, but it's called as part of the RX path. I should likely migrate ath_rx_tasklet() back into if_ath.c and then return this to be 'static'. The RX code really shouldn't need to see TX routines (and vice versa.) * ath_beacon_* should be in if_ath_beacon.[ch]. * ath_tdma_* should be in if_ath_tdma.[ch] ...
* MFp4 bz_ipv6_fast:bz2012-05-192-1/+21
| | | | | | | | | | | | Allow tso4 and tso6 be set individually given we have the bits. This will help with drivers not working as expected during the transition time and later. Sponsored by: The FreeBSD Foundation Sponsored by: iXsystems Reviewed by: gnn MFC After: 1 week
* Regenerate after the additions of:marcel2012-05-191-5/+18
| | | | | | | | WITHOUT_ED_CRYPTO WITHOUT_LS_COLORS WITH_NAND Pointed out by: Garrett Cooper
* Enable the AR8316 switch on the routerstation pro board.adrian2012-05-192-4/+27
| | | | | | | | | | The configuration is: * RGMII, both ports * arge0 - connected to PHY4 as a dedicated port (CPU port) * arge1 - connected to the switch ports I've verified this on my routerstation pro board.
* Document the ED_CRYPTO and LS_COLORS options.marcel2012-05-192-0/+8
| | | | Obtained from: Juniper Networks, Inc.
* Unbreak LINT for ARM: DEBUG is a kernel configuration option.marcel2012-05-191-3/+0
|
* Add build opton MK_LS_COLORS to control whether ls(1) supports colorsmarcel2012-05-192-1/+5
| | | | | | | (and thus needs to depend on libtermcap). Embedded systems may not want or need colors. Obtained from: Juniper Networks, Inc.
* Add build option MK_ED_CRYPTO to control whether ed(1) is to have themarcel2012-05-192-3/+4
| | | | | | | ability to encrypt/decrypt files. Embedded systems can typically have OpenSSL, but not for ed(1) to use it. Obtained from: Juniper Networks, Inc.
* Don't link against libssp if MK_SSP is set to no.marcel2012-05-191-1/+5
| | | | Note that this still misses a proper dependency at this time.
* Don't include MIPS machine headers. There's no need for it.marcel2012-05-191-6/+0
|
* Put my name as copyright owner of lib/libc/gen/dirfd.c added in r235647.gleb2012-05-191-7/+4
| | | | Requested by: kib@
* Hide DIR definition by making it an opaque struct typedef.gleb2012-05-1917-34/+139
| | | | | | | | | | Introduce dirfd() libc exported symbol replacing macro with same name, preserve _dirfd() macro for internal use. Replace dirp->dd_fd with dirfd() call. Avoid using dirfd as variable name to prevent shadowing global symbol. Sponsored by: Google Summer Of Code 2011
OpenPOWER on IntegriCloud