summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove more constants related to static sysctl nodes. The MAXID constantsjhb2014-02-2512-41/+8
| | | | | | | | were primarily used to size the sysctl name list macros that were removed in r254295. A few other constants either did not have an associated sysctl node, or the associated node used OID_AUTO instead. PR: ports/184525 (exp-run)
* Arguments for malloc and calloc should be size_t, not int.mckusick2014-02-252-3/+5
| | | | | | | | Use proper bounds check when trying to free cached memory. Spotted by: Xin Li Tested by: Dmitry Sivachenko MFC after: 2 weeks
* Teach userboot to comply with WITHOUT_CDDL/WITHOUT_ZFSsbruno2014-02-251-0/+2
| | | | | | | Apparently, LIBZFS is set to a non-empty string when WITHOUT_CDDL/WITHOUT_ZFS are set, I think this is a bug, but work around this feature for now. Reviewed by: grehan
* In puthdr(), start the ELF .data section on a new page, as this isbrueffer2014-02-251-1/+1
| | | | | | | | | | | | what btxldr expects (.set MEM_DATA,start+0x1000 in btxldr.S). This makes resulting ELF binaries bootable with grub, gptboot and boot2. PR: 153801 Submitted by: Gleb Kurtsou <gleb.kurtsou at gmail.com> Tested by: Ruben Kerkhof <ruben at rubenkerkhof.com> Glanced at by: jhb, peter MFC after: 1 month
* - Pin configuration is a complete iomux register now and includesbr2014-02-256-89/+196
| | | | | | drive strength, pull mode, mux mode, speed, etc. - Add i2c devices to the tree - Add IPG clock
* Invalidate the SCU cache tag ram on all 4 cores, not just 1-3. I misreadian2014-02-251-7/+11
| | | | | Juergen's original code, it was doing all 4 cores. Also remove the L2 cache invalidate operation, this code runs before L2 is activated.
* Increase maximum number of columns to support 1980x1200 displays.jmmv2014-02-251-2/+2
| | | | | | | | | In my specific case, this fixes the problem of my PowerMac G5 displaying a 4:3 console on a 16:10 display with black bars on the left and right. PR: kern/180558 Reviewed by: nwhitehorn MFC after: 5 days
* Don't generate devd rules for WSP device ID's found in the ATP driver yet.hselasky2014-02-251-1/+2
| | | | MFC after: 2 weeks
* Updates for WSP driver:hselasky2014-02-251-8/+17
| | | | | | | | | | | 1) Add support for page back/forward. 2) While doing HOR scrolling, disable VER scrolling. 3) Checking dx_sum and dy_sum before emulate right button, this can avoids unexpected right button press. 4) Fix stable pointer operation when emulating middle button. Submitted by: Huang Wen Hui <huanghwh@gmail.com> MFC after: 2 weeks
* Make sure a for loop in fire_alloc_msix() terminates, by making the loopdim2014-02-251-1/+1
| | | | | | | counter signed. Reviewed by: marius MFC after: 3 days
* In sys/sparc64/sparc64/spitfire.c, prevent signed shift overflow bydim2014-02-251-1/+1
| | | | | | | | | casting to the appropriate type. (Note this fix cannot be done in sys/sparc64/sparc64/spitfire.c, since that file is also included by assembly source files.) Reviewed by: marius MFC after: 3 days
* sh: Add -h option to SYNOPSISdaichi2014-02-251-3/+3
| | | | | Reviewed by: jilles MFC after: soon
* Make all 8 syscall arguments available to syscall probes in the same waymarkj2014-02-251-1/+5
| | | | | | | | that this is done for SDT probes. This fixes the syscall/tst.args.d test, which was failing because mmap(2)'s sixth argument wasn't available to the probe. MFC after: 2 weeks
* Add a flag to run's device list which uses a standard scsi eject.kevlo2014-02-252-3/+11
| | | | | | | The flag indicates that the mcu doesn't need to load firmware. Tested by: Alex Deiter <alex dot deiter at gmail.com>, myself Tested on: ASUS USB-N66
* Wrap for loop in #if block testing the size is actually greaterdelphij2014-02-251-1/+4
| | | | | | | than 0. This silences gcc warning. Reviewed by: sha256(1) with clang X-MFC-With: r262447
* Revert 262462 and 262461, they didn't solve the problem, indelphij2014-02-251-12/+10
| | | | | | | | | fact I should actually waited the build to be finished before committing. A proper fix would be committed once my test build passes. Pointy hat to: delphij
* Patch 2/2:delphij2014-02-241-11/+11
| | | | | | Reindent the code after previous change. X-MFC-With: r262447
* Patch 1/2:delphij2014-02-241-0/+2
| | | | | | | Pet gcc: enclose the for loop that currently do nothing with an if. Reviewed by: sha256(1) X-MFC-With: r262447
* Add support for Quartz Module.br2014-02-242-0/+91
| | | | | | | | | | | Quartz is a tiny module utilized Freescale VF6xx system-on-chip and development kit produced by Device Solutions. Quartz is available in a form of LGA (38x38x2mm) or as a module with high-density connectors. Sponsored by: Device Solutions
* Update ATP manual page.hselasky2014-02-241-3/+4
| | | | | Submitted by: Rohit Grover <rgrover1@gmail.com> MFC after: 2 weeks
* Fix compiler warning.hselasky2014-02-241-5/+0
| | | | | Reported by: David Wolfskill <david@catwhisker.org> MFC after: 2 weeks
* Build FICL support into little-endian 64-bit MIPS boot-loader fragments;rwatson2014-02-241-1/+1
| | | | | | | | while this won't actually be used for anything (yet), it doesn't hurt to ensure it is exposed to the tinderbox. Requested by: imp, jmallett MFC after: 3 weeks
* Build 64-bit ELF support into little-endian 64-bit MIPS boot-loaderrwatson2014-02-241-1/+1
| | | | | | | | fragments; while this won't actually be used for anything (yet), it doesn't hurt to ensure it is exposed to the tinderbox. Requested by: imp, jmallett MFC after: 3 weeks
* hier(7): Add /usr/lib/privateeadler2014-02-241-0/+3
| | | | | Requested by: theraven MFC After: 3 days
* Fix an array index out of bounds bug in iconv VIQR (Vietnamese) module.tijl2014-02-241-1/+1
| | | | | | PR: 185964 Submitted by: Manuel Mausz <manuel-freebsd@mausz.at> MFC after: 5 days
* Fix Simplified Chinese character set conversions by switching around thetijl2014-02-241-1/+1
| | | | | | | | | fields of an internal struct so it corresponds with the way variables of this type are initialised. PR: 185964 Submitted by: Manuel Mausz <manuel-freebsd@mausz.at> MFC after: 5 days
* Consistently pass around context information using a simple pointer. Thistijl2014-02-244-17/+15
| | | | | | | fixes some dereferencing bugs in Chinese character set conversions. PR: 185964 MFC after: 5 days
* Enable the second and the third I2C controllers on Beaglebone-black.loos2014-02-242-0/+26
| | | | | | | | | | | | | | | | | | The first I2C controller is only used to manage the on-board devices (PMIC and HDMI framer) and its bus is not exposed on the expasion headers. With this change the following pins on the P9 expansion headers are now reserved as I2C pins: Pin 17 - I2C1 SCL Pin 18 - I2C1 SDA Pin 19 - I2C2 SCL Pin 20 - I2C2 SDA The I2C2 is the bus that should be used to read the contents of cape eeproms. Approved by: adrian (mentor, implicit)
* Update ATP driver:hselasky2014-02-241-10/+29
| | | | | | | - Add support for emulating a mouse wheel, Z-axis. Submitted by: Rohit Grover <rgrover1@gmail.com> MFC after: 2 weeks
* Add in port0/port6 configuration as part of the platform data code path.adrian2014-02-242-45/+59
| | | | | | | | | | It's still hardcoded (for db120) but it is now hardcoded in all the same place (ie, the pdata path.) The port config/status code now checks port0/port6 as appropriate to configure things. Tested: * Qualcomm Atheros DB120, AR8327 switch.
* Add the AR8327 bits to the DB120 config file.adrian2014-02-241-8/+34
| | | | | | | | | | | | | | | | There's plenty of hints that I haven't yet fleshed out and are hardcoded in arswitch_8327.c. They're listed here (from OpenWRT) for completeness. This is enough to get the thing up, running and pinging. Note that the mdiobus for the on-switch switch changes - the AR8327 probes first, which exposes mdio1, and thus the arge1 mdiobus will probe and attach as mdio2. That is what the AR9344 on-chip switch has to attach to. Tested: * Qualcomm Atheros DB120
* Link the AR8327 to the build.adrian2014-02-241-0/+3
|
* Add initial AR8327 support.adrian2014-02-243-0/+565
| | | | | | | | | | | | | | | | | This is (almost!) enough to actually probe, attach, configure a default port group and do some basic work. It's also totally hard-coded for the Qualcomm Atheros DB120 board - it doesn't yet have any of the code from OpenWRT which parses extra configuration data to know how to program the switch. The LED stuff is also missing. But, it's enough to facilitate board, PHY, switch and VLAN bringup, so I am committing it now. Tested: * Qualcomm Atheros DB120 Obtained from: OpenWRT
* Methodize the arswitch VLAN routines.adrian2014-02-243-18/+35
| | | | | | | These differ per chipset family in subtle and evil ways. It becomes very noticable on the AR8327 where the layout is just plain wrong.
* * Ensure enough ports/phys are available for both the AR8327 and previousadrian2014-02-241-3/+16
| | | | | | | | switches. * Add some new VLAN HAL methods that will be used by the VLAN configuration code. The AR933x and later switches use slightly different register layouts (even though the driver currently doesn't support it.)
* Add the bits needed to run SMP on imx6.ian2014-02-243-0/+170
| | | | | The 'option SMP' isn't added to the kernel config yet; people wanting to test this have to opt-in for now.
* Invalidate caches immediately upon entry to init_secondary(). Also setian2014-02-241-2/+4
| | | | | | | | | | | the Bufferable bit in the PDE entries of the secondary processor startup pagetables. The caches really need to be invalidated even earlier than this, but this is a big step in the right direction. The invalidate needs to happen before the MMU is enabled, which means it has to be called from asm code that's running with physical addressing. Fixing that will be handled in a future change.
* Add correct attributions.adrian2014-02-242-0/+2
| | | | Sponsored by: Netflix, Inc.
* Add a new option - 'a <file>' - which spits out annotated callgraphs.adrian2014-02-246-3/+186
| | | | | | | | | | | | | | | | '-m <file>' spits out the given stream into <file> (eg, /dev/stdout). However, it only resolves the first symbol; it doesn't parse the entire callgraph. If it fails to lookup then it doesn't print anything. '-a' instead does a symbol and file:line lookup for each address in each callgraph and will happily print the address itself with no lookup information if it couldn't look things up. This makes it much easier to pull out individual records from a pmc data file and look at the callgraph information without having to hand-decode the addresses. Sponsored by: Netflix, Inc.
* Add a very basic and totally hacked up iwnstats program.adrian2014-02-246-0/+478
| | | | | | | | | | | | | | This just extracts the current statistics out from the NIC via the new ioctl API and displays them. It runs every 100ms to hopefully grab the latest statistics. I may eventually teach this to use libstatfoo like what has been done for athstats and such; but this is good enough for now for people to do some basic investigation. Tested: * Intel Centrino 6205
* Track and expose the latest statistics from the firmware.adrian2014-02-243-0/+68
| | | | | | Tested: * Intel Centrino 6205
* Reserve a bit for statistics debugging. I'll hopefully use it soon.adrian2014-02-241-0/+1
|
* Add a new cache maintenance function, idcache_inv_all, to the table, andian2014-02-245-0/+77
| | | | | | | implementations for each of the chips we support. Most chips up through armv6 can use the armv4 implementation which has a single coprocessor opcode for this operation. The rather more complex armv7 implementation comes from netbsd.
* Add an ident line.ian2014-02-241-0/+1
|
* Remove a useless newline, warnx already appends a newlinebapt2014-02-231-1/+1
|
* Update ATP driver:hselasky2014-02-232-1155/+1573
| | | | | | | | | | | | | | | - Support for double-tap and drag. - Support for 2-finger horizontal scrolling which translates to page-back/forward events. - Single finger tap is equivalent to a left-button press. - Two-finger taps are mapped to the right-button click. - Three fingers are mapped to middle button. - Add sysctl to disable single finger tapping. - Fix for multiple open of /dev/atp0 - Enhanced support for the Fountain/Geyser family by adding Geyser4. - Update manual page. Submitted by: Rohit Grover <rgrover1@gmail.com> MFC after: 2 weeks
* Fix a typo.adrian2014-02-231-1/+1
|
* Actually set the proper bit to indicate TTB shared memory.ian2014-02-231-1/+1
| | | | Submitted by: Juergan Weiss
* If the L2 cache type is PIPT, pass a physical address for a flush.ian2014-02-231-0/+4
| | | | | | | While this is technically more correct, I don't think it much matters, because the only thing in the tree that calls cpu_flush_dcache() is md(4) and I'm > 99% sure it's bogus that it does so; md has no ability to do anything that can perturb data cache coherency.
* Lower the level of WARNS to fix build with gccbapt2014-02-231-1/+1
|
OpenPOWER on IntegriCloud