summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Convert to bus_space.imp2003-10-254-144/+206
| | | | | | | | | Make the pccard attachment work with NEWCARD Start locking of the driver, but only the macros are defined right now Tested on: Megahertz CC10BT/2 # (These cards are very popular on ebay these days, and run < $10 including # shipping from some sellers).
* Better safe than clever.des2003-10-251-2/+5
| | | | Submitted by: das
* For the SMP case, flush the TLB at the beginning of the page zero/copypeter2003-10-251-0/+13
| | | | | | | routines. Otherwise we run into trouble with speculative tlb preloads on SMP systems. This effectively defeats Jeff's revision 1.438 optimization (for his pentium4-M laptop) in the SMP case. It breaks other systems, particularly athlon-MP's.
* - Align a comment within struct vm_page.alc2003-10-251-5/+5
| | | | | - Annotate the vm_page's valid field as synchronized by the containing vm object's lock.
* Check (locked) before performing an advisory unlock following a failurerwatson2003-10-251-1/+2
| | | | | | | of vn_start_write(). Otherwise, we may inconsistently attempt to release the advisory lock. Pointed out by: teggej
* When generate a core dump, use advisory locking in an advisory way:rwatson2003-10-251-6/+6
| | | | | | | | | | | if we do acquire an advisory lock, great! We'll release it later. However, if we fail to acquire a lock, we perform the coredump anyway. This problem became particularly visible with NFS after the introduction of rpc.lockd: if the lock manager isn't running, then locking calls will fail, aborting the core dump (resulting in a zero-byte dump file). Reported by: Yogeshwar Shenoy <ynshenoy@alumni.cs.ucsb.edu>
* Allow MAC policies to block/revoke kern_alq write access to a file.rwatson2003-10-251-2/+10
| | | | | | Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Reviewed by: jeff
* Make MAC_EXTERNALIZE() and MAC_INTERNALIZE() simply take the objectrwatson2003-10-255-15/+15
| | | | | | | | | type, rather than "object_label" as the first argument. This reduces complexity a little for the consumer, and also makes it easier for use to rename the underlying entry points in struct mac_policy_obj. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Fix fwmem_strategy() race in 4-stable.simokawa2003-10-252-1/+6
|
* Move validity check of 'xfer->fc != NULL' to right place.simokawa2003-10-251-4/+4
|
* update for conserver-8.0.4.simokawa2003-10-251-2/+10
|
* remove debug message.simokawa2003-10-251-1/+0
|
* Document fabsl(3).des2003-10-251-6/+19
| | | | Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
* dcons_crom.c needs dcons and firewire.simokawa2003-10-251-1/+1
|
* Style changes. Inching closer to convergence with OpenBSD.phk2003-10-251-61/+60
|
* revert following unwanted changes:ume2003-10-253-33/+33
| | | | | | | - __packed to __attribute__((__packed__) - uintN_t back to u_intN_t Reported by: bde
* correct namespace pollution.ume2003-10-252-2/+6
| | | | Submitted by: bde
* - fabsl.c should be named s_fabsl.c for consistency with libmsun'sdes2003-10-252-3/+11
| | | | | | | | | | | | | | | documented naming scheme (unfortunately the documentation isn't in the tree as far as I can tell); no repocopy is required as there is no history to preserve. - replace simple and almost-correct implementation with slightly hackish but definitely correct implementation (tested on i386, alpha, sparc64) which requires pulling in fpmath.h and the MD _fpmath.h from libc. - try not to make a mess of the Makefile in the process. - enterprising minds are encouraged to implement more C99 long double functions.
* according to RFC3542 10.5, the 5th argment of inet6_opt_next()ume2003-10-251-1/+1
| | | | | | is not size_t but socklen_t. Reported by: tinderbox
* - Call vnode_pager_input_old() with the vm object locked.alc2003-10-251-5/+6
|
* GC workaround code for detecting pentium4's and disabling PSE and PG_G.peter2003-10-251-27/+0
| | | | It's been ifdef'ed out for ages.
* Add devctl(4) notify support to ACPI. Various subsystems now notifynjl2003-10-258-3/+65
| | | | | userland whenever events occur. See the example in devd.conf below to see how to use it.
* Whole grab-bag of changes:imp2003-10-257-208/+216
| | | | | | | | o Make the driver MPSAFE o Some changes due to diff reduction effort with vx. o Removed some obsolete junk. Reviewed by: sam, modd
* Start to minimize diffs between vx and ep. These latter is based on aimp2003-10-255-89/+127
| | | | | more advanced version of the chips supported by the former. Matt Dodd and I are working towards merging them, and this a step on that path.
* Sort type declarations together.rwatson2003-10-251-6/+1
| | | | | | | Remove an excess carriage return. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories
* Convenience functions to generate notifications from the kernel. The ACPIimp2003-10-242-19/+70
| | | | | | code will start using these shortly. Reviewed by: njl
* Add support for another multiple serial port card based on OX16PCI954 deviceambrisko2003-10-241-0/+13
| | | | | | id 0x950a. MFC: after 4.9 release.
* Parse the ! lines that will soon be coming from the kernel. These areimp2003-10-245-10/+48
| | | | | | | | | | a generalized notification mechanism for subsystems wishing to report events. Revieded by: njl # The kernel side seems like it might be causing panics for me, but should # be forthcoming shortly.
* Don't try to use dev->dma_lock unless dma is initialized (dev->dma != NULL)anholt2003-10-241-2/+1
| | | | | | in bufs_info sysctl handler. dev->dma and dev->dma_lock existence are protected by DRM_LOCK(). Fixes panic on sysctl hw.dri when the device is uninitialied (when you aren't in X).
* Use 'k' as suffix for Kilophk2003-10-241-1/+1
| | | | Pointed out by: several.
* - fix description of what processes SIGCONT can be sent tokensmith2003-10-241-1/+1
| | | | | | PR: docs/58413 Reviewed by: rwatson Approved by: blackend (mentor)
* don't allow reading from files that haven't been open'd for reading.jmg2003-10-241-2/+3
|
* - Add a DDB command 'show intrcnt' to show the non-zero interrupt counts.jhb2003-10-242-0/+168
| | | | | | | - Add a DDB function to dump the contents of an ithread and optionally details about each handler in that ithread. This function can be used by MD code to implement DDB commands that display information about interrupt sources and their registered handlers.
* A few whitespace and comment tweaks.jhb2003-10-246-36/+18
|
* - Fail to probe if acpi0 probed ok as this driver basically tries to probejhb2003-10-241-7/+12
| | | | | | | | | | the ACPI timer and we shouldn't do that if ACPI is already around to do that for us. - Set a description and tweak the order of checks in the probe function to more closely match other PCI drivers. This should probably be moved to sys/dev/piix/piix.c at some point and turned on for all i386 kernels rather than just SMP ones.
* - Renumber the skerberos4 dist to fill in the gaps left when krb4 was axed.jhb2003-10-241-2/+2
| | | | - Update the DIST_CRYPTO_ALL value to match reality.
* remove the ip6r0_addr and ip6r0_slmap members from ip6_rthdr0{}ume2003-10-242-7/+8
| | | | | | according to rfc2292bis. Obtained from: KAME
* correct tab and order.ume2003-10-241-4/+4
|
* Close the right consumers if we run into trouble opening them all.phk2003-10-241-1/+1
| | | | Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
* Fix two old/new consumer confusions.phk2003-10-241-2/+2
| | | | Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
* oops, revert previous change to getaddrinfo.c. This is not relatedume2003-10-241-275/+155
| | | | | to RFC3493. The previous change was related to RFC3484 (Default Address Selection for IPv6), and it will come later.
* When grabbing vnodes to service NFS requests, make sure to callphk2003-10-241-81/+11
| | | | | | vn_start_write() early to avoid snapshot deadlocks. By: mckusick
* Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542ume2003-10-2432-1124/+3087
| | | | | | | | | | (aka RFC2292bis). Though I believe this commit doesn't break backward compatibility againt existing binaries, it breaks backward compatibility of API. Now, the applications which use Advanced Sockets API such as telnet, ping6, mld6query and traceroute6 use RFC3542 API. Obtained from: KAME
* show maxmtu.ume2003-10-241-0/+1
| | | | Obtained from: KAME
* Since dp->dom_ifattach calls malloc() with M_WAITOK, we cannotume2003-10-242-2/+30
| | | | | | use mutex lock directly here. Protect ifp->if_afdata instead. Reported by: grehan
* Sysctl names should not contain dots. Convert them to underlines.harti2003-10-242-38/+38
|
* Add dumb console driver and related bits.simokawa2003-10-2421-3/+2408
| | | | | | | | dcons(4): very simple console and gdb port driver dcons_crom(4): FireWire attachment dconschat(8): User interface to dcons Tested with: i386, i386-PAE, and sparc64.
* Mdoc Janitor:hmp2003-10-241-2/+2
| | | | | | * Use uppercase for .Dt macro arguments. * Use 'manual' instead of 'man' for consistency.
* Fix for FW_ASYREQ.simokawa2003-10-241-39/+36
| | | | | | - set send.pay_len correctly. - copy response only if needed. - remove unnecessary 'err = 0'.
* Mention the fact that our crontab is not fully POSIX.2 conform, becauseharti2003-10-241-2/+7
| | | | | it doesn't allow the dangerous variant of calling it without any argument.
OpenPOWER on IntegriCloud