summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* Fix dependencies between kernel options:yokota2001-07-105-17/+26
| | | | | | | | | | - When both SC_PIXEL_MODE and SC_NO_FONT_LOADING are defined, quietly drop SC_NO_FONT_LOADING, because the pixel(raster) console requires font. - When SC_NO_FONT_LOADING is defined, force SC_ALT_MOUSE_IMAGE. Without font, the arrow-shaped mouse cursor cannot be drawn. - Fiddle and simplify some internal macros. MFC after: 2 weeks
* mdoc(7) police: removed HISTORY info from the .Os call.ru2001-07-101-1/+1
|
* Added #include <sys/proc.h>nyan2001-07-102-0/+2
| | | | Submitted by: Kaho Toshikazu <kaho@elam.kais.kyoto-u.ac.jp>
* Use INTR_TYPE_AV rather than INTR_TYPE_MISC for the interrupt forimp2001-07-101-1/+1
| | | | pci interrupts for the bridge.
* Somehow I missed this. Use INTR_TYPE_AV (high priority) instead ofpeter2001-07-091-1/+1
| | | | INTR_TYPE_TTY (lowest priority).
* Whoops; we get an ACPI_OBJECT back from evaluating a method, notmsmith2001-07-091-8/+6
| | | | | | an ACPI_OPERAND_OBJECT. Fix this so that the power resource type can be properly checked, and we can get the system level and resource order.
* Log when the user is turning debugging on/off.joerg2001-07-092-10/+18
| | | | | | | Also sanitize the TRACE* macros a bit so they syntactically behave like single C statements (even inside in `if' statement). Submitted by: des
* Hmpf, remove two variables that got unused by rev 1.214.joerg2001-07-092-4/+2
|
* Ouch, calculate correctly. With 300 rpm and 25 retries, it's 5 secondsjoerg2001-07-092-2/+2
| | | | till timeout.
* Remove parts of rev 1.211 again: do not delete our children iff theyjoerg2001-07-092-14/+0
| | | | | | haven't been probed successfully. It's a known bug that ISA hints processing instantiates those devices, and prematurely killing them has other unwanted side-effects.
* As des' example shows us, DMA overruns could happen in a situationjoerg2001-07-093-18/+75
| | | | | | | | where they will never succeed. Add a stop-gap measure that will at least eventually timeout the operation instead of retrying it indefinately. MFC after: 1 month
* Add SYSCTL ints for default normal I/O timeout && retry counts.mjacob2001-07-091-4/+20
| | | | | | | | | | This is useful if you want to dynamically move into a Fibre Channel or Multi-initiator environment that happens to be particularly noisy and ugly that requires a lot of retries (with shorter I/O timeouts) for commands destried by LIPs or Bus Resets. Reviewed by: deafening silence on audit && scsi on the retry counts MFC after: 2 weeks
* Constify the fstype argument to vfs_mount(). This eliminates at least onedes2001-07-093-4/+4
| | | | "call discards qualifier" warning (in sys/compat/linux/linux_file.c).
* Don't share sig handlers after an execguido2001-07-091-1/+23
| | | | Reviewed by: Alfred Perlstein
* Get rid of useless bcopy (the next statement was equivalent)guido2001-07-091-2/+0
|
* Apply patch supplied by Jonathan Chen: use the correct arguments towpaul2001-07-0919-36/+36
| | | | | pci_enable_io(). We need to use SYS_RES_IOPORT/SYS_RES_MEMORY instead of PCIM_CMD_PORTEN/PCIM_CMD_MEMEN.
* Note that spls are noopsimp2001-07-091-0/+2
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* Fix missing newline and terminator at the end of the vm.zone sysctl.des2001-07-091-2/+1
|
* Another large patchset from Bruce.joerg2001-07-082-316/+226
| | | | | | | | | | | | | | | Despite of a few cosmetic things like adding ``irritating silly parentheses'' around all return values, this mainly improves FDC reset handling by no longer gratuitously resetting the FDC all the time (which causes it to lose the notion of the current track) but only in case of errors, and it sanitizes the block and offset calculations in fdstrategy() and fdstate(). Some additional cleanup added by me, in particular the large switch in fdstate() now always uses return to break out, and no branch falls off the end of the switch statement anymore. Per Bruce's suggestion, removed M_NOWAIT from the malloc()s to simplify things. Submitted by: bde (mostly)
* soopt_mcopyout() frees mbuf if error occurs, and DOES NOT free it if it isume2001-07-081-2/+6
| | | | | | | | successful. This part was lacked during merge. Obtained from: KAME MFC after: 1 week
* Do not set the MODE_1000 bit unless we actually have a gigabit link.wpaul2001-07-081-1/+9
| | | | | | | | | | Previously, I had the MODE_1000 bit in the global config register set unconditionally, which was wrong: we have to turn it off if we have a 10/100 link. This is now handled in the nge_miibus_statchg() routine. Discovered by: Nathan Binkert <binkertn@eecs.umich.edu> (Note: this commit is being done from JFK airport. :P )
* Small whitespace fix.julian2001-07-081-2/+2
| | | | BDE'd by: BDE
* A set of changes to reduce the number of include files the kerneljulian2001-07-0813-13/+19
| | | | | | takes from /usr/include. I cannot check them on alpha.. (will try beast) Briefly looked at by: Warner Losh <imp@harmony.village.org>
* turn on the null-modem device.julian2001-07-081-1/+1
| | | | (I've been using it with vmware for over a year now.)
* Temporary feature: Runtime tuneable tcp initial sequence numbersilby2001-07-088-6/+77
| | | | | | | | | | | | | | | | | | generation scheme. Users may now select between the currently used OpenBSD algorithm and the older random positive increment method. While the OpenBSD algorithm is more secure, it also breaks TIME_WAIT handling; this is causing trouble for an increasing number of folks. To switch between generation schemes, one sets the sysctl net.inet.tcp.tcp_seq_genscheme. 0 = random positive increments, 1 = the OpenBSD algorithm. 1 is still the default. Once a secure _and_ compatible algorithm is implemented, this sysctl will be removed. Reviewed by: jlemon Tested by: numerous subscribers of -net
* 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.
* Ha! This time, I remembered the ACPI module. Update the sources listmsmith2001-07-072-8/+8
| | | | to reflect recent changes in the code.
* Nuke the ACPI APIC driver. The ACPI CA infrastructure it depended onmsmith2001-07-071-164/+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.
* 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.
* The m_free call in the ip6_fw_ctl_ptr == NULL case apparentlyume2001-07-071-2/+0
| | | | | | | | tries to free uninitialized mbuf. This was my mistake during recent KAME merge. This part is for *BSD other than FreeBSD. Submitted by: Alexander N. Kabaev <ak03@gte.com>
* Fix typo in acpi_cpu_attach() and correct range checking iniwasaki2001-07-071-2/+2
| | | | acpi_cpu_speed_sysctl().
* Kill the old processor driver; the ACPI CA functions it depended onmsmith2001-07-073-670/+389
| | | | | are not coming back any time soon. Implement a new 'acpi_cpu' driver with support for CPU throttling and power policies.
* Add acpi_GetTableIntoBuffer, to aid in fetching tables.msmith2001-07-072-3/+25
|
* Get the ACPI softc before we potentially dereference it.msmith2001-07-071-5/+5
|
* Quiet the complaint about the _SCP method if it doesn't exist; it'smsmith2001-07-071-2/+3
| | | | not mandatory.
* Oops, have to use AcpiSetCurrentResources, not invoke the _SRS methodmsmith2001-07-072-8/+2
| | | | directly.
* Merged from sys/i386/i386/machdep.c revisions 1.459 and 1.460.nyan2001-07-072-90/+0
|
* Add support for user-requested override of cooling levels.msmith2001-07-071-80/+189
| | | | | | | | Monitor the system power profile, and use _SCP to adjust thermal zones accordingly. Simplify the behaviour of the timeout routine, and add some temporary debugging.
* Add support for system power profiles; select "performance" when AC powermsmith2001-07-072-2/+18
| | | | is available and "economy" when it is not.
* Add acpi_powerprofile.cmsmith2001-07-071-0/+1
|
* Support for system "power profiles". Currently we support two profiles;msmith2001-07-071-0/+64
| | | | "economy" and "performance".
* This was only half-implemented when I committed it, and certainly didn'tmsmith2001-07-061-30/+92
| | | | work. Now it's implemented and seems to work.
* Cleanup some obsolete commentsimp2001-07-061-2/+3
|
* Call ttymalloc() when sysmouse is opened, rather thanyokota2001-07-061-1/+1
| | | | | when the driver is attached. MFC after: 2 weeks
* Backout mwakeup, etc.jake2001-07-064-58/+6
|
* Make these compile again by adding proc.h include for GIANT_REQUIREDjhb2001-07-0512-0/+12
| | | | that is in included vm headers.
* Oops- missed a CAMLOCK_2_ISP case.mjacob2001-07-051-0/+1
|
* Bracket call to vm_page_flag_set with required Giant lock/unlock.mjacob2001-07-051-1/+4
|
OpenPOWER on IntegriCloud