summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* Add a USB comm driver.joe2002-03-182-0/+8
| | | | Ported from NetBSD by: akiyama
* lint the previous lint commit.ru2002-03-182-2/+2
| | | | Reviewed by: markm
* Spelling: s/guesst/guessed/cjc2002-03-171-1/+1
|
* Allow "make lint" to mostly work. Our sources are very unclean WRTmarkm2002-03-172-0/+6
| | | | | | | lint, so this is turned off by default. Setting WANT_LINT will turn on generation of lint libraries for /usr/libdata/lint/*.ln. Reviewd by: silence in -audit.
* Teach GEOM about Sun disklabel formats.phk2002-03-151-0/+1
| | | | | | | | | | The detection code in this method is written so that it should work on all architectures which means that you can plug a Sun disk into a i386 now and access the partitions. We still need an endian-agnostic ufs/ffs before this is really interresting, but the main focus was to get sparc64 onto the GEOM trail.
* Remove all the custom toolchain knob tweaking.obrien2002-03-151-13/+0
| | | | | We are now using a native binutils, and you have to have CC=gcc in your /etc/make.conf to compile userland anyway.
* Add a DEBUGGER_ON_POWERFAIL option. This makes the power button on ultra 10sjake2002-03-131-0/+1
| | | | work like an NMI button.
* Use the deo hosted toolchain by default.jake2002-03-131-10/+14
|
* This patch adds the "LOCKSHARED" option to namei which causes it to only ↵jeff2002-03-121-0/+1
| | | | | | | | | | | | | | | | acquire shared locks on leafs. The stat() and open() calls have been changed to make use of this new functionality. Using shared locks in these cases is sufficient and can significantly reduce their latency if IO is pending to these vnodes. Also, this reduces the number of exclusive locks that are floating around in the system, which helps reduce the number of deadlocks that occur. A new kernel option "LOOKUP_SHARED" has been added. It defaults to off so this patch can be turned on for testing, and should eventually go away once it is proven to be stable. I have personally been running this patch for over a year now, so it is believed to be fully stable. Reviewed by: jake, obrien Approved by: jake
* Add commented out GEOM line to NOTESphk2002-03-111-0/+3
|
* Add GEOM to conf/files.phk2002-03-111-0/+11
|
* Add the GEOM option.phk2002-03-111-0/+1
|
* Add a driver for the mem and kmem devices, based off the i386 version.tmm2002-03-091-0/+1
|
* Enable DEVICE_POLLING in LINT now that it is safe to compile it there.luigi2002-03-091-2/+1
|
* Note that several of the recently documented clock-related kernel optionsrwatson2002-03-081-0/+3
| | | | | | are for debugging purposes only. Suggested by: bde
* Apply a bit more of the patch from conf/35674: document the variousrwatson2002-03-081-1/+6
| | | | | | | clock options in more detail. PR: conf/35674 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
* Apply part of the patch from conf/35674 to move the PFIL_HOOKS optionrwatson2002-03-081-2/+5
| | | | | | | to somewhere more useful, and improve documentation of it. PR: conf/35674 Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
* Synchronize NOTES with -STABLE LINT with respects to the placementrwatson2002-03-081-3/+9
| | | | | | | | and commenting of NETSMB, NETWMBCRYPTO, and SMBFS. In NOTES, they had all floated to the bottom of the file with the list of seemingly random and unclassified kernel options. This change moves them back up to the network protocol and file system areas, and also documents the dependencies.
* Add sys/dev/ufm.c.tanimura2002-03-051-0/+1
| | | | | Forgotten by: alfred Spotted by: LINT
* - Speedup 3DES by using assembly code for i386.ume2002-03-057-5/+25
| | | | | | | - Sync des/blowfish to more recent openssl. Obtained from: KAME/NetBSD MFC after: 2 weeks
* Add generalized power profile code.iwasaki2002-03-041-1/+0
| | | | | | | | | | | | | This makes other power-management system (APM for now) to be able to generate power profile change events (ie. AC-line status changes), and other kernel components, not only the ACPI components, can be notified the events. - move subroutines in acpi_powerprofile.c (removed) to kern/subr_power.c - call power_profile_set_state() also from APM driver when AC-line status changes - add call-back function for Crusoe LongRun controlling on power profile changes for a example
* Support for USB fm radio.alfred2002-03-042-0/+3
| | | | Submitted by: David Yeske <dyeske@yahoo.com>
* MFi386: revision 1.394.nyan2002-03-021-1/+1
|
* Use vnode_if.awk rather than vnode_if.plobrien2002-03-013-6/+8
|
* Tag istallion.c with nowerror (third party)peter2002-02-281-1/+1
|
* Tag if_ie.c, isp.c and isp_pci.c as nowerror (qualifier problems, and thirdpeter2002-02-271-3/+3
| | | | party code)
* Mark a few more broken pci drivers as nowerror.peter2002-02-271-6/+6
|
* Mark stallion.c as nowerror (known broken, this is a #warning)peter2002-02-272-2/+2
|
* Add gem and hme.tmm2002-02-271-0/+5
|
* Add the following functions/macros to support byte order conversions andtmm2002-02-272-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | device drivers for bus system with other endinesses than the CPU (using interfaces compatible to NetBSD): - bwap16() and bswap32(). These have optimized implementations on some architectures; for those that don't, there exist generic implementations. - macros to convert from a certain byte order to host byte order and vice versa, using a naming scheme like le16toh(), htole16(). These are implemented using the bswap functions. - stream bus space access functions, which do not perform a byte order conversion (while the normal access functions would if the bus endianess differs from the CPU endianess). htons(), htonl(), ntohs() and ntohl() are implemented using the new functions above for kernel usage. None of the above interfaces is currently exported to user land. Make use of the new functions in a few places where local implementations of the same functionality existed. Reviewed by: mike, bde Tested on alpha by: mike
* Back out all the pmap related stuff I've touched over the last few days.peter2002-02-272-2/+0
| | | | | | There is some unresolved badness that has been eluding me, particularly affecting uniprocessor kernels. Turning off PG_G helped (which is a bad sign) but didn't solve it entirely. Userland programs still crashed.
* Work-in-progress commit syncing up pmap cleanups that I have been workingpeter2002-02-252-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | on for a while: - fine grained TLB shootdown for SMP on i386 - ranged TLB shootdowns.. eg: specify a range of pages to shoot down with a single IPI, since the IPI is very expensive. Adjust some callers that used to trigger this inside tight loops to do a ranged shootdown at the end instead. - PG_G support for SMP on i386 (options ENABLE_PG_G) - defer PG_G activation till after we decide what we are going to do with PSE and the 4MB pages at the start of the kernel. This should solve some rumored strangeness about stale PG_G entries getting stuck underneath the 4MB pages. - add some instrumentation for the fine TLB shootdown - convert some asm instruction wrappers from functions to inlines. gcc seems to do a fair bit better with this. - [temporarily!] pessimize the tlb shootdown IPI handlers. I will fix this again shortly. This has been working fairly well for me for a while, but I have tweaked it again prior to commit since my last major testing round. The only outstanding problem that I know of is PG_G related, which is why there is an option for it (not on by default for SMP). I have seen a world speedups by a few percent (as much as 4 or 5% in one case) but I have *not* accurately measured this - I am a bit sceptical of these numbers.
* Turn on -Werror by default. This is is easily turned off, by either:peter2002-02-251-5/+5
| | | | | | | | | | | | | | - fix the warnings, they are there for a reason! - add -DNO_ERROR to your make(1) command. - add 'makeoptions NO_WERROR=true' to your kernel config. - add 'nowerror' to conf/files* that have warnings that should be fixed due to tracking 3rd party vendor code. - add 'nowerror' to conf/files* where the warning is false due to a compiler bug and fixing it with brute force would be too expensive. There are some very sloppy warnings in our kernel build, come on folks! 'make release' uses -DNO_WERROR intentionally.
* Add 'nowerror' to the vendor acpica code that spews out warnings.peter2002-02-251-31/+31
|
* Add PMAP_STATS option so pmap.c compiles.jake2002-02-231-0/+1
|
* Don't echo a comment during make depend.jake2002-02-231-3/+2
|
* Use make -V VARIABLE | xargs ... to pass argument lists to programluigi2002-02-221-5/+8
| | | | | | | | | | | | | so that this is safe even if VARIABLE is longer than kern.argmax. There is another instance of CFILES which might need the same treatment, and might be noticed when doing a "make links". The same has to be done in RELENG_4 (on some different file). Noticed-by: picobsd cross-compiling LINT Suggested-by: Alfred (bright@mu.org), des@freebsd.org MFC-after: 3 days
* Commit some infrastructure for turning on -Werror for kernel compiles.peter2002-02-207-10/+16
| | | | | | It doesn't actually do it yet though. This adds a flag to config so that we can exclude certain vendor files from this even when the rest of the kernel has it on. make -DNO_WERROR would also bypass all of it.
* NEWCARD support for xe.shiba2002-02-201-1/+3
| | | | Reviewed by: imp
* Correct path to pucdata.cjedgar2002-02-181-1/+1
| | | | Reviewed by: jhay
* Add a 'strvalid()' call to libkern. Given a character pointer, andrwatson2002-02-181-0/+1
| | | | | | | | | buffer length, determine if the pointer is to a valid string. Currently, the only check is whether a '\0' appears in the buffer. This is useful when pulling in a structure from userland that may contain one or more strings, and validity testing must be performed on elements of the structure. When copying normal string arguments, copyinstr() is expected to be used.
* Always build all modules for LINTphk2002-02-171-0/+3
|
* MFi386: revision 1.167nyan2002-02-171-0/+2
|
* MFi386: revision 1.392nyan2002-02-171-0/+3
|
* Add the puc (PCI "Universal" Communications) driver. The idea and some ofjhay2002-02-163-0/+16
| | | | | | | | | | | | | the structure definitions come from NetBSD to make it easier to share card definitions. The driver only acts as a shim between the pci bus and the sio driver. Later pci parallel ports could also be supported through this driver. Support for most single and multiport pci serial cards should be as simple as adding its definition to pucdata.c Tested with the following pci cards: Moxa Industio CP-114, 4 port RS-232,RS-422/485 Syba Tech Ltd. PCI-4S2P-550-ECP, 4 port RS-232 + 2 parallel ports Netmos NM9835 PCI-2S-550, 2 port RS-232
* Garbage-collect options ACPI_NO_ENABLE_ON_BOOT, AML_DEBUG, BLEED,bde2002-02-152-20/+0
| | | | | DEVICE_SYSCTLS, KEY, LOUTB, NFS_MUIDHASHSIZ, NFS_UIDHASHSIZ, PCI_QUIET and SIMPLELOCK_DEBUG.
* Garbage collect options AVM_A1_PCI, AVM_A1_PCMCIA, DEBUG_LINUX, DEV_APM,bde2002-02-154-55/+1
| | | | | GUS_DMA, GUS_DMA2, GUS_IRQ, OLTR_NO_BULLSEYE_MAC, OLTR_NO_HAWKEYE_MAC, OLTR_NO_TMS_MAC and PCIC_RESUME_RESET.
* Added undocumented options AAC_DEBUG, ACD_DEBUG, ACPI_MAX_THREADS,bde2002-02-151-0/+35
| | | | | | | | | | | | | | | | | | | | ACPI_NO_SEMAPHORES, ASR_MEASURE_PERFORMANCE, AST_DEBUG, ATAPI_DEBUG, ATA_DEBUG, BKTR_ALLOC_PAGES, BROOKTREE_ALLOC_PAGES, CAPABILITIES, COMPAT_SUNOS, CV_DEBUG, MAXFILES, METEOR_TEST_VIDEO, NDEVFSINO, NDEVFSOVERFLOW, NETGRAPH_BRIDGE, NETSMB, NETSMBCRYPTO, PFIL_HOOKS, SIMOS, SMBFS, VESA_DEBUG, VGA_DEBUG. Start using #! to comment out negative options and ## to comment out broken options. atapi-all.c: Fixed rotted bits that were hiding under ATAPI_DEBUG. atapi-cd.c: #include "opt_ata.h" so that ACD_DEBUG is actually visible. ata/atapi-tape.c #include "opt_ata.h" so that AST_DEBUG is actually visible.
* - Added support for receive in multiplepdeuskar2002-02-131-0/+1
| | | | | | | | | descriptors. This simplifies code for jumbo frames. - Cleaned up coding conventions to make code more unix-like. - Cleaned up code in if_em_fxhw.c and if_em_phy.c. Added relevant comments. MFC after: 1 week
* Add counter.c and sbus.c. Unify style.tmm2002-02-131-6/+8
|
OpenPOWER on IntegriCloud