summaryrefslogtreecommitdiffstats
path: root/sys/conf
Commit message (Collapse)AuthorAgeFilesLines
* Note that the umass device requires scbus and dakris2001-07-221-1/+1
|
* revert previous accidental commitassar2001-07-221-1/+5
|
* get rid of some printf and pointer type warningsassar2001-07-221-5/+1
|
* Put a knob in the kernel config files to tweak the user max stack size.pirzyk2001-07-202-2/+5
| | | | | | PR: kern/28925 Reviewed by: bakul@bitblocks.com and tlambert2@mindspring.com on -arch. MFC after: 1 week
* gif isn't a count device anymore so don't put a number after it.brooks2001-07-201-1/+1
| | | | Pointed out by: brian
* Add ACPI S2-S4BIOS Suspend/Resume code.takawata2001-07-201-0/+7
| | | | | | Some problems may remain. Reviewed by:iwasaki
* Make sure that installing a module complains if the target modulesroam2001-07-181-1/+1
| | | | | | | | | | | | | | | directory does not exist, instead of creating/overwriting a file with the name of the (expected) directory. Yes, this deviates a bit from nearly all other install targets in the tree, but let's face it, removing a modules directory is not all that uncommon a mistake, and finding a file with the contents of the last module installed is a baaad surprise at boot time.. PR: 26317 Submitted by: "T. William Wells" <bill@twwells.com> (the PR) Gregory Bond <gnb@itga.com.au> (the actual patch) Reviewed by: silence on -arch and -audit for the last 10 days MFC after: 2 weeks
* Move the hints gunk to a seperate file. It isn't really part of thepeter2001-07-141-0/+1
| | | | newbus structure (no more than subr_rman.c is anyway).
* Merged from sys/conf/options.i386 revision 1.150.nyan2001-07-141-0/+1
|
* Catch up with NetBSD/pc98.non2001-07-141-0/+4
| | | | | | | | | | | | | | | | | | | | | | | o Much cleanly separate NetBSD(XS) / FreeBSD(CAM) codes. o Improve tagged queing support (full QTAG). o Improve quirk support. o Improve parity error retry. o Impliment wide negotheation. o Cmd link support. o Add copyright of CAM part. o Change for CAM_NEW_TRAN_CODE. o Work around for buggy KME UJDCD450. o stg: add disconnet condition. o nsp: use suspend I/O. and more. I thank Honda-san. conf/options.pc98: add CT_USE_RELOCATE_OFFSET and CT_BUS_WEIGHT dev/{ct,ncv,nsp,stg}/*_{pccard,isa}.c: add splcam() before calling attach/detach functions. Tested by: bsd-nomads Obtained from: NetBSD/pc98
* Merge with latest version of the Mylex 6+ driver.msmith2001-07-141-2/+0
| | | | | | | | | | | | | | - All sources are built in a single object, reducing namespace pollution. - Kill the ready queue, and handle a busy response to mly_start in callers rather than deferring the command. - Improve our interaction with CAM: - Don't advertise physical channels as SCSI busses by default. - use the SIM queue freeze capability rather than queueing CDBs internally. - force bus reprobe at module load time. - Clean up more resources in mly_free. - Tidy up debugging levels. - Tidy up handling of events (mostly just code cleanliness). - Use explanatory macros for operations on bus/target/channel numbers.
* `pcn' supports AMD Am79C97x cards, not Am79C79x cards.dd2001-07-131-1/+1
| | | | | PR: 28946 Submitted by: Ryuichiro Imura <imura@ryu16.org>
* Activate SSE/SIMD. This is the extra context switching support thatpeter2001-07-122-0/+4
| | | | | | | | | | | | | | | we are required to do if we let user processes use the extra 128 bit registers etc. This is the base part of the diff I got from: http://www.issei.org/issei/FreeBSD/sse.html I believe this is by: Mr. SUZUKI Issei <issei@issei.org> SMP support apparently by: Takekazu KATO <kato@chino.it.okayama-u.ac.jp> Test code by: NAKAMURA Kazushi <kaz@kobe1995.net>, see http://kobe1995.net/~kaz/FreeBSD/SSE.en.html I have fixed a couple of style(9) deviations. I have some followup commits to fix a couple of non-style things.
* Another NatSemi gigE card; the Netgear GA622Twpaul2001-07-111-1/+1
|
* Document additional cards supported by the nge driver: LinkSys EG1032wpaul2001-07-111-1/+2
| | | | | | anf EG1064, and the Surecom EP-320G-TX. Also fix typo in nge.4 man page: Addrton -> Addtron.
* Bring in dirhash, a simple hash-based lookup optimisation for largeiedowse2001-07-103-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | directories. When enabled via "options UFS_DIRHASH", in-core hash arrays are maintained for large directories. These allow all directory operations to take place quickly instead of requiring long linear searches. For now anyway, dirhash is not enabled by default. The in-core hash arrays have a memory requirement that is approximately half the size of the size of the on-disk directory file. A number of new sysctl variables allow control over which directories get hashed and over the maximum amount of memory that dirhash will use: vfs.ufs.dirhash_minsize The minimum on-disk directory size for which hashing should be used. The default is 2560 (2.5k). vfs.ufs.dirhash_maxmem The system-wide maximum total memory to be used by dirhash data structures. The default is 2097152 (2MB). The current amount of memory being used by dirhash is visible through the read-only sysctl variable vfs.ufs.dirhash_maxmem. Finally, some extra sanity checks that are enabled by default, but which may have an impact on performance, can be disabled by setting vfs.ufs.dirhash_docheck to 0. Discussed on: -fs, -hackers
* Fill paragraphs after previous commit.dd2001-07-081-13/+14
|
* Note that options should be listed in NOTES, not LINT, although LINTdd2001-07-081-3/+3
| | | | | is generated from NOTES. Also correct a bogus path; <machine>/conf/options.<machine> doesn't exist.
* Nuke the ACPI APIC driver. The ACPI CA infrastructure it depended onmsmith2001-07-071-1/+0
| | | | | is gone, and it's not coming back, and the whole driver needed to be rethrought to deal with a major chicken-and-egg consideration.
* Kill the old processor driver; the ACPI CA functions it depended onmsmith2001-07-071-1/+1
| | | | | are not coming back any time soon. Implement a new 'acpi_cpu' driver with support for CPU throttling and power policies.
* Add acpi_powerprofile.cmsmith2001-07-071-0/+1
|
* Add a new helper function for finding resources in resource buffers.msmith2001-07-051-0/+1
| | | | Move the ACPI generic battery code into a new file.
* Move vm_page_zero_idle() from machine-dependant sections to adillon2001-07-051-0/+1
| | | | | machine-independant source file, vm/vm_zeroidle.c. It was exactly the same for all platforms and updating them all was getting annoying.
* Reorg vm_page.c into vm_page.c, vm_pageq.c, and vm_contig.c (for contigmalloc).dillon2001-07-041-0/+2
| | | | | | | | | | | Also removed some spl's and added some VM mutexes, but they are not actually used yet, so this commit does not really make any operational changes to the system. vm_page.c relates to vm_page_t manipulation, including high level deactivation, activation, etc... vm_pageq.c relates to finding free pages and aquiring exclusive access to a page queue (exclusivity part not yet implemented). And the world still builds... :-)
* - Don't overwrite inb, inw and outw.nyan2001-07-043-2/+2
| | | | | | | | - Move the lance_probe function to if_lnc.c. - Support C-NET(98)S again. Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata) and nyan No response from: Paul Richards
* Add a couple of major numbers for ICP Vortex (who were acquired by Intel,msmith2001-07-021-0/+2
| | | | thus taking over the SRC controllers).
* gif(4) and stf(4) modernization:brooks2001-07-021-2/+2
| | | | | | | | | | | - Remove gif dependencies from stf. - Make gif and stf into modules - Make gif cloneable. PR: kern/27983 Reviewed by: ru, ume Obtained from: NetBSD MFC after: 1 week
* A slightly more complete change to timeouts:mjacob2001-07-022-0/+5
| | | | | | | | | | 1. Add SA_IO_TIMEOUT as an option (4 minutes default) to cover reads, writes, wfm, test unit ready. 2. Add internal SCSIOP_TIMEOUT (e.g., for mode sense) at 1 minute. This should not require an option, but is cleaner to parameterize. MFC after: 1 week
* Move wl driver to dev/wl. Repo copied to dev/wl, the old copiesimp2001-07-023-2/+1
| | | | | | | | removed and a minimal number of changes to make it compile in the new location. # I have a fully converted on a disk that may be crashed. If it is # crashed, I'll redo the work.
* Bump config version.imp2001-07-025-5/+5
|
* intel ich/ich2 driver - this needs some work but is functional enough forcg2001-07-011-0/+2
| | | | | | | | | | | | | | | the impatient. Hardware... Provided by: ps Lost by: <censored> Found by: <censored> Not delivered by: Ashley Penney <ashp@unloved.org> Retrieved by: greid, Andrew McKay <andy@openirc.co.uk> Delivered by: Andrew McKay <andy@openirc.co.uk> PR: kern/25507 Submitted by: Katsurajima Naoto <raven@katsurajima.seya.yokohama.jp>
* Move kernel compile directory from sys/compile/FOO toimp2001-06-305-5/+5
| | | | | | | sys/compile/${MACHINE}/FOO. Reviewed by: arch, obrien, peter and the USENIX terminal room secret kernel cabal
* Move ast() and userret() to sys/kern/subr_trap.c now that they are MI.jhb2001-06-291-0/+1
|
* Add acpi_powerres.c to fix the acpi build.jhb2001-06-281-0/+1
| | | | Pointy-hat to: msmith
* Remove dgmbrian2001-06-273-11/+3
|
* Spell digi rightbrian2001-06-271-3/+3
|
* Add -msoft-float to COPTS to stop GCC attempting to be "smart" and usingbenno2001-06-272-1/+7
| | | | floating point registers for various optimisation tweaks.
* Add CAM_NEW_TRAN_CODE as an option (to be included in opt_cam.h).mjacob2001-06-241-0/+3
|
* Merged from sys/conf/files.i386 revisions 1.362 and 1.363.kato2001-06-231-5/+2
|
* Introduce numerous SMP friendly changes to the mbuf allocator. Namely,bmilekic2001-06-222-10/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | introduce a modified allocation mechanism for mbufs and mbuf clusters; one which can scale under SMP and which offers the possibility of resource reclamation to be implemented in the future. Notable advantages: o Reduce contention for SMP by offering per-CPU pools and locks. o Better use of data cache due to per-CPU pools. o Much less code cache pollution due to excessively large allocation macros. o Framework for `grouping' objects from same page together so as to be able to possibly free wired-down pages back to the system if they are no longer needed by the network stacks. Additional things changed with this addition: - Moved some mbuf specific declarations and initializations from sys/conf/param.c into mbuf-specific code where they belong. - m_getclr() has been renamed to m_get_clrd() because the old name is really confusing. m_getclr() HAS been preserved though and is defined to the new name. No tree sweep has been done "to change the interface," as the old name will continue to be supported and is not depracated. The change was merely done because m_getclr() sounds too much like "m_get a cluster." - TEMPORARILY disabled mbtypes statistics displaying in netstat(1) and systat(1) (see TODO below). - Fixed systat(1) to display number of "free mbufs" based on new per-CPU stat structures. - Fixed netstat(1) to display new per-CPU stats based on sysctl-exported per-CPU stat structures. All infos are fetched via sysctl. TODO (in order of priority): - Re-enable mbtypes statistics in both netstat(1) and systat(1) after introducing an SMP friendly way to collect the mbtypes stats under the already introduced per-CPU locks (i.e. hopefully don't use atomic() - it seems too costly for a mere stat update, especially when other locks are already present). - Optionally have systat(1) display not only "total free mbufs" but also "total free mbufs per CPU pool." - Fix minor length-fetching issues in netstat(1) related to recently re-enabled option to read mbuf stats from a core file. - Move reference counters at least for mbuf clusters into an unused portion of the cluster itself, to save space and need to allocate a counter. - Look into introducing resource freeing possibly from a kproc. Reviewed by (in parts): jlemon, jake, silby, terry Tested by: jlemon (Intel & Alpha), mjacob (Intel & Alpha) Preliminary performance measurements: jlemon (and me, obviously) URL: http://people.freebsd.org/~bmilekic/mb_alloc/
* Don't set CONSPEED to the default and deobfuscate the comment.dd2001-06-211-1/+2
| | | | | PR: 28296 Submitted by: bde, Giorgos Keramidas <keramida@ceid.upatras.gr>
* Actually document TCPDEBUG.wollman2001-06-191-1/+3
|
* Fix punctuation in comment.wollman2001-06-191-2/+2
|
* The final commit for the first phase of PowerPC support.benno2001-06-174-44/+114
| | | | | | This adds the config stuff needed to build kernels. Reviewed by: obrien
* With this commit, I hereby pronounce gensetdefs past its use-by date.peter2001-06-136-92/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Replace the a.out emulation of 'struct linker_set' with something a little more flexible. <sys/linker_set.h> now provides macros for accessing elements and completely hides the implementation. The linker_set.h macros have been on the back burner in various forms since 1998 and has ideas and code from Mike Smith (SET_FOREACH()), John Polstra (ELF clue) and myself (cleaned up API and the conversion of the rest of the kernel to use it). The macros declare a strongly typed set. They return elements with the type that you declare the set with, rather than a generic void *. For ELF, we use the magic ld symbols (__start_<setname> and __stop_<setname>). Thanks to Richard Henderson <rth@redhat.com> for the trick about how to force ld to provide them for kld's. For a.out, we use the old linker_set struct. NOTE: the item lists are no longer null terminated. This is why the code impact is high in certain areas. The runtime linker has a new method to find the linker set boundaries depending on which backend format is in use. linker sets are still module/kld unfriendly and should never be used for anything that may be modular one day. Reviewed by: eivind
* Hints overhaul:peter2001-06-127-15/+15
| | | | | | | | | - Replace some very poorly thought out API hacks that should have been fixed a long while ago. - Provide some much more flexible search functions (resource_find_*()) - Use strings for storage instead of an outgrowth of the rather inconvenient temporary ioconf table from config(). We already had a fallback to using strings before malloc/vm was running anyway.
* Move the -I../../../include or -I/usr/include to the last entry on thepeter2001-06-125-28/+33
| | | | | cc arguments. Otherwise ipfilter's bogus #include lines will compile reference /usr/include/netinet/ip_frag.h etc.
* Sync with recent KAME.ume2001-06-111-8/+5
| | | | | | | | | | | | | | | | | | This work was based on kame-20010528-freebsd43-snap.tgz and some critical problem after the snap was out were fixed. There are many many changes since last KAME merge. TODO: - The definitions of SADB_* in sys/net/pfkeyv2.h are still different from RFC2407/IANA assignment because of binary compatibility issue. It should be fixed under 5-CURRENT. - ip6po_m member of struct ip6_pktopts is no longer used. But, it is still there because of binary compatibility issue. It should be removed under 5-CURRENT. Reviewed by: itojun Obtained from: KAME MFC after: 3 weeks
* Add PSEUDOFS, and note that LINPROCFS depends on it.des2001-06-111-1/+3
|
* Add pseudofs and the new linprocfs here.des2001-06-111-0/+5
|
OpenPOWER on IntegriCloud