aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix the type of the last arg to execl()Brian Somers2001-07-091-1/+1
| | | | | | | Obtained from: OpenBSD Notes: svn path=/head/; revision=79450
* Link in manpages for vfs_busy, vfs_mount, vfs_unbusy, and vinvalbuf.Alfred Perlstein2001-07-091-1/+2
| | | | Notes: svn path=/head/; revision=79447
* Document kernel API for vfs_busy(), vfs_mount(), vfs_unbusy(), andAlfred Perlstein2001-07-094-0/+364
| | | | | | | | | vinvalbuf(). Submitted by: Chad David <davidc@acns.ab.ca> Notes: svn path=/head/; revision=79446
* It is just stupid to have to do ``<ESC>!rm -f %'' to write a file you own.David E. O'Brien2001-07-091-0/+29
| | | | | | | | | So lets stop that nonsense and allow `w!' to do something useful. Submitted by: green Notes: svn path=/head/; revision=79444
* Fix missing newline and terminator at the end of the vm.zone sysctl.Dag-Erling Smørgrav2001-07-091-2/+1
| | | | Notes: svn path=/head/; revision=79443
* Add manual page and usage for dump -D (supplied by Dima Dorfman) (will alsoMatthew Dillon2001-07-092-10/+24
| | | | | | | | | be MFC'd) Submitted by: Dima Dorfman <dima@unixfreak.org> Notes: svn path=/head/; revision=79442
* Staticise the OpenBSD SHA1_End() functionBrian Somers2001-07-091-1/+1
| | | | Notes: svn path=/head/; revision=79437
* Stay (backwards-)compatible with OpenBSD's groffBrian Somers2001-07-092-2/+6
| | | | Notes: svn path=/head/; revision=79435
* Add a ``nat proto'' command -- similar to natd(8)'s -redirect_proto switch.Brian Somers2001-07-095-0/+117
| | | | | | | MFC after: 3 weeks Notes: svn path=/head/; revision=79433
* Oops, remove a `mouse_move_delayed++' that shouldn't have beenIan Dowse2001-07-081-3/+1
| | | | | | | | added in the previous commit; this variable is already incremented in the previous `if' condition. Notes: svn path=/head/; revision=79432
* Another large patchset from Bruce.Joerg Wunsch2001-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) Notes: svn path=/head/; revision=79431
* The state machine for 3-button emulation defers some button eventsIan Dowse2001-07-081-4/+29
| | | | | | | | | | | | | | | | | until a 20ms select(2) timeout occurs, but if there is a continuous stream of movement events, button events can be delayed indefinitely because the select never has to wait long enough for a timeout. The delay and mouse event reordering that result are very noticable and sometimes quite frustrating when dragging windows etc. in X. Add a simple mechanism that avoids this re-ordering. While a button event is deferred, we discard up to 3 movement events to allow for mouse jitter. If more movement events occur, then we immediately timeout the deferred button event and let the movement proceed. This change only affects the 3-button emulation case. Notes: svn path=/head/; revision=79430
* Oops, forgot to add 'D' to the option morphing block.Matthew Dillon2001-07-081-0/+1
| | | | Notes: svn path=/head/; revision=79428
* Add a -D option to dump, allowing the path for the /etc/dumpdates file to beMatthew Dillon2001-07-081-2/+6
| | | | | | | | | | changed, so independant entities backing up the same thing to different media can be made not to trip over each other. MFC after: 3 days Notes: svn path=/head/; revision=79427
* soopt_mcopyout() frees mbuf if error occurs, and DOES NOT free it if it isHajimu UMEMOTO2001-07-081-2/+6
| | | | | | | | | | | successful. This part was lacked during merge. Obtained from: KAME MFC after: 1 week Notes: svn path=/head/; revision=79426
* Do not set the MODE_1000 bit unless we actually have a gigabit link.Bill Paul2001-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 ) Notes: svn path=/head/; revision=79424
* Handle shemeless, hostless URLs correctly.Dag-Erling Smørgrav2001-07-081-3/+5
| | | | Notes: svn path=/head/; revision=79423
* Fix an embarassing if-test-reversal bug that broke scheme guessing.Dag-Erling Smørgrav2001-07-081-2/+2
| | | | Notes: svn path=/head/; revision=79422
* Small whitespace fix.Julian Elischer2001-07-081-2/+2
| | | | | | | BDE'd by: BDE Notes: svn path=/head/; revision=79419
* A set of changes to reduce the number of include files the kernelJulian Elischer2001-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> Notes: svn path=/head/; revision=79418
* Turn on nullmodem (nmdm(4)) man page.Julian Elischer2001-07-081-0/+1
| | | | Notes: svn path=/head/; revision=79417
* Add a brief manpage (cribbed form pty.4) about the null-modemJulian Elischer2001-07-081-0/+66
| | | | | | | driver (nmdm(4)). Notes: svn path=/head/; revision=79416
* turn on the null-modem device.Julian Elischer2001-07-081-1/+1
| | | | | | | (I've been using it with vmware for over a year now.) Notes: svn path=/head/; revision=79415
* Temporary feature: Runtime tuneable tcp initial sequence numberMike Silbersack2001-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 Notes: svn path=/head/; revision=79413
* Fill paragraphs after previous commit.Dima Dorfman2001-07-081-13/+14
| | | | Notes: svn path=/head/; revision=79412
* Note that options should be listed in NOTES, not LINT, although LINTDima Dorfman2001-07-081-3/+3
| | | | | | | | is generated from NOTES. Also correct a bogus path; <machine>/conf/options.<machine> doesn't exist. Notes: svn path=/head/; revision=79411
* Ha! This time, I remembered the ACPI module. Update the sources listMike Smith2001-07-072-8/+8
| | | | | | | to reflect recent changes in the code. Notes: svn path=/head/; revision=79410
* Nuke the ACPI APIC driver. The ACPI CA infrastructure it depended onMike Smith2001-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. Notes: svn path=/head/; revision=79409
* Nuke the ACPI APIC driver. The ACPI CA infrastructure it depended onMike Smith2001-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. Notes: svn path=/head/; revision=79408
* The Netgear card works for me under 'wi'.Nick Sayer2001-07-071-0/+6
| | | | Notes: svn path=/head/; revision=79406
* The m_free call in the ip6_fw_ctl_ptr == NULL case apparentlyHajimu UMEMOTO2001-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> Notes: svn path=/head/; revision=79404
* Ian Dowse writes:Matt Jacob2001-07-071-16/+7
| | | | | | | | | | | | | | The original code was certainly broken; it knows that whereto is to be used for a sockaddr_in, so it should be declared as such. To support multiple protocols, there is also a sockaddr_storage struct that can be used; I don't think struct sockaddr is supposed to be used anywhere other than for casts and pointers. Submitted by: Ian Dowse <iedowse@maths.tcd.ie> MFC after: 3 weeks Notes: svn path=/head/; revision=79403
* Markup fix: Change sysctl variables marked as <literal></literal>Bruce A. Mah2001-07-072-6/+6
| | | | | | | to consistently use <varname></varname>. No content changes. Notes: svn path=/head/; revision=79402
* Fix typo in acpi_cpu_attach() and correct range checking inMitsuru IWASAKI2001-07-071-2/+2
| | | | | | | acpi_cpu_speed_sysctl(). Notes: svn path=/head/; revision=79401
* Fix type-o's, revamp section on the /tmp softlink, add sections for aMatthew Dillon2001-07-071-6/+52
| | | | | | | couple more sysctl's, add a section on mount options. Notes: svn path=/head/; revision=79399
* Fix an incorrect conflict resolution which prevented TISAuthenticationBrian Feldman2001-07-071-25/+2
| | | | | | | from working right in 2.9. Notes: svn path=/head/; revision=79398
* Don't try to dereference the -1th ccp algorithm array entry when weBrian Somers2001-07-071-1/+1
| | | | | | | open CCP with no algorithm. Notes: svn path=/head/; revision=79396
* Kill the old processor driver; the ACPI CA functions it depended onMike Smith2001-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. Notes: svn path=/head/; revision=79388
* Add acpi_GetTableIntoBuffer, to aid in fetching tables.Mike Smith2001-07-072-3/+25
| | | | Notes: svn path=/head/; revision=79387
* Get the ACPI softc before we potentially dereference it.Mike Smith2001-07-071-5/+5
| | | | Notes: svn path=/head/; revision=79386
* Quiet the complaint about the _SCP method if it doesn't exist; it'sMike Smith2001-07-071-2/+3
| | | | | | | not mandatory. Notes: svn path=/head/; revision=79385
* Oops, have to use AcpiSetCurrentResources, not invoke the _SRS methodMike Smith2001-07-072-8/+2
| | | | | | | directly. Notes: svn path=/head/; revision=79384
* Fix unaligned access faults on alpha.Matt Jacob2001-07-071-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This one is strange and goes against my rusty compiler knowledge. The global declaration struct sockaddr whereto; produces for both i386 && alpha: .comm whereto,16,1 which means common storage, byte aligned. Ahem. I though structs were supposed to be ALDOUBLE always? I mean, w/o pragma packed? Later on, this address is coerced to: to = (struct sockaddr_in *)&whereto; Up until now, we've been fine on alpha because the address just ended up aligned to a 4 byte boundary. Lately, though, it end up as: 0000000120027b0f B whereto And, tra la, you get unaligned access faults. The solution I picked, in lieu of understanding what the compiler was doing, is to put whereto as a union of a sockaddr and sockaddr_in. That's more formally correct if somewhat awkward looking. Notes: svn path=/head/; revision=79381
* Attempt to use the environment variable TMPDIR for the temporaryMike Heffner2001-07-072-3/+20
| | | | | | | | | | | directory, defaulting to /tmp. PR: bin/16924 Reviewed by: dd MFC after: 2 weeks Notes: svn path=/head/; revision=79379
* Merged from sys/i386/i386/machdep.c revisions 1.459 and 1.460.Yoshihiro Takahashi2001-07-072-90/+0
| | | | Notes: svn path=/head/; revision=79378
* When we miss one or more packets in stateful mode *and* need toBrian Somers2001-07-071-7/+10
| | | | | | | | | | | | | | perform a key change, *and* our sequence numbers have wrapped, ensure that the number of key changes is calculated correctly. The previous code counted down from a negative number to zero, re-encrypting the current key on each iteration - this took some time and strangely enough got the answer wrong !!! Fix a(nother) spelling mistake while I'm there. Notes: svn path=/head/; revision=79376
* Add support for user-requested override of cooling levels.Mike Smith2001-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. Notes: svn path=/head/; revision=79375
* Add support for system power profiles; select "performance" when AC powerMike Smith2001-07-072-2/+18
| | | | | | | is available and "economy" when it is not. Notes: svn path=/head/; revision=79374
* Add acpi_powerprofile.cMike Smith2001-07-071-0/+1
| | | | Notes: svn path=/head/; revision=79373
* Support for system "power profiles". Currently we support two profiles;Mike Smith2001-07-071-0/+64
| | | | | | | "economy" and "performance". Notes: svn path=/head/; revision=79372