aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Fix inverted test that resulted in incorrect multicast hw programming.Navdeep Parhar2012-07-031-1/+1
| | | | | | | | | | | | Notes: svn path=/head/; revision=238054
| * | Add "hier" as an alternate spelling of "hierarchy" to match hier(9).David E. O'Brien2012-07-032-2/+2
| | | | | | | | | | | | Notes: svn path=/head/; revision=238051
| * | Revert r222186 per instructions for FreeBSD 10.David E. O'Brien2012-07-032-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | (a 10-CURRENT share/mk is already required to build a 10-CURRENT kernel on 9-STABLE) Notes: svn path=/head/; revision=238050
| * | Add a driver for the Freescale FCM module in the localbus controller.Marcel Moolenaar2012-07-033-0/+814
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This driver does not yet handle multiple chip selects properly. Note that the NAND infrastructure does not perform full page reads or writes, which means that this driver cannot make use of the hardware ECC that is otherwise present. Notes: svn path=/head/; revision=238046
| * | Support lbc interrupts:Marcel Moolenaar2012-07-032-34/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Save and clear the LTESR register in the interrupt handler. o In lbc_read_reg(), return the saved LTESR register value if applicable (i.e. when the saved value is not invalid (read: ~0U)). o In lbc_write_reg(), clear the bits in the saved register when when it's written to and when the asved value is not invalid. o Also in lbc_write_reg(), the LTESR register is unlocked (in H/W) when bit 1 of LTEATR is cleared. We use this to invalidate our saved LTESR register value. Subsequent reads and write go to H/W directly. While here: o In lbc_read_reg() & lbc_write_reg(), add some belts and suspenders to catch when register offsets are out of range. o In lbc_attach(), initialize completely and don't leave something left for lbc_banks_enable(). Notes: svn path=/head/; revision=238045
| * | Simplify simplebus_setup_intr and don't call MD code directly. We canMarcel Moolenaar2012-07-021-25/+20
| | | | | | | | | | | | | | | | | | | | | (and have to) trust our parent to handle interrupt configuration. Notes: svn path=/head/; revision=238044
| * | Properly implement bus_setup_intr so that it handles the configurationMarcel Moolenaar2012-07-021-40/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of interrupts of direct children. Have the bus_config_intr and bus_teardown_intr methods implemented by bus_generic_config_intr and bus_generic_teardown_intr (resp) as we don't need to do anything special outselves. This removes all the ``#ifdef $arch'' code that was there because powerpc didn't have a proper nexus and people tend to copy and paste stuff. Notes: svn path=/head/; revision=238043
| * | Properly implement the bus_config_intr, bus_setup_intr and bus_teardown_intrMarcel Moolenaar2012-07-021-2/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | methods so that MI drvers can depend on us doing the right thing instead of having to go around us and call MD code directly. See the FDT code for example (not for long though). Notes: svn path=/head/; revision=238042
| * | Unfortunately the change in r237958 resulted in s/install/instclean/ due toDoug Barton2012-07-021-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the aggressive pattern matching of the :C modifier. I tested build and install in 2 phases, however with different solutions, resulting in the breakage. Mea culpa. The solution is to break out the all: target. This causes a few lines of code duplication, but now the all: target works as it should, and the other targets continue to work as they did before. While I'm here, add a ===> header line to the start of each port build to make it easier to find/more clear in the logs. Notes: svn path=/head/; revision=238038
| * | Remove device uart_z8530 and options GEOM_PART_APM from DEFAULTS and insteadMarcel Moolenaar2012-07-023-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | add them to GENERIC and GENERIC64. They are applicable to Apple H/W and not at all for Book-E platforms. Notes: svn path=/head/; revision=238034
| * | Fix a typo that resulted in or-ing PTE_UW twice whrn PTE_SW was needed.Marcel Moolenaar2012-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Note that setting the PTE_MODIFIED bit based on whether write is possible is incorrect. We should set PTE_MODIFIED based on whether the access is a write operation. Notes: svn path=/head/; revision=238033
| * | Handle traps from the debugger. We need to catch them and re-enterMarcel Moolenaar2012-07-021-0/+7
| | | | | | | | | | | | | | | | | | | | | the debugger where they're being taken care of. Notes: svn path=/head/; revision=238032
| * | Invalidate any TLB1 entries we don't need. The firmware (e.g. U-Boot)Marcel Moolenaar2012-07-021-0/+4
| | | | | | | | | | | | | | | | | | | | | may have added entries that conflict with TLB0 entries. Notes: svn path=/head/; revision=238031
| * | Implement cpu_flush_dcache(). This allows us to optimize __syncicache()Marcel Moolenaar2012-07-021-1/+18
| | | | | | | | | | | | | | | | | | | | | for the common case in chich D-caches are coherent by virtue of busdma. Notes: svn path=/head/; revision=238030
| * | Extend the KPI to lock and unlock f_offset member of struct file. ItKonstantin Belousov2012-07-027-70/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | now fully encapsulates all accesses to f_offset, and extends f_offset locking to other consumers that need it, in particular, to lseek() and variants of getdirentries(). Ensure that on 32bit architectures f_offset, which is 64bit quantity, always read and written under the mtxpool protection. This fixes apparently easy to trigger race when parallel lseek()s or lseek() and read/write could destroy file offset. The already broken ABI emulations, including iBCS and SysV, are not converted (yet). Tested by: pho No objections from: jhb MFC after: 3 weeks Notes: svn path=/head/; revision=238029
| * | Instruct the firmware not to provision resources for TCP offload if theNavdeep Parhar2012-07-021-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | kernel is being built without TCP_OFFLOAD. But never override toecaps_allowed if it has been set manually. Notes: svn path=/head/; revision=238028
| * | There's no need to make filemon specific to i386 and amd64. AllMarcel Moolenaar2012-07-022-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | LP64 architectures define elf64_freebsd_sysvec and all ILP32 architectures define elf32_freebsd_sysvec. Notes: svn path=/head/; revision=238026
| * | Added options:Marcel Moolenaar2012-07-021-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | WITH_INSTALL_AS_USER WITHOUT_PKGBOOTSTRAP Notes: svn path=/head/; revision=238025
| * | Add a one second sleep before touching the spool directory. If the touchJohn Baldwin2012-07-021-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | occurs in the same second as the earlier operations to create the temporary file and the cron(8) daemon is rescans the spool directory during that second, then the daemon may miss a cron edit and not properly update its internal database. MFC after: 1 month Notes: svn path=/head/; revision=238024
| * | A cross-reference takes a man page section as well. Assume pkg(1),Marcel Moolenaar2012-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | based on pkg_add(1). Notes: svn path=/head/; revision=238023
| * | Remove 14 not very useful characters " HDA CODEC PCM" from HDA pcm deviceAlexander Motin2012-07-021-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | names to shorten them. PulseAudio reported to have problems with names longer then 63 chars and at least in XMMS long names are inconvinient. Reported by: hselasky MFC after: 3 days Notes: svn path=/head/; revision=238022
| * | Add description for INSTALL_AS_USERMarcel Moolenaar2012-07-021-0/+9
| | | | | | | | | | | | Notes: svn path=/head/; revision=238021
| * | Fix two layout bugs in the previous change:John Baldwin2012-07-021-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Properly increase y_mem when per-CPU stats are enabled. - Update y_arc for per-CPU stats being enabled/disabled. MFC after: 3 days Notes: svn path=/head/; revision=238020
| * | Fix typo in option description file (using svn move).Marcel Moolenaar2012-07-021-0/+0
| | | | | | | | | | | | Notes: svn path=/head/; revision=238018
| * | Remove route caching from IP multicast routing code. There is noGleb Smirnoff2012-07-024-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reason to do that, and also, cached route never got unreferenced, which meant a reference leak. Reviewed by: bms Notes: svn path=/head/; revision=238016
| * | Add IDs for some USB controllers I have around. Just a cosmetics.Alexander Motin2012-07-024-4/+27
| | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=238015
| * | Restore GPIO config quirks handling, lost during last big refactoring.Alexander Motin2012-07-021-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | Tested by: hselasky MFC after: 3 days Notes: svn path=/head/; revision=238011
| * | Fix build after r237997.Gleb Smirnoff2012-07-022-1/+2
| | | | | | | | | | | | Notes: svn path=/head/; revision=238010
| * | Revert r238004 as more review has come in and there is now a discussionSean Bruno2012-07-022-46/+20
| | | | | | | | | | | | | | | | | | | | | on how to best proceed. Notes: svn path=/head/; revision=238009
| * | Add reference to portsnap(8).Warren Block2012-07-021-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Tim Kientzle MFC after: 1 day Notes: svn path=/head/; revision=238008
| * | Cosmetic display change of Cx states via cx_supported sysctl entries.Sean Bruno2012-07-022-20/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adjust power_profile script to handle the new world order as well. Some vendors are opting out of a C2 state and only defining C1 & C3. This leads the acpi_cpu display to indicate that the machine supports C1 & C2 which is caused by the (mis)use of the index of the cx_state array as the ACPI_STATE_CX value. e.g. the code was pretending that cx_state[i] would always convert to i by subtracting 1. cx_state[2] == ACPI_STATE_C3 cx_state[1] == ACPI_STATE_C2 cx_state[0] == ACPI_STATE_C1 however, on certain machines this would lead to cx_state[1] == ACPI_STATE_C3 cx_state[0] == ACPI_STATE_C1 This didn't break anything but led to a display of: * dev.cpu.0.cx_supported: C1/1 C2/96 Instead of * dev.cpu.0.cx_supported: C1/1 C3/96 MFC after: 2 weeks Notes: svn path=/head/; revision=238004
| * | Move common code parts to sctp_common_input_processing().Michael Tuexen2012-07-023-311/+200
| | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=238003
| * | Remove dead code (on FreeBSD) as suggested by glebius@.Michael Tuexen2012-07-021-8/+1
| | | | | | | | | | | | | | | | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=238002
| * | Honor db_pager_quit in 'show uma' and 'show malloc'.John Baldwin2012-07-022-0/+6
| | | | | | | | | | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=238000
| * | New build KNOB: WITHOUT_PKGBOOTSTRAP to condition building of usr.sbin/pkgBaptiste Daroussin2012-07-023-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not condition usr.sbin/pkg building on WITHOUT_PKGTOOLS anymore, so that users can remove the old pkg_* tools without removing the pkgng boostrap Approved by: des (mentor) MFC after: 1 month Notes: svn path=/head/; revision=237997
| * | Fix XEN build, broken in r237924.Christian Brueffer2012-07-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Reported by: gcooper Pointy hat: brueffer Notes: svn path=/head/; revision=237996
| * | Issue proper diagnostic on the short writes, also consider theKonstantin Belousov2012-07-021-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | case of write reporting 0 bytes as short write. Reported and tested by: adreast MFC after: 1 week Notes: svn path=/head/; revision=237988
| * | Do not override an error from uiomove() with (non-)error result fromKonstantin Belousov2012-07-021-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bwrite(). VFS needs to know about EFAULT from uiomove() and does not care much that partially filled block writeback after EFAULT was successfull. Early return without error causes short write to be reported to usermode. Reported and tested by: andreast MFC after: 3 weeks Notes: svn path=/head/; revision=237987
| * | Fix typo in r237981.Alexander Motin2012-07-021-1/+1
| | | | | | | | | | | | Notes: svn path=/head/; revision=237982
| * | Add acpi_asus_wmi(4) -- driver for random extras found on WMI-compatibleAlexander Motin2012-07-027-1/+755
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Asus laptops. It is alike to acpi_asus(4), but uses WMI interface instead of separate ACPI device. On Asus EeePC T101MT netbook it allows to handle hotkeys and on/off WLAN, Bluetooth, LCD backlight, camera, cardreader and touchpad. On Asus UX31A ultrabook it allows to handle hotkeys, on/off WLAN, Bluetooth, Wireless LED, control keyboard backlight brightness, monitor temperature and fan speed. LCD brightness control doesn't work now for unknown reason, possibly requiring some video card initialization. Sponsored by: iXsystems, Inc. Notes: svn path=/head/; revision=237981
| * | - Call bus_generic_attach() at end of hdspe_attach().Gleb Smirnoff2012-07-021-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Use own devclass_t in DRIVER_MODULE(). This fixes operation of hdspe(4) when built as loadable module. Submitted by: Ruslan Bukin <br bsdpad.com> Notes: svn path=/head/; revision=237975
| * | Expose scrub and resilver tunables.Martin Matuska2012-07-021-12/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows the user to tune the priority trade-off between scrub/resilver and other ZFS I/O. MFC after: 2 weeks Discussed with: pjd Notes: svn path=/head/; revision=237972
| * | For the ports modules building code, clean WRKDIR before building. This isDoug Barton2012-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | important for those that use -DNO_CLEAN routinely, since it will prevent installing stale stuff, and even more important when the port is upgraded to a newer version. When the user doesn't use -DNO_CLEAN, this will create an infinitesimal amount of extra work, but won't hurt anything. This is necessary because the ports tree has flags that prevent the ususal 'update the build if newer source files exist' logic from doing what it would do in the base. Notes: svn path=/head/; revision=237958
| * | .. And fix another typo. Grr.Adrian Chadd2012-07-021-1/+1
| | | | | | | | | | | | Notes: svn path=/head/; revision=237957
| * | Fix another typo.Adrian Chadd2012-07-021-1/+1
| | | | | | | | | | | | Notes: svn path=/head/; revision=237956
| * | Fix typo.Adrian Chadd2012-07-021-1/+1
| | | | | | | | | | | | Notes: svn path=/head/; revision=237955
| * | Bring over some further HAL capabilities from the Atheros HAL, as wellAdrian Chadd2012-07-022-2/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | as an EDMA check function. For the AR9003 and later NICs, different TX/RX DMA and descriptor handling code will be conditional on the EDMA check. Obtained from: Qualcomm Atheros Notes: svn path=/head/; revision=237953
| * | Use timeclear() instead of home grown version.Xin LI2012-07-021-1/+1
| | | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=237942
| * | ctype_l(3): Note that not all these functions are specified by POSIX.1-2008.Jilles Tjoelker2012-07-011-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The function isascii_l() is not in POSIX even though isascii() is, probably because isascii() is marked as obsolete. The other functions, like digittoint_l() and ishexnumber_l(), are FreeBSD-specific just like their non-_l versions. Notes: svn path=/head/; revision=237939
| * | Correct a grammo.Jens Schweikhardt2012-07-011-1/+1
| | | | | | | | | | | | Notes: svn path=/head/; revision=237937