summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* mdoc(7) police: simplify construct.ru2000-12-211-4/+1
|
* 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
| |
* | If the utmp login time is greater than the tty atime, use it to calculatebrian2000-12-212-2/+14
| | | | | | | | | | | | | | | | | | the idle time instead of the atime. This makes entries for people that have logged in but done nothing else show up correctly. Reviewed by: markk@knigma.org
* | Add commented out entry showing use of console.info feature.phk2000-12-201-0/+2
| |
* | 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.
* | Join tree entries for Linksys PCMPC100 series as follows:toshi2000-12-201-9/+2
| | | | | | | | | | | | "Linksys" "EtherFast 10/100 PC Card (PCMPC100)" "Linksys" "Etherfast 10/100 PC Card (PCMPC100 V2)" "Linksys" "EtherFast 10/100 PC Card (PCMPC100 V3)"
* | Fix my previous commit. Remove ed_get_Linksys() function prototypes.toshi2000-12-201-2/+0
| |
* | When retrieving the time of day in nanosleep(), store it in thedeischen2000-12-203-12/+36
| | | | | | | | | | | | | | | | global time of day. This costs us nothing, but is a bit of a hack to work around a process blocking and not having the time updated by an ITIMER_PROF signal. PR: 23679
* | Change priority of procedure queueing.takawata2000-12-201-2/+2
| | | | | | | | This is needed to next ACPICA import.
* | Enable check for pending signals after calling a signal handler.deischen2000-12-203-0/+9
| | | | | | | | | | | | | | Restoration of a threads signal mask after invocation of a signal handler may allow pending signals to become deliverable. PR: 23647
* | Add PCIR_CAP_PTR as a define for the location of the capabilitygibbs2000-12-201-0/+1
| | | | | | | | pointer of type 0 devices. This is required by my last aic7xxx change.
* | Prepare for mdoc(7)NG.ru2000-12-206-57/+59
| |
* | Fix hard sentence break introduced in previous commit.sheldonh2000-12-201-2/+2
| |
* | Add PECOFF (WIN32 Execution file format) support.takawata2000-12-208-3/+868
| | | | | | | | | | | | | | | | | | To use it, some dll is needed. And currently, the dll is only for NetBSD. So one more kernel module is needed. For more infomation, http://chiharu.haun.org/peace/ . Reviewed by: bp
* | Re-enable the lnc driver in GENERIC.paul2000-12-202-4/+4
| |
* | Re-commit revision 1.32, which grog incorrectly backed out in revision 1.33.des2000-12-201-4/+6
| |
* | Initialise rcmdlen.n_hibma2000-12-201-0/+1
| | | | | | | | Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
* | Display pathname of item being rm'ed.obrien2000-12-201-3/+3
| | | | | | | | Submitted by: Peter Pentchev <roam@orbitel.bg>
* | fix a debugging leftover (min speed=48khz)cg2000-12-201-1/+1
| |
* | revive_block: Don't go beyond the end of the stripe when revivinggrog2000-12-201-24/+8
| | | | | | | | | | | | | | | | | | | | | | | | striped plexes. Submitted by: des Don't lock buffers before calls to sdio, sdio does it by itself. Submitted by: tegge parityops: Use correct casts when returning error information.
* | build_rq_buffer: Note which buffer headers we lock.grog2000-12-201-0/+9
| | | | | | | | | | | | sdio: Unlock the buffer if we fail. Submitted by: tegge
* | Rearrange #includes to make more sense. This is still not the reformgrog2000-12-201-8/+10
| | | | | | | | that bde is waiting to see, but at least it works.
* | Rename detached plexes and subdisks correctly (off by one error)grog2000-12-201-6/+16
| | | | | | | | Submitted by: Terry Glanfield <Terry.Glanfield@program-products.co.uk>
* | open_drive: Add support for more than 32 devices of a particular kind.grog2000-12-201-6/+11
| | | | | | | | | | | | | | | | | | | | | | | | Requested by: Bernd Walter <ticso@cicely8.cicely.de> Cor Bosman <cor@xs4all.net> Kai Storbeck <kai@xs4all.net> Joe Greco <jgreco@ns.sol.net> Add support for Compaq SMART-2 RAID (idad) as storage device for Vinum subdisks. Reported by: Aaron Hill <hillaa@hotmail.com>
* | Forced commit. Grrr. The previous commit contained an incorrect loggrog2000-12-200-0/+0
| | | | | | | | | | | | | | | | | | | | | | message. freerq: When freeing request elements, first unlock them if they're locked. sdio_done: Unlock the buffer. Submitted by: tegge
* | give_plex_to_volume: Recalculate volume size after attaching.grog2000-12-202-5/+14
| | | | | | | | Cosmetics.
* | Resolve RAW dependency violation between tbit and adds.marcel2000-12-202-0/+2
| |
* | Add flag XFR_BUFLOCKED to identify buffers which have been locked.grog2000-12-201-1/+2
| | | | | | | | | | | | Part of fix to ensure that we unlock buffers we lock. In principle submitted by: tegge
* | Cosmetics.grog2000-12-201-38/+42
| | | | | | | | | | | | | | | | Correct location of history file. Change references from /dev/wd to /dev/ad. Use more appropriate defaults for stripe size in examples.
* | roughlength: Use correct format strings.grog2000-12-201-4/+4
| |
* | Correct some comments.grog2000-12-201-3/+6
| | | | | | | | | | | | vinum_attach: Get correct names (were being overwritten). Submitted by: Terry Glanfield <Terry.Glanfield@program-products.co.uk>
* | In send_data(), use sendfile() instead of the mmap() algorithm.dan2000-12-201-20/+22
| |
* | ahc_eisa.c:gibbs2000-12-2013-222/+710
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ahc_pci.c: Add detach support. Make use of soft allocated on our behalf by newbus. For PCI devices, disable the mapping type we aren't using for extra protection from rogue code. aic7xxx_93cx6.c: aic7xxx_93cx6.h: Sync perforce IDs. aic7xxx_freebsd.c: Capture the eventhandle returned by EVENTHANDER_REGISTER so we can kill the handler off during detach. Use AHC_* constants instead of hard coded numbers in a few more places. Test PPR option state when deciding to "really" negotiate when the CAM_NEGOTIATE flag is passed in a CCB. Make use of core "ahc_pause_and_flushwork" routine in our timeout handler rather than re-inventing this code. Cleanup all of our resources (really!) in ahc_platform_free(). We should be all set to become a module now. Implement the core ahc_detach() routine shared by all of the FreeBSD front-ends. aic7xxx_freebsd.h: Softc storage for our event handler. Null implementation for the ahc_platform_flushwork() OSM callback. FreeBSD doesn't need this as XPT callbacks are safe from all contexts and are done directly in ahc_done(). aic7xxx_inline.h: Implement new lazy interrupt scheme. To avoid an extra PCI bus read, we first check our completion queues to see if any work has completed. If work is available, we assume that this is the source of the interrupt and skip reading INTSTAT. Any remaining interrupt status will be cleared by a second call to the interrupt handler should the interrupt line still be asserted. This drops the interrupt handler down to a single PCI bus read in the common case of I/O completion. This is the same overhead as in the not so distant past, but the extra sanity of perforning a PCI read after clearing the command complete interrupt and before running the completion queue to avoid missing command complete interrupts added a cycle. aic7xxx.c: During initialization, be sure to initialize all scratch ram locations before they are read to avoid parity errors. In this case, we use a new function, ahc_unbusy_tcl() to initialize the scratch ram busy target table. Replace instances of ahc_index_busy_tcl() used to unbusy a tcl without looking at the old value with ahc_unbusy_tcl(). Modify ahc_sent_msg so that it can find single byte messages. ahc_sent_msg is now used to determine if a transfer negotiation attempt resulted in a bus free. Be more careful in filtering out only the SCSI interrupts of interest in ahc_handle_scsiint. Rearrange interrupt clearing code to ensure that at least one PCI transaction occurrs after hitting CLRSINT1 and writting to CLRINT. CLRSINT1 writes take a bit to take effect, and the re-arrangement provides sufficient delay to ensure the write to CLRINT is effective. The old code might report a spurious interrupt on some "fast" chipsets. export ahc-update_target_msg_request for use by OSM code. If a target does not respond to our ATN request, clear it once we move to a non-message phase. This avoids sending a MSG_NOOP in some later message out phase. Use max lun and max target constants instead of hard-coded values. Use softc storage built into our device_t under FreeBSD. Fix a bug in ahc_free() that caused us to delete resources that were not allocated. Clean up any tstate/lstate info in ahc_free(). Clear the powerdown state in ahc_reset() so that registers can be accessed. Add a preliminary function for pausing the chip and processing any posted work. Add a preliminary suspend and resume functions. aic7xxx.h: Limit the number of supported luns to 64. We don't support information unit transfers, so this is the maximum that makes sense for these chips. Add a new flag AHC_ALL_INTERRUPTS that forces the processing of all interrupt state in a single invokation of ahc_intr(). When the flag is not set, we use the lazy interrupt handling scheme. Add data structures to store controller state while we are suspended. Use constants instead of hard coded values where appropriate. Correct some harmless "unsigned/signed" conflicts. aic7xxx.seq: Only perform the SCSIBUSL fix on ULTRA2 or newer controllers. Older controllers seem to be confused by this. In target mode, ignore PHASEMIS during data phases. This bit seems to be flakey on U160 controllers acting in target mode. aic7xxx_pci.c: Add support for the 29160C CPCI adapter. Add definitions for subvendor ID information available for devices with the "9005" vendor id. We currently use this information to determine if a multi-function device doesn't have the second channel hooked up on a board. Add rudimentary power mode code so we can put the controller into the D0 state. In the future this will be an OSM callback so that in FreeBSD we don't duplicate functionality provided by the PCI code. The powerstate code was added after I'd completed my regression tests on this code. Only capture "left over BIOS state" if the POWRDN setting is not set in HCNTRL. In target mode, don't bother sending incremental CRC data.
* | o Add an example for a large file system.imp2000-12-191-7/+9
| | | | | | | | | | | | | | o Remove bug about boot blocks hating non-8k file systems. This hasn't been the case for a long time. Not Objected to by: hackers, doc
* | Fix the PR. Getting a dma channel equal to 0 remains a problem though.nsouch2000-12-192-2/+2
| | | | | | | | PR: i386/22568
* | Document IDE on NoName a bit better.wilko2000-12-191-1/+6
| | | | | | | | Suggested by: the Dutch FreeBSD Users Group (NLFUG)
* | Various fixes to make leased line operation more robust. On lcp_up, startjhay2000-12-191-49/+100
| | | | | | | | | | | | | | | | | | to negotiate from scratch. Make leased lines survive being put into loopback mode. Bits and pieces and ideas taken from PRs 11238 and 21771. Make it a module so that it can be kldloaded. Whitespace cleanup. (Can be ignored with "cvs diff -b".) PR: 11238 and 21771 (bits and pieces)
* | Prepare for mdoc(7)NG.ru2000-12-1956-229/+290
| |
* | Prepare for mdoc(7)NG.ru2000-12-195-7/+12
| |
* | Fix testing reboot howto flags in acpi_shutdown_final().iwasaki2000-12-191-1/+1
| | | | | | | | | | | | | | This sould make the system power-off correctly where the howto had more bits set than RB_POWEROFF, e.g. RB_NOSYNC. Submitted by: Peter Pentchev <roam@orbitel.bg>
OpenPOWER on IntegriCloud