summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* - CTF knob is now implemented using common scheme: MK_CTF=yes/no isfjoe2011-11-303-5/+7
| | | | | | | defined based on WITH/WITHOUT_CTF settings, default is WITHOUT_CTF, NO_CTF overrides WITH_CTF (used by Makefile.inc1) - CTFCONVERT_CMD/NORMAL_CTFCONVERT are now defined to empty string if make(1) can handle empty commands
* Remove a bit of debugging that accidentally crept in earlier.jhb2011-11-291-1/+0
|
* Call CTFMERGE only when WITH_CTF is defined.fjoe2011-11-291-1/+1
|
* Do not echo ${CTFCONVERT} command: config(8) will be fixed to notfjoe2011-11-291-2/+1
| | | | emit '@' for ${NORMAL_CTFCONVERT} invocation.
* - fix WITH_CTF when specified in /etc/src.conf [1]fjoe2011-11-294-18/+5
| | | | | | | | | | | | | - CTFCONVERT_CMD=... is a hack (should be defined to empty string instead): make(1) should be taught to ignore empty commands silently in compat mode (as it does in !compat mode, GNU make also silently ignores empty commands) and to skip printing empty commands in !compat mode - config(8) should generate ${NORMAL_CTFCONVERT} invocation without '@': this will allow to simplify kern.pre.mk even more and lessen the number of shell invocations during kernel build when CTF is turned off - WITH_CTF can now be converted to usual MK_CTF=yes/no infrastructure Pointy hat to: fjoe [1]
* Conditionalize ctfconvert/ctfmerge runs on make level (.if/.endif) insteadfjoe2011-11-293-6/+14
| | | | | | of executing a shell on every object or executable/library file. This shaves off more than 30,000 shell invocations during buildworld.
* Fix typo in comments (conversation -> conversion).fjoe2011-11-291-1/+1
|
* Merge ACPICA 20111123.jkim2011-11-281-0/+3
|
* Limit building sfxge(4) in-kernel to amd64 for the time being. We can put itphilip2011-11-282-31/+31
| | | | | | | back after I fix the breakages on some of our more exotic platforms. While here, add the driver to the amd64 NOTES, so it can be picked up in LINT builds.
* For sparc64 also adjust the geometry of da(4) driven disks to not overflowmarius2011-11-271-0/+1
| | | | | | | | | | | the 16-bit cylinders field of the VTOC8 disk label (at around 502GB). The geometry chosen for disks above that limit allows to use disks up to 2TB, which is the limit of the extended VTOC8 format. The geometry used for disks smaller than the 16-bit cylinders limit stays the same as used by cam_calc_geometry(9) for extended translation. Thanks to Hans-Joerg Sirtl for providing hardware for testing this change. MFC after: 3 days
* Add LINT-NOINET LINT-NOINET6 and LINT-NOIP to the make clean target.jh2011-11-271-1/+1
| | | | This was missed in r221353.
* Remove some more occurrences of amd(4) missed in r227982.marius2011-11-261-1/+0
|
* Deorbit the broken amd(4) (see PR 124667), which was superseded by esp(4)marius2011-11-252-3/+0
| | | | as of r227006.
* Introduce a new (global, sorry!) option which controls whetheradrian2011-11-241-1/+2
| | | | | | | | | | | | | the ar71xx platform code should assume a uboot or redboot environment. The current code gets very confused (and just crashes) on a uboot environment, where each attribute=value pair is in a single entry. Redboot on the other hand stores it as "attribute", "value", "attribute", "value", ... This allows the kernel to boot on a TP-LINK TL-WR1043ND from flash, where the uboot environment gets setup. This didn't show up during a netboot as "tftpboot" and "go" don't setup the uboot environment variables.
* Don't compile in the AR9130 embedded WMAC code into the HAL by default.adrian2011-11-241-5/+8
| | | | | | | This won't work unless AH_SUPPORT_AR9130 which can't be enabled - it breaks the other 11n chipsets for now. Sponsored by: Hobnob, Inc.
* forgot to merge NETMAP entries in sys/conf !luigi2011-11-223-0/+8
|
* Remove the wrong comment about ufs not being loadable.kib2011-11-221-5/+4
| | | | | | | Note that only root filesystem module needs to be available before root is mounted. MFC after: 1 week
* - Add the ffclock_getcounter(), ffclock_getestimate() and ffclock_setestimate()lstewart2011-11-211-1/+1
| | | | | | | | | | | | | | | | | | | | system calls to provide feed-forward clock management capabilities to userspace processes. ffclock_getcounter() returns the current value of the kernel's feed-forward clock counter. ffclock_getestimate() returns the current feed-forward clock parameter estimates and ffclock_setestimate() updates the feed-forward clock parameter estimates. - Document the syscalls in the ffclock.2 man page. - Regenerate the script-derived syscall related files. Committed on behalf of Julien Ridoux and Darryl Veitch from the University of Melbourne, Australia, as part of the FreeBSD Foundation funded "Feed-Forward Clock Synchronization Algorithms" project. For more information, see http://www.synclab.org/radclock/ Submitted by: Julien Ridoux (jridoux at unimelb edu au)
* Provide high-level functions to access the feed-forward absolute and differencelstewart2011-11-201-0/+1
| | | | | | | | | | | | | | clocks. Each routine can output an upper bound on the absolute time or time interval requested. Different flavours of absolute time can be requested, for example with or without leap seconds, monotonic or not, etc. Committed on behalf of Julien Ridoux and Darryl Veitch from the University of Melbourne, Australia, as part of the FreeBSD Foundation funded "Feed-Forward Clock Synchronization Algorithms" project. For more information, see http://www.synclab.org/radclock/ Submitted by: Julien Ridoux (jridoux at unimelb edu au)
* Core structure and functions to support a feed-forward clock within the kernel.lstewart2011-11-192-0/+9
| | | | | | | | | | | | | | | | | Implement ffcounter, a monotonically increasing cumulative counter on top of the active timecounter. Provide low-level functions to read the ffcounter and convert it to absolute time or a time interval in seconds using the current ffclock estimates, which track the drift of the oscillator. Add a ring of fftimehands to track passing of time on each kernel tick and pick up updates of ffclock estimates. Committed on behalf of Julien Ridoux and Darryl Veitch from the University of Melbourne, Australia, as part of the FreeBSD Foundation funded "Feed-Forward Clock Synchronization Algorithms" project. For more information, see http://www.synclab.org/radclock/ Submitted by: Julien Ridoux (jridoux at unimelb edu au)
* Add unicode support to msdosfs and smbfs; original pathes from imura,kevlo2011-11-181-0/+1
| | | | | | bug fixes by Kuan-Chung Chiu <buganini at gmail dot com>. Tested by me in production for several days at work.
* Add the sfxge(4) device driver, providing support for 10Gb Ethernet adaptersphilip2011-11-161-0/+31
| | | | | | | | | | | | | | based on Solarflare SFC9000 family controllers. The driver supports jumbo frames, transmit/receive checksum offload, TCP Segmentation Offload (TSO), Large Receive Offload (LRO), VLAN checksum offload, VLAN TSO, and Receive Side Scaling (RSS) using MSI-X interrupts. This work was sponsored by Solarflare Communications, Inc. My sincere thanks to Ben Hutchings for doing a lot of the hard work! Sponsored by: Solarflare Communications, Inc. MFC after: 3 weeks
* Comment out TI_JUMBO_HDRSPLIT. TI_JUMBO_HDRSPLIT requires TI_SF_BUF_JUMBO.yongari2011-11-081-1/+1
|
* Retire 'options TI_PRIVATE_JUMBOS' and replace local jumboyongari2011-11-082-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | allocator with UMA backed jumbo allocator by default. Previously ti(4) used sf_buf(9) interface for jumbo buffers but it was broken at this moment such that enabling jumbo frame caused instant panic. Due to the nature of sf_buf(9) it heavily relies on VM changes but it seems ti(4) was not received much blessing from VM gurus. I don't understand VM magic and implications used in driver either. Switching to UMA backed jumbo allocator like other network drivers will make jumbo frame work on ti(4). While I'm here, fully allocate all RX buffers. This means ti(4) now uses 512 RX buffer and 1024 mini RX buffers. To use sf_buf(9) interface for jumbo buffers, introduce a new 'options TI_SF_BUF_JUMBO'. If it is proven that sf_buf(9) is better for jumbo buffers, interesting developers can fix the issue in future. ti(4) still needs more bus_dma(9) cleanups and should use separate DMA tag/map for each ring(standard, jumbo, mini, command, event etc) but it should work on all platforms except PAE. Special thanks to Jay[1] who provided complete remote debugging access. Tested by: Jay Borkenhagen <jayb <> braeburn dot org > [1]
* Introduce the option VFS_ALLOW_NONMPSAFE and turn it on by default onattilio2011-11-082-0/+4
| | | | | | | | | | | | | | all the architectures. The option allows to mount non-MPSAFE filesystem. Without it, the kernel will refuse to mount a non-MPSAFE filesytem. This patch is part of the effort of killing non-MPSAFE filesystems from the tree. No MFC is expected for this patch. Tested by: gianni Reviewed by: kib
* Add KLD_DEBUG option.fjoe2011-11-061-0/+1
|
* Add QLogic 10 Gigabit Ethernet & CNA Adapter Driver version 1.30bz2011-11-031-0/+6
| | | | | | | | for 3200 and 8200 series cards. Submitted by: David C Somayajulu (david.somayajulu@qlogic.com), Qlogic Corporation MFC After: 3 days
* Remove the remnants of /stand/sysinstall.pluknet2011-11-031-1/+1
| | | | | | loader.8: Sync the default init_path list with kern/init_main.c. NOTES: Replace with /rescue/init in the INIT_PATH kernel option.
* Add a PCI front-end to esp(4) allowing it to support AMD Am53C974 andmarius2011-11-012-1/+4
| | | | | | | | | | | | | replace amd(4) with the former in the amd64, i386 and pc98 GENERIC kernel configuration files. Besides duplicating functionality, amd(4), which previously also supported the AMD Am53C974, unlike esp(4) is no longer maintained and has accumulated enough bit rot over time to always cause a panic during boot as long as at least one target is attached to it (see PR 124667). PR: 124667 Obtained from: NetBSD (based on) MFC after: 3 days
* - Import the common MII bitbang'ing code from NetBSD and convert drivers tomarius2011-11-012-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | take advantage of it instead of duplicating it. This reduces the size of the i386 GENERIC kernel by about 4k. The only potential in-tree user left unconverted is xe(4), which generally should be changed to use miibus(4) instead of implementing PHY handling on its own, as otherwise it makes not much sense to add a dependency on miibus(4)/mii_bitbang(4) to xe(4) just for the MII bitbang'ing code. The common MII bitbang'ing code also is useful in the embedded space for using GPIO pins to implement MII access. - Based on lessons learnt with dc(4) (see r185750), add bus barriers to the MII bitbang read and write functions of the other drivers converted in order to ensure the intended ordering. Given that register access via an index register as well as register bank/window switching is subject to the same problem, also add bus barriers to the respective functions of smc(4), tl(4) and xl(4). - Sprinkle some const. Thanks to the following testers: Andrew Bliznak (nge(4)), nwhitehorn@ (bm(4)), yongari@ (sis(4) and ste(4)) Thanks to Hans-Joerg Sirtl for supplying hardware to test stge(4). Reviewed by: yongari (subset of drivers) Obtained from: NetBSD (partially)
* Fix svnversion for svn 1.7.x by not looking for .svn in ${SYSDIR} (sincedougb2011-10-271-3/+7
| | | | | | | | it no longer exists). Instead, run svnversion if we can find the binary and test that the output looks like a version string. Reviewed by: discussion on -current@ Tested by: rodrigc for non-svn case (thanks!)
* Add libkern/ucmpdi2.ccognet2011-10-261-0/+1
|
* Revert r226665 untill the issues with this change have been resolved.rmh2011-10-261-12/+2
| | | | Approved by: kib (mentor)
* Put in a temporary band-aid to fix kernel builds when CC=clang, afterdim2011-10-241-1/+1
| | | | r226665.
* Conditionalize a pair of FreeBSD GCC extensions so that its CFLAGS are onlyrmh2011-10-231-2/+12
| | | | | | used with FreeBSD GCC. Approved by: kib (mentor)
* FDT support for MIPS.jchandra2011-10-182-0/+13
| | | | | Add architecture specific files needed to compile MIPS with flattened device tree support.
* Add support for special keys (volume/brightness/eject) on Apple laptops withnwhitehorn2011-10-161-0/+1
| | | | | | | ADB keyboards. Submitted by: Justin Hibbits <jrh29 at alumni dot cwru dot edu> MFC after: 9.0-RELEASE
* Remove inphy(4), exphy(4) as well as ruephy(4) that no longer existed as amarius2011-10-081-3/+0
| | | | separate config option, which was missed in r226154.
* - Follow the lead of dcphy(4) and pnphy(4) and move the reminder of the PHYmarius2011-10-081-6/+3
| | | | | | | | | | | | | | drivers that only ever attach to a particular MAC driver, i.e. inphy(4), ruephy(4) and xlphy(4), to the directory where the respective MAC driver lives and only compile it into the kernel when the latter is also there, also removing it from miibus.ko and moving it into the module of the respective MAC driver. - While at it, rename exphy.c, which comes from NetBSD where the MAC driver it corresponds to also is named ex(4) instead of xl(4) but that in FreeBSD actually identifies itself as xlphy(4), and its function names accordingly for consistency. - Additionally while at it, fix some minor style issues like whitespace in the register headers and add multi-inclusion protection to inphyreg.h.
* Add strnlen() to libkern.jkim2011-10-041-0/+1
|
* Add the 9750 SATA+SAS 6Gb/s RAID controller card driver, tws(4). Manydelphij2011-10-041-0/+5
| | | | | | | | thanks for their contiued support to FreeBSD. This is version 10.80.00.003 from codeset 10.2.1 [1] Obtained from: LSI http://kb.lsi.com/Download16574.aspx [1]
* Match the files directive and all the ways to add or subtract optionsmarcel2011-10-041-1/+1
| | | | and makeoptions by being a little smarter about REs.
* Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasingkensmith2011-09-261-2/+2
| | | | | | it from the 9.0-RELEASE release cycle code freeze. Approved by: re (implicit)
* Improve the informations reported in case of busy buffers during the shutdown:attilio2011-09-082-2/+0
| | | | | | | | | | | | | | | | | | | - Axe out the SHOW_BUSYBUFS option and uses a tunable for selectively enable/disable it, which is defaulted for not printing anything (0 value) but can be changed for printing (1 value) and be verbose (2 value) - Improves the informations outputed: right now, there is no track of the actual struct buf object or vnode which are referenced by the shutdown process, but it is printed the related struct bufobj object which is not really helpful - Add more verbosity about the state of the struct buf lock and the vnode informations, with the latter to be activated separately by the sysctl Sponsored by: Sandvine Incorporated Reviewed by: emaste, kib Approved by: re (ksmith) MFC after: 10 days
* Ready for 9.0-BETA2.kensmith2011-08-281-1/+1
| | | | Approved by: re (implicit)
* Follow up to r225203 refining break-to-debugger run-time configurationrwatson2011-08-271-3/+2
| | | | | | | | | | | | improvements: (1) Implement new model in previously missed at91 UART driver (2) Move BREAK_TO_DEBUGGER and ALT_BREAK_TO_DEBUGGER from opt_comconsole.h to opt_kdb.h (spotted by np) (3) Garbage collect now-unused opt_comconsole.h MFC after: 3 weeks Approved by: re (bz)
* Make NKPT a kernel option on amd64 so that it can be set to a non-defaultjhb2011-08-261-0/+1
| | | | | | | | value from kernel config files. Reviewed by: alc Approved by: re (kib) MFC after: 1 week
* Add experimental support for process descriptorsjonathan2011-08-183-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | A "process descriptor" file descriptor is used to manage processes without using the PID namespace. This is required for Capsicum's Capability Mode, where the PID namespace is unavailable. New system calls pdfork(2) and pdkill(2) offer the functional equivalents of fork(2) and kill(2). pdgetpid(2) allows querying the PID of the remote process for debugging purposes. The currently-unimplemented pdwait(2) will, in the future, allow querying rusage/exit status. In the interim, poll(2) may be used to check (and wait for) process termination. When a process is referenced by a process descriptor, it does not issue SIGCHLD to the parent, making it suitable for use in libraries---a common scenario when using library compartmentalisation from within large applications (such as web browsers). Some observers may note a similarity to Mach task ports; process descriptors provide a subset of this behaviour, but in a UNIX style. This feature is enabled by "options PROCDESC", but as with several other Capsicum kernel features, is not enabled by default in GENERIC 9.0. Reviewed by: jhb, kib Approved by: re (kib), mentor (rwatson) Sponsored by: Google Inc
* Use a maximum of -O on PowerPC kernels instead of -O2 to prevent a rarenwhitehorn2011-08-151-0/+4
| | | | | | | | bug that could cause intermittent memory corruption on PowerPC SMP systems using non-debug kernels. This is a temporary change until the real problem is fixed. Approved by: re (kib)
* Add support for the Blu-Ray drive found in the Sony Playstation 3 and fixnwhitehorn2011-08-141-1/+1
| | | | | | | some realted minor bugs in PS3 internal storage support. Submitted by: glevand <geoffrey.levand@mail.ru> Approved by: re (bz)
OpenPOWER on IntegriCloud