summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for mdoc(7)NG.ru2000-12-272-14/+10
|
* Major bugfix and minor update. This should resolve the current issuesmsmith2000-12-279-338/+437
| | | | | | | | | | | | | | | | | | | | | | | | | with the driver locking up under load. - Restructure so that we use a static pool of commands/FIBs, rather than allocating them in clusters. The cluster allocation just made things more complicated, and allowed us to waste more memory in peak load situations. - Make queueing macros more like my other drivers. This adds queue stats for free. Add some debugging to take advantage of this. - Reimplement the periodic timeout scan. Kick the interrupt handler and the start routine every scan as well, just to be safe. Track busy commands properly. - Bring resource cleanup into line with resource allocation. We should now clean up correctly after a failed probe/unload/etc. - Try to start new commands when old ones are completed. We weren't doing this before, which could lead to deadlock when the controller was full. - Don't try to build a new command if we have found a deferred command. This could cause us to lose the deferred command. - Use diskerr() to report I/O errors. - Don't bail if the AdapterInfo structure is the wrong size. Some variation seems to be normal. We need to improve our handing of 2.x firmware sets. - Improve some comments in an attempt to try to make things clearer. - Restructure to avoid some warnings.
* change irq handler slightly, get rid of superflous messagescg2000-12-271-6/+4
|
* include tcp header files to get the prototype for tcp_seq_vs_sessassar2000-12-271-0/+2
|
* Make zalloc and zfree non-inline functions. This avoids having toassar2000-12-272-78/+77
| | | | | | | have the code calling these be compiled with the same setting for INVARIANTS and SMP. Reviewed by: dillon
* This implements a better launder limiting solution. There was a solutiondillon2000-12-2611-252/+304
| | | | | | | | | | | | | | | | | | | in 4.2-REL which I ripped out in -stable and -current when implementing the low-memory handling solution. However, maxlaunder turns out to be the saving grace in certain very heavily loaded systems (e.g. newsreader box). The new algorithm limits the number of pages laundered in the first pageout daemon pass. If that is not sufficient then suceessive will be run without any limit. Write I/O is now pipelined using two sysctls, vfs.lorunningspace and vfs.hirunningspace. This prevents excessive buffered writes in the disk queues which cause long (multi-second) delays for reads. It leads to more stable (less jerky) and generally faster I/O streaming to disk by allowing required read ops (e.g. for indirect blocks and such) to occur without interrupting the write stream, amoung other things. NOTE: eventually, filesystem write I/O pipelining needs to be done on a per-device basis. At the moment it is globalized.
* Add CDR progress ioctl.sos2000-12-261-0/+1
|
* Use M_ZERO flag on malloc when approbiate.sos2000-12-267-25/+16
|
* Update the burncd interface a bit, dont block the ATA channel onsos2000-12-263-48/+70
| | | | | blank & fixate commands and provide a progress interface for the blank command (for now)
* Use diskerr for printing disk hard/soft errors.sos2000-12-261-5/+7
|
* Add OZO8008 - Zoom (33.6k Modem).tanimura2000-12-262-0/+2
| | | | | PR: kern/23336 Submitted by: Paulo Menezes <root@samurai.dee.uc.pt>
* Minor newbus/style(9) cleanups.imp2000-12-266-87/+93
| | | | | | | | | | | o Move the ax88190 code to its own function. o Move all device_method_t, driver_t and DRIVER_MODULE definitions to the end of files. o Wrap a few lines > 80 characters. o Use the same devclass for all ed drivers. This allows machines with multiple types of cards to have their cards numbered correctly. Before, you could wind up with two ed0's. o Protect if_edvar.h from multiple includes because I was there.
* move parametric defines and structure definitions from .h to .ccg2000-12-252-12/+13
|
* indent debugging printfs, change a couple of messages slightlycg2000-12-251-19/+19
|
* update to return correct blocksize- these chips have a fixed irq rate, socg2000-12-251-0/+8
| | | | block size varies only with format and rate.
* Add ioctls to acpi_cmbat and acpi_acad. These use mike's acpi_register_ioctl().iwasaki2000-12-244-4/+130
| | | | Fix wrong AML method calling in acpi_cmbat.
* Disabled boot2 for the moment, because it needs aout tools.kato2000-12-241-1/+1
|
* Back out the modules `make obj' speedup.obrien2000-12-245-30/+30
| | | | | I cannot find a way to do this with the more esoteric source dir schemes I thought of.
* Update the "icmp_admin_prohib_like_rst" code to check the tcp-window andphk2000-12-246-22/+144
| | | | | | | to be configurable with respect to acting only in SYN or in all TCP states. PR: 23665 Submitted by: Jesper Skriver <jesper@skriver.dk>
* fairly substantial rewrite- seperate out play/record code, implementcg2000-12-241-183/+244
| | | | setblocksize, simplify resource allocation
* compensate for broken codecs that return 0xffff on unimplemented registerscg2000-12-241-9/+10
| | | | instead of 0.
* implement setblocksize properlycg2000-12-231-33/+25
|
* Protect proc.p_pptr and proc.p_children/p_sibling with thejake2000-12-2322-32/+218
| | | | | | | | proctree_lock. linprocfs not locked pending response from informal maintainer. Reviewed by: jhb, -smp@
* Make sure we have a non-null proc pointer before referring to fieldsmjacob2000-12-231-1/+1
| | | | off of it.
* fix a panic if the requested blocksize was greater than the data rate,cg2000-12-231-0/+2
| | | | resulting in a divide by 0.
* kill a warningcg2000-12-231-1/+1
|
* fix a typocg2000-12-231-1/+1
|
* add sys/dev/sound/pcm/buffer.c, lefo out of last commitcg2000-12-233-2/+3
|
* update code dealing with snd_dbuf objects to do so using a functional interfacecg2000-12-2324-400/+638
| | | | | | | | | | | | | | | modify chn_setblocksize() to pick a default soft-blocksize appropriate to the sample rate and format in use. it will aim for a power of two size small enough to generate block sizes of at most 20ms. it will also set the hard-blocksize taking into account rate/format conversions in use. update drivers to implement setblocksize correctly: updated, tested: sb16, emu10k1, maestro, solo updated, untested: ad1816, ess, mss, sb8, csa not updated: ds1, es137x, fm801, neomagic, t4dwave, via82c686 i lack hardware to test: ad1816, csa, fm801, neomagic others will be updated/tested in the next few days.
* *sigh* The `pecoff' module was added to all arches w/out testing a compileobrien2000-12-221-2/+2
| | | | on all arches. This fixes the Alpha kernel build.
* Probe generic i960 devices for the old AMI signature as well as the currentmsmith2000-12-222-5/+8
| | | | | | one, in order to support adapters with older firmware. Submitted by: "Prasanth S." <prasanths@ami.co.in>
* Add ACPI AC adaptor and ACPI Control Method Battery.takawata2000-12-227-3/+484
| | | | And install notify handler for thermal zone .
* Merged from Makefile.i386 revision 1.217.kato2000-12-221-2/+2
|
* Merged from Makefile.i386 revision 1.216.kato2000-12-221-6/+6
|
* Merged from files.i386 and options.i386 revisions 1.341 and 1.141,kato2000-12-222-1/+3
| | | | respectively.
* Use the canonical spelling for the path to sys.obrien2000-12-224-8/+8
|
* * Rename M_WAIT mbuf subsystem flag to M_TRYWAIT.bmilekic2000-12-2151-197/+198
| | | | | | | | | | | | | | | | | | This is because calls with M_WAIT (now M_TRYWAIT) may not wait forever when nothing is available for allocation, and may end up returning NULL. Hopefully we now communicate more of the right thing to developers and make it very clear that it's necessary to check whether calls with M_(TRY)WAIT also resulted in a failed allocation. M_TRYWAIT basically means "try harder, block if necessary, but don't necessarily wait forever." The time spent blocking is tunable with the kern.ipc.mbuf_wait sysctl. M_WAIT is now deprecated but still defined for the next little while. * Fix a typo in a comment in mbuf.h * Fix some code that was actually passing the mbuf subsystem's M_WAIT to malloc(). Made it pass M_WAITOK instead. If we were ever to redefine the value of the M_WAIT flag, this could have became a big problem.
* Greatly speed up the modules `make obj' phase.obrien2000-12-212-12/+12
|
* Greatly speed up the module `depend' phase.obrien2000-12-212-12/+12
|
* Add pecoff directory.takawata2000-12-211-1/+1
| | | | Submitted by:nyan
* Re-Enable OSD_PRIORITY_GPE. Now 20001215 has been commited.takawata2000-12-211-2/+0
|
* Resolve conflicts from the ACPI CA 20001215 vendor import.msmith2000-12-2111-67/+61
|
* This commit was generated by cvs2svn to compensate for changes in r70243,msmith2000-12-21256-1082/+1182
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Update to the Intel 20001215 ACPI CA snapshot.msmith2000-12-21267-1149/+1243
| |
* | A last minute brucification resulted in syntax errors in the previous commit.phk2000-12-201-4/+4
| |
* | Replace logwakeup() with "int msgbuftrigger". There is littlephk2000-12-205-66/+115
| | | | | | | | | | | | | | | | | | | | | | point in calling a function just to set a flag. Keep better track of the syslog FAC/PRI code and try to DTRT if they mingle. Log all writes to /dev/console to syslog with <console.info> priority. The formatting is not preserved, there is no robust, way of doing it. (Ideas with patches welcome).
* | Disable my previous committed code for a moment.iwasaki2000-12-201-0/+2
| | | | | | | | | | Note to myself: this needs to be enabled again when newer version of ACPI is imported.
* | Add task priority definition for OSD_PRIORITY_GPE in AcpiOsQueueForExecution().iwasaki2000-12-201-0/+3
| | | | | | | | This is needed to next ACPICA import.
* | Fix my previous commit. Remove ed_get_Linksys() function prototypes.toshi2000-12-201-2/+0
| |
* | Change priority of procedure queueing.takawata2000-12-201-2/+2
| | | | | | | | This is needed to next ACPICA import.
OpenPOWER on IntegriCloud