aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump WARNS to 2 for all other ACPI drivers and minor cleanup.Nate Lawson2004-08-034-16/+20
| | | | Notes: svn path=/head/; revision=133093
* Use the acpi_{Get,Set}Integer functions instead of rolling custom ones.Nate Lawson2004-08-032-156/+64
| | | | | | | | Clean up return path of each function to have a single exit point. This reduces diffs against the MPSAFE tree. Notes: svn path=/head/; revision=133092
* - Add a HARDWARE section which lists supported devices.Simon L. B. Nielsen2004-08-031-3/+6
| | | | Notes: svn path=/head/; revision=133091
* - Make the HARDWARE section preamble text have a call to the Nm macro,Simon L. B. Nielsen2004-08-031-1/+3
| | | | | | | so the driver name will appear in the Hardware Notes. Notes: svn path=/head/; revision=133090
* Update for the null.ko removal.Mark Murray2004-08-031-0/+4
| | | | Notes: svn path=/head/; revision=133089
* Making a loadable null.ko for /dev/(null|zero) proved ratherMark Murray2004-08-0312-22/+1
| | | | | | | | | unpopular, so remove this (mis)feature. Encouragement provided by: jhb (and others) Notes: svn path=/head/; revision=133087
* Correct the description of the MFLAGS and .MAKEFLAGS variables. AddHartmut Brandt2004-08-031-6/+16
| | | | | | | | | the MFLAGS target. Document that variable assignments from the MAKEFLAGS environment variable and the .MAKEFLAGS and .MFLAGS target have the same precedence as command line variable assignments. Notes: svn path=/head/; revision=133086
* Put variable assignments from the command line into the MAKEFLAGSHartmut Brandt2004-08-034-32/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | variable as required by POSIX. This causes such variables to be pushed into all sub-makes called by the make (except when the MAKEFLAGS variable is explicitely changed in the sub-make's environment). This makes them also mostly un-overrideable in sub-makes except on the sub-make's command line. Therefor specifying 'make CC=icc' will cause icc to be used as C compiler in all sub-makes no matter what the Makefiles itself try to do to the CC variable. This patch also corrects the handling of the MFLAGS variable. MFLAGS contains all the command line flags but not the command line variable assignments. The evaluation of the .MFLAGS or .MAKEFLAGS target now changes both MFLAGS and MAKEFLAGS (they used to change MAKEFLAGS only). Makefiles can use MFLAGS for their own purposes given that they do not except MFLAGS to be undefined at the beginning and that they don't evaluate .MFLAGS or .MAKEFLAGS. MFLAGS should be removed for POSIX compliance, but it is unfortunately heavily used by the X makefiles. This has been extensively tested by port builds (thanks to portmgr), new worlds and kernels. PR: standards/57295 (1st part above) Submitted by: James E. Flemer <jflemer@alum.rpi.edu> Approved by: portmgr Obtained from: NetBSD (1st part above) MFC after: 4 weeks Notes: svn path=/head/; revision=133085
* Instead of calling ia32_pause() conditionally on __i386__ or __amd64__Maxime Henrion2004-08-038-19/+16
| | | | | | | | | | | | being defined, define and use a new MD macro, cpu_spinwait(). It only expands to something on i386 and amd64, so the compiled code should be identical. Name of the macro found by: jhb Reviewed by: jhb Notes: svn path=/head/; revision=133084
* Teach moused about Synaptics touchpads.Philip Paeps2004-08-032-1/+12
| | | | | | | | | | While I'm here, document the existence of the '-l' option, which allows one to use moused to use psm in some more interesting ways. Approved by: njl (mentor) Notes: svn path=/head/; revision=133083
* Make the SIGCHLD handler static and declare its argumentHartmut Brandt2004-08-031-2/+2
| | | | | | | as unused, so that make can be compiled with WARNS=3 again. Notes: svn path=/head/; revision=133082
* Fix the ACPI_DEBUG case by removing a now unused variable.Nate Lawson2004-08-031-3/+0
| | | | Notes: svn path=/head/; revision=133081
* Minor cleanups:Bill Paul2004-08-031-2/+8
| | | | | | | | | - Fix typo in comment - Remember to free() sc->ndis_txarray on detach - Remember to do an ifmedia_removeall() for ethernet devices Notes: svn path=/head/; revision=133080
* Fix comment.Pawel Jakub Dawidek2004-08-031-3/+2
| | | | Notes: svn path=/head/; revision=133079
* Don't skip permission checks when sending signals to zombie processes.Pawel Jakub Dawidek2004-08-031-13/+7
| | | | | | | | Pointed out by: bde Reviewed by: rwatson Notes: svn path=/head/; revision=133078
* Enable packet mode by default. Disk drives have gotten so large now,David E. O'Brien2004-08-031-1/+1
| | | | | | | it is often the case the partition one wants to boot is above cylinder 1023. Notes: svn path=/head/; revision=133077
* Initialize variables to fix kernel build on AMD64.David E. O'Brien2004-08-031-0/+2
| | | | Notes: svn path=/head/; revision=133075
* o Delayed checksums are now calculated in divert_packet() for diverted packetsAndre Oppermann2004-08-031-10/+0
| | | | | | | Remove the XXX-escaped code that did it in ip_output()'s IPHACK section. Notes: svn path=/head/; revision=133074
* The inflight sysctls have moved to net.inet.tcp.inflight.*, so adjustAndre Oppermann2004-08-031-5/+5
| | | | | | | documentation accordingly. Notes: svn path=/head/; revision=133073
* o Move the inflight sysctls to their own sub-tree under net.inet.tcp to beAndre Oppermann2004-08-033-19/+27
| | | | | | | more consistent with the other sysctls around it. Notes: svn path=/head/; revision=133072
* Use lang="ru"Denis Peplin2004-08-0320-40/+40
| | | | | | | Obtained from: The FreeBSD Russian Documentation Project Notes: svn path=/head/; revision=133071
* Merge from recent English versionsDenis Peplin2004-08-0312-64/+323
| | | | | | | Obtained from: The FreeBSD Russian Documentation Project Notes: svn path=/head/; revision=133070
* o Move all parts of the IP reassembly process into the function ip_reass() toAndre Oppermann2004-08-032-116/+131
| | | | | | | | | | | | make it fully self-contained. o ip_reass() now returns a new mbuf with the reassembled packet and ip->ip_len including the IP header. o Computation of the delayed checksum is moved into divert_packet(). Reviewed by: silby Notes: svn path=/head/; revision=133069
* Minor typo fixDenis Peplin2004-08-032-2/+2
| | | | Notes: svn path=/head/; revision=133068
* Add Wiretek UBRJ4 to the list of supported devices.Simon L. B. Nielsen2004-08-031-0/+2
| | | | | | | Submitted by: Soeren Vrist <seet@seet.dk> Notes: svn path=/head/; revision=133067
* Add regression tests for TLS.Doug Rabson2004-08-0314-0/+429
| | | | Notes: svn path=/head/; revision=133066
* Use RFC 3849 address for examples.Hajimu UMEMOTO2004-08-032-8/+8
| | | | | | | | Pointed out by: mistral@imasy.or.jp MFC after: 1 week Notes: svn path=/head/; revision=133065
* Add stubs for TLS functions. These will be replaced at runtime by theDoug Rabson2004-08-032-3/+73
| | | | | | | functional versions in rtld. Notes: svn path=/head/; revision=133064
* Add support for Thread Local Storage.Doug Rabson2004-08-0314-2/+883
| | | | Notes: svn path=/head/; revision=133063
* allow ::1 explicitly.Hajimu UMEMOTO2004-08-031-1/+1
| | | | | | | | Pointed out by: mistral@imasy.or.jp MFC after: 1 week Notes: svn path=/head/; revision=133062
* Add style(9) foolishness.Doug Rabson2004-08-031-8/+8
| | | | Notes: svn path=/head/; revision=133061
* Implement minimalistic L2TP sessions statistics and correct man pageBjoern A. Zeeb2004-08-033-7/+118
| | | | | | | | | | for L2TP tunnel statistics (which do not take an argument sessionID). Reviewed by: archie Approved by: pjd (mentor) Notes: svn path=/head/; revision=133060
* Use the slot, not an otherwise unused index variable as the probe offset.Nate Lawson2004-08-031-2/+2
| | | | | | | | | This passed testing because the variable happened to be 0 in most cases. Compile warning found by: David Syphers <dsyphers AT u.washington.edu> Notes: svn path=/head/; revision=133059
* add a new control message to set sequence numbers on an uninitialized node.Bjoern A. Zeeb2004-08-033-3/+96
| | | | | | | | Reviewed by: archie Approved by: pjd (mentor) Notes: svn path=/head/; revision=133058
* Whitespace nit.Ruslan Ermilov2004-08-031-1/+1
| | | | | | | OK'ed by: kan Notes: svn path=/head/; revision=133057
* Correct L2TP header offset handling:Bjoern A. Zeeb2004-08-031-2/+2
| | | | | | | | | | | | - according to RFC2661 an offset size of 0 is allowed. - when skipping offset padding do not forget to also skip the 2 octets of the offset size field. Reviewed by: archie Approved by: pjd (mentor) Notes: svn path=/head/; revision=133056
* Do not change link[n].conf.latency for internal usage but haveBjoern A. Zeeb2004-08-031-3/+5
| | | | | | | | | | | | link[n].latency calculated from user supplied value. This prevents repeated NGM_PPP_SET_CONFIG/NGM_PPP_GET_CONFIG from failing because of link[n].conf.latency being out of range. Reviewed by: archie Approved by: pjd (mentor) Notes: svn path=/head/; revision=133055
* adopt structs to reflect code change from May 2000 forBjoern A. Zeeb2004-08-031-9/+13
| | | | | | | | | | NGM_PPP_SET_CONFIG/NGM_PPP_GET_CONFIG. Reviewed by: archie Approved by: pjd (mentor) Notes: svn path=/head/; revision=133054
* GNU and POSIX disagree about -o and -l.Tim Kientzle2004-08-032-22/+70
| | | | | | | | | | | | | | | For -l, upset everyone by breaking it. Specifically, -l now produces a lengthy error message that suggests --check-links (POSIX -l) or --one-file-system (GNU -l) instead. However, if POSIXLY_CORRECT is set, use the POSIX interpretation. For -o, please everyone by making it work both ways: * -xo uses POSIX behavior * -co uses "almost GNU" behavior (as close as we can get until libarchive implements a true V7 tar format) Notes: svn path=/head/; revision=133053
* Forced commit to note intended log message for previous revision:Nate Lawson2004-08-030-0/+0
| | | | | | | | | | | | | | | | | | Cleanup to prepare for locking commit. Add comments, clarify printfs, remove old unused locking macros. Additional changes: * Remove an old workaround for the bug in AcpiEnterSleepState() that caused it to return with the hardware mutex still held. It no longer can fail this way. * Remove ACPI_DEBUGGER checkpoints in the probe. We have a reasonably stable probe/attach process now. * Use an sbuf instead of sprintf/strcat for a sysctl. Also, use strlcpy instead of a bzero/strncpy. * Simplify acpi_name, acpi_Enable, and acpi_Disable. * Don't bzero the softc Notes: svn path=/head/; revision=133052
* /tmp/mNate Lawson2004-08-031-188/+69
| | | | Notes: svn path=/head/; revision=133051
* Remove race condition between reading of MSR, setting md_savecrit,Peter Grehan2004-08-031-6/+2
| | | | | | | | | | | and setting MSR. This was most evident with the idle proc running with interrupts disabled and causing a lockup. Switch over to the i386 style which does things in the right order. debug assisted by: gallatin, and the invaluable KTR option. Notes: svn path=/head/; revision=133050
* Standardize pipe locking, ensuring that everything is locked viaMike Silbersack2004-08-031-152/+115
| | | | | | | | | | | | pipelock(), not via a mixture of mutexes and pipelock(). Additionally, add a few KASSERTS, and change some statements that should have been KASSERTS into KASSERTS. As a result of these cleanups, some segments of code have become significantly shorter and/or easier to read. Notes: svn path=/head/; revision=133049
* Remove redundant definition.David Xu2004-08-031-3/+0
| | | | Notes: svn path=/head/; revision=133048
* s/TMDF_DONOTRUNUSER/TMDF_SUSPEND/gDavid Xu2004-08-039-14/+14
| | | | | | | Dicussed with: deischen Notes: svn path=/head/; revision=133047
* Fix bug with tracking the previous element in a list.Jeffrey Hsu2004-08-031-1/+1
| | | | | | | | Found by: edrt@citiz.net Submitted by: pavlin@icir.org Notes: svn path=/head/; revision=133046
* Repeat after me:Julian Elischer2004-08-031-0/+1
| | | | | | | "Do not apply your tested patches to your commit tree by hand" Notes: svn path=/head/; revision=133045
* Change EISA probing to be less invasive. Instead of probing all slotsNate Lawson2004-08-031-11/+43
| | | | | | | | | | | | unconditionally, stop after the first one (system board) if no EISA hardware is detected. This fixes a boot hang (i.e. Thinkpad) when ACPI is disabled. Also, split the probe code into a separate function and do some style cleanup. Note that the Adaptec 2842 VLB controller probe is broken by this change and will fail to probe. It should be fixed separately. Notes: svn path=/head/; revision=133044
* Remove an argument that is never used.Julian Elischer2004-08-021-7/+6
| | | | Notes: svn path=/head/; revision=133043
* Add the PM1564 to the list of supported controllers.Marius Strobl2004-08-021-0/+2
| | | | | | | OK'ed by: scottl Notes: svn path=/head/; revision=133042