aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7) police: markup fixes.Ruslan Ermilov2002-11-251-3/+3
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107226
* Make this work under non-C locales.Ruslan Ermilov2002-11-251-4/+5
| | | | | | | | PR: misc/45460 Approved by: re Notes: svn path=/head/; revision=107224
* Align the comment with functionality changes from previous revision.Ruslan Ermilov2002-11-251-4/+3
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107223
* Import some relevant changes from Via's if_fet driver:Mike Silbersack2002-11-254-4/+58
| | | | | | | | | | | | | | | | | | 1. Detect the revision of the Rhine chip we're using. 2. Use the force reset command on revisions which support it whenever the normal reset command fails. This should solve a wide range of "my vr0 locks up with reset failed messages" problems. (Although the root causes should be eventually tracked down.) Tested by: grenville armitage <garmitage@swin.edu.au> Obtained from: Via's if_fet driver MFC after: 3 days Approved by: re Notes: svn path=/head/; revision=107220
* Fix make_dev() to use 0644 instead of 0x644 for default permissionsScott Long2002-11-251-1/+1
| | | | | | | | Spotted by: kris Approved by: re Notes: svn path=/head/; revision=107219
* Fix printf format problems that were stopping LINT on alphaScott Long2002-11-252-4/+5
| | | | | | | | Submitted by: jmallett, many others Approved by: re Notes: svn path=/head/; revision=107218
* Assert that the page queues lock is held in pmap_remove_pages().Alan Cox2002-11-252-2/+2
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=107217
* Acquire and release the page queues lock around pmap_remove_pages() becauseAlan Cox2002-11-252-0/+5
| | | | | | | it updates several of vm_page's fields. Notes: svn path=/head/; revision=107216
* Install new files from examples dir.Nate Lawson2002-11-241-0/+3
| | | | | | | Approved by: re (previously) Notes: svn path=/head/; revision=107215
* Forced commit to note that the last PR mentionned should have been 40697Julian Elischer2002-11-240-0/+0
| | | | | | | and that it was reviewed by mckusick. Notes: svn path=/head/; revision=107214
* Fsck needs to check each CG's rotor values to ensure thay are not -ve.Julian Elischer2002-11-241-3/+3
| | | | | | | | | | | | | | It seems a common corruption to have them -ve (I've seen it several times) and if fsck doesn't fix it, it leads to a kernel pagefault. Reviewd by: kirk Submitted by: Eric Jacobs <eaja@erols.com> and me independently. MFC in: 2 days PR: bin/40967 Approved by: re Notes: svn path=/head/; revision=107213
* Add page queues locking to vunmapbuf(); reduce differences with respectAlan Cox2002-11-242-6/+6
| | | | | | | | | | to the sparc64 implementation. (Note: With modest effort on the alpha and ia64 this function could migrate to the MI part of the kernel.) Approved by: re (blanket) Notes: svn path=/head/; revision=107212
* Add page queues locking to vunmapbuf().Alan Cox2002-11-241-0/+2
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=107211
* Update version numbers after import of Heimdal 0.5.1.Jacques Vidrine2002-11-243-5/+5
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107210
* This commit was generated by cvs2svn to compensate for changes in r107207,Jacques Vidrine2002-11-24110-1442/+1246
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=107208
| * Import of Heimdal 0.5.1.Jacques Vidrine2002-11-24110-1442/+1246
| | | | | | | | | | | | | | Approved by: re Notes: svn path=/vendor-crypto/heimdal/dist/; revision=107207
* | MFp4:Marcel Moolenaar2002-11-242-3/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | Add function map_port_space() to map the memory mapped I/O port range as uncacheable virtual memory and call it prior to probing for a console. This removes the dependency on the loader to have done this for us. Note that this change does not include doing the same for APs. Approved by: re (blanket) Notes: svn path=/head/; revision=107206
* | Fix comparison that caused a 1-off bug. This appeared harmless forMarcel Moolenaar2002-11-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | the kernel itself, but SAL on Itanium2 machines spontaneously rebooted the machine. Approved by: re (blanket) Submitted by: Arun Sharma <adsharma@unix-os.sc.intel.com> Notes: svn path=/head/; revision=107205
* | Add ITANIUM2 as a global option.Marcel Moolenaar2002-11-241-0/+1
| | | | | | | | Notes: svn path=/head/; revision=107204
* | MFp4:Marcel Moolenaar2002-11-242-10/+48
| | | | | | | | | | | | | | | | | | | | | | | | o Show the contents of the AP wakeup descriptor when dumping SAL information. o Increase S/N ratio when listing the itr and dtr. Only show valid mappings and give the total number of TRs. Approved by: re (blanket) Notes: svn path=/head/; revision=107203
* | Schedule spinlocked threads by moving them through the work queue, insteadJonathan Mini2002-11-242-4/+30
| | | | | | | | | | | | | | | | | | | | of the wait queue. Approved by: re (blanket) Stolen from: davidxu Notes: svn path=/head/; revision=107202
* | Get the wall clock time from the KSE mailbox, rather than doing anotherJonathan Mini2002-11-242-4/+4
| | | | | | | | | | | | | | syscall. Notes: svn path=/head/; revision=107201
* | Extend the scope of the page queues/fields locking in vm_freeze_copyopts()Alan Cox2002-11-241-1/+3
| | | | | | | | | | | | | | | | | | to cover pmap_remove_all(). Approved by: re Notes: svn path=/head/; revision=107200
* | Add `if (!cold)' checkings for functions which is called via SYSINIT.Mitsuru IWASAKI2002-11-243-7/+19
| | | | | | | | | | | | | | | | | | | | Loading acpi.ko with kldload is disallowed, however some functions were executed unexpectedly. Approved by: re Notes: svn path=/head/; revision=107199
* | MFS: Fix a typoUdo Erdelhoff2002-11-241-2/+2
| | | | | | | | | | | | | | Approved by: re Notes: svn path=/head/; revision=107197
* | Whitespace cleanup that was missed by quirks commit 1.114Nate Lawson2002-11-231-4/+4
| | | | | | | | Notes: svn path=/head/; revision=107196
* | Remove a comple of bogus debug printfs that snuck in during someWarner Losh2002-11-232-5/+2
| | | | | | | | | | | | | | | | | | | | debugging I was doing 3 months ago :-(. Noticed by: scottl Aproved by: the re blanket (different than the security blanket). Notes: svn path=/head/; revision=107194
* | Allow acd(4) and cd(4) to support old behavior for CDRIOC*SPEED ioctls.Nate Lawson2002-11-232-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | If the value from the user is less than 177, assume it is a multiple of a single speed CDROM and convert to KB/sec. No complaints from: sos Reviewed by: ken Approved by: re MFC after: 1 day Notes: svn path=/head/; revision=107193
* | Update quirks, adding PR references and fixing a capitalization mismatch.Nate Lawson2002-11-231-3/+5
| | | | | | | | | | | | | | | | PR: kern/45494 Approved by: re Notes: svn path=/head/; revision=107192
* | Added the syncache(4) manpage.Ruslan Ermilov2002-11-232-0/+213
| | | | | | | | | | | | | | Submitted by: jlemon Notes: svn path=/head/; revision=107191
* | Hold the page queues/flags lock when calling vm_page_set_validclean().Alan Cox2002-11-233-2/+10
| | | | | | | | | | | | | | Approved by: re Notes: svn path=/head/; revision=107189
* | Note how to enable the ATA interface on PC64Wilko Bulte2002-11-231-1/+6
| | | | | | | | | | | | | | Tested by: Kirk Strauser <kirk@strauser.com> Notes: svn path=/head/; revision=107186
* | Assert that the page queues lock rather than Giant is held inAlan Cox2002-11-231-2/+3
| | | | | | | | | | | | | | | | | | vm_pageout_page_free(). Approved by: re Notes: svn path=/head/; revision=107185
* | - Assert that the page queues lock is held in pmap_remove_all().Alan Cox2002-11-232-20/+8
| | | | | | | | | | | | | | | | | | | | - Fix a diagnostic message and comment in pmap_remove_all(). - Eliminate excessive white space from pmap_remove_all(). Approved by: re Notes: svn path=/head/; revision=107184
* | Directly load %edx from mailboxDavid Xu2002-11-232-8/+6
| | | | | | | | Notes: svn path=/head/; revision=107183
* | Add page queue and flag locking in vnode_pager_setsize().Alan Cox2002-11-231-0/+2
| | | | | | | | | | | | | | Approved by: re Notes: svn path=/head/; revision=107182
* | Release notes for new targ(4)Nate Lawson2002-11-232-0/+8
| | | | | | | | Notes: svn path=/head/; revision=107181
* | Under certain circumstances, we were calling kmem_free() fromMaxime Henrion2002-11-2210-18/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | i386 cpu_thread_exit(). This resulted in a panic with WITNESS since we need to hold Giant to call kmem_free(), and we weren't helding it anymore in cpu_thread_exit(). We now do this from a new MD function, cpu_thread_dtor(), called by thread_dtor(). Approved by: re@ Suggested by: jhb Notes: svn path=/head/; revision=107180
* | Describe newly added fields in the KSE and thread mailboxes.Archie Cobbs2002-11-221-0/+28
| | | | | | | | | | | | | | Approved by: re Notes: svn path=/head/; revision=107179
* | New SCSI target emulator codeNate Lawson2002-11-229-2342/+2758
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This code allows a user program to enable target mode on a SIM and then emulate any number of devices (disks, tape drives, etc.) All decisions about device behavior (UA, CA, inquiry response) are left to the usermode program and the kernel driver is merely a conduit for CCBs. This enables multiple concurrent target emulators, each using its own backing store and IO model. Also included is a user program that emulates a disk (RBC) using a file as a backing store. This provides functionality similar to md(4) at the CAM layer. Code has been tested on ahc(4) and should also work on isp(4) (and other SIMs that gain target mode support). It is a complete rewrite of /sys/cam/scsi_target* and /usr/share/examples/scsi_target. Design, comments from: gibbs Supported by: Cryptography Research Approved by: re Notes: svn path=/head/; revision=107178
* | Document the `label' capability.Chris Costello2002-11-221-0/+2
| | | | | | | | | | | | | | | | | | Approved by: re Sponsored by: DARPA, Network Associates Labs Obtained from: TrustedBSD Project Notes: svn path=/head/; revision=107177
* | The new "all sound drivers" driver name is snd_driver. Loader.conf didn'tDaniel C. Sobral2002-11-221-1/+1
| | | | | | | | | | | | | | | | | | knew about it, though. Now it does. MFC after: 2 weeks Notes: svn path=/head/; revision=107175
* | Catch the make.conf manual page up with defaults/make.confTom Rhodes2002-11-221-3/+89
| | | | | | | | | | | | | | | | | | PR: 45470 Approved by: re (bmah) Submitted by: Carl Schmidt <carl@slackerbsd.org> (original version) Notes: svn path=/head/; revision=107174
* | According to the ACPI spec, the bus number of the child PCI bus of a hostJohn Baldwin2002-11-221-7/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to PCI bridge can be read be evaluating the _BBN method of the host to PCI device. Unfortunately, there appear to be some lazy/ignorant/moronic/ whatever BIOS writers that return 0 for _BBN for all host to PCI bridges in the system. On a system with a single host to PCI bridge this is not a problem as the child bus of that single bridge will be bus 0 anyway. However, on systems with multiple host to PCI bridges and l/i/m/w BIOS writers this is a major problem resulting in all but the first host to PCI bridge failing to attach. So, this adds a workaround. If the _BBN of a host to PCI bridge is zero and pcib0 already exists and is not us, the we use _ADR to look up our PCI function and slot (we currently assume we are on bus 0) and use that to call host_pcib_get_busno() to try and extract our bus number from config registers on the host to PCI bridge device. If that fails, then we make an evil assumption that ACPI's _SB_ namespace lays out the host to PCI bridges in ascending order and use our pcib unit number as our bus number. Approved by: re Notes: svn path=/head/; revision=107173
* | Add a function host_pcib_get_bnsno() that attempts to determine the busJohn Baldwin2002-11-222-0/+85
| | | | | | | | | | | | | | | | | | | | number of the child bus of a host to PCI bridge by reading from proprietary configuration registers in the host to PCI bridge devices. Approved by: re Notes: svn path=/head/; revision=107172
* | Clarify adjkerntz(8) note and use complete sentences in comments.Tom Hukins2002-11-221-6/+5
| | | | | | | | | | | | | | | | PR: misc/45493 Approved by: re (rwatson) Notes: svn path=/head/; revision=107171
* | Move lang/gnat from disc1 to disc3. (Possibly a moot point, since itBruce A. Mah2002-11-221-1/+1
| | | | | | | | | | | | | | | | | | doesn't build on CURRENT at the moment.) Approved by: re (murray) Notes: svn path=/head/; revision=107170
* | In _thread_enter_uts, fix eflags saving bug.David Xu2002-11-223-8/+17
| | | | | | | | | | | | | | | | | | | | | | In _thread_switch, set current thread pointer in kse mailbox only after all registers copied out of thread mailbox, kernel will do upcall at trap time, if set current thread pointer before loading all registers from thread mailbox, at trap time, the thread mailbox data will be overwritten by kernel, result is junk data is loaded into CPU. Notes: svn path=/head/; revision=107169
* | Fix context restore bug.David Xu2002-11-221-10/+16
| | | | | | | | Notes: svn path=/head/; revision=107167
* | Don't flip the "we're it" bit until we are all there..Julian Elischer2002-11-221-9/+10
| | | | | | | | | | | | | | | | (don't fill in the mailbox pointer until we have unloaded all the previous contents of the mailbox context block) Notes: svn path=/head/; revision=107165