summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* This time get it rightjulian2002-04-161-2/+1
|
* Makefile for the myson driver.julian2002-04-161-0/+9
|
* Add entry for the myson ethernet driverjulian2002-04-161-0/+1
| | | | Submitted by: Myson , Taiwan
* Scale back # of luns supported for SCC to 16384- oops- top 3 bits are amjacob2002-04-163-28/+112
| | | | | | | | | | | | lun address modifier of sorts. Only an HP XP-512 seems to have cared. Fix a few misplaced pointers for the new fabric goop, which has been demonstrated to work on newer Brocades and McData switches now. Put in commented out code which would run GFF_ID if the QLogic f/w allowed it. Don't whine about not being able to find a handle for a command if it was a command aborted (by us).
* Diff reduction to 4.x version.julian2002-04-161-44/+41
|
* Lock proctree_lock instead of pgrpsess_lock.jhb2002-04-1610-31/+31
|
* - Lock proctree_lock instead of pgrpsess_lock.jhb2002-04-162-39/+42
| | | | | | - Use temporary variables to hold a pointer to a pgrp while we dink with it while not holding either the associated proc lock or proctree_lock. It is in theory possible that p->p_pgrp could change out from under us.
* - Lock proctree_lock instead of pgrpsess_lock.jhb2002-04-161-35/+20
| | | | - Simplify return logic of setsid() and setpgid().
* - Lock proctree_lock instead of pgrpsess_lock.jhb2002-04-162-8/+8
| | | | - Exclusively lock proctree_lock while calling leavepgrp().
* - Merge the pgrpsess_lock and proctree_lock sx locks into one proctree_lockjhb2002-04-163-30/+17
| | | | | | | | | | | | sx lock. Trying to get the lock order between these locks was getting too complicated as the locking in wait1() was being fixed. - leavepgrp() now requires an exclusive lock of proctree_lock to be held when it is called. - fixjobc() no longer gets a shared lock of proctree_lock now that it requires an xlock be held by the caller. - Locking notes in sys/proc.h are adjusted to note that everything that used to be protected by the pgrpsess_lock is now protected by the proctree_lock.
* Correct a comment.benno2002-04-163-3/+3
|
* Implement the following functions:benno2002-04-163-24/+216
| | | | | | | | | - pmap_kextract - pmap_object_init_pt - pmap_protect - pmap_remove_pages I'm pretty sure pmap_remove_pages is at least somewhat bogus.
* Remove some dead code.benno2002-04-163-48/+0
|
* Use mtsrin() instead of inline asm.benno2002-04-163-9/+6
|
* Change the value of PMAP_BOOTSTRAP so we don't stomp on the PTE index value.benno2002-04-163-3/+3
|
* Add inlines for mtsrin and mfsrin.benno2002-04-161-0/+17
|
* Add support for the nVIDIA nForce ATA controller.sos2002-04-162-58/+50
| | | | | Collapse the VIA/AMD/nVIDIA support code into one, they are created more or less equal anyway..
* Merge from OpenBSD's fixes:imp2002-04-162-278/+278
| | | | | | | | | | o move timeout from wihap_info to wihap_sta_info o sprinkle spls into the code (need to use proper -current locking) o better use of le16toh and htole16 o fix a few leaks m_freem(m) o minor knf o minor de-knf to match OpenBSD o de__P
* Minor format nitimp2002-04-161-1/+0
|
* Remove code that updates vm->vm_ssize. This duplicates work alreadyalc2002-04-161-20/+0
| | | | performed by vm_map_growstack().
* Remove code that updates vm->vm_ssize. This duplicates work already performedalc2002-04-161-20/+0
| | | | by vm_map_growstack().
* Cast another bus_addr_t to long long for a printf to quiet a warning onjhb2002-04-161-1/+2
| | | | alpha.
* - Nuke fore_pci_device.arr2002-04-161-67/+41
| | | | | | | | | - Add a device_method_t array, fore_methods. - Add a fore_ident_table that contains the various FORE Systems PCA-200 series devices. - Rewrite of the fore_probe routine (formerly known as fore_pci_probe). - Minor changes... mostly WIP stuff to get this updated... still much to be done.
* - Remove PCA-200E definition -- this will be re-added in the commit toarr2002-04-161-1/+0
| | | | | fore_load.c that will add ``fore_ident_table'' which holds various types of FORE Systems PCA-200 series devices.
* pal.s is no longer needed for the kernel to build with Gcc. We now useobrien2002-04-151-1/+0
| | | | in-line macros. pal.s remains however for use by Compaq 'ccc' some day.
* Remove the .stab directives. I do not understand what is different aboutobrien2002-04-152-4/+1
| | | | | | | | | Gcc 3.1's 'cpp' vs. 2.95.3's. Maybe it is due to other code movement and it just shows up weirdly in handling the .stab's. Anyway, w/o this change building a kernel gives: alpha/alpha/pal.s:75: relocation truncated to fit: REFLONG .text alpha/alpha/prom_disp.s:67: relocation truncated to fit: REFLONG .text
* Remove two debug printfs which should never have been committed.phk2002-04-151-4/+0
|
* You have to cast int64_t's to long long if you printf them with %lld.jhb2002-04-151-2/+2
| | | | | | This now compiles on alpha without a warning. Pointy-hat to: phk
* Recognize the AC97 interface to the onboard sound controller on the Nvidiajhb2002-04-151-0/+4
| | | | | | | | nForce chipset. Playback at least seems to work fine with the ich driver out of the box. Sponsored by: The Weather Channel Help from: cg
* Sync with UDF p4 tree: Use POSIX integer types instead of BSD types.asmodai2002-04-154-159/+159
|
* Document WITNESS_PROFILING.des2002-04-151-0/+22
| | | | Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
* Use bus_addr_t instead of u_int for local variables that are derived fromjhb2002-04-151-5/+5
| | | | | | the per-channel bus_addr_t offset. Also, cast the offset to (long long) and use %#llx instead of %#x to fix printf warnings on architectures where sizeof(bus_addr_t) != sizeof(int).
* Fix some nits in AMD AGP driver. Remove excess malloc and move a bzerocokane2002-04-152-20/+6
| | | | | | | out of the way, so it won't cause trouble. Submitted by: Frank Mayher <frank@exit.com> MFC after: 1 week
* Fix an "oops!" that turned out to be mostly harmless (but gave a warning).peter2002-04-152-6/+6
| | | | | | | I did this right on the sparc64. Store the direct mapped addresses in the correct variables. Submitted by: jake
* Pass vm_page_t instead of physical addresses to pmap_zero_page[_area]()peter2002-04-1512-76/+73
| | | | | | | | | | | and pmap_copy_page(). This gets rid of a couple more physical addresses in upper layers, with the eventual aim of supporting PAE and dealing with the physical addressing mostly within pmap. (We will need either 64 bit physical addresses or page indexes, possibly both depending on the circumstances. Leaving this to pmap itself gives more flexibilitly.) Reviewed by: jake Tested on: i386, ia64 and (I believe) sparc64. (my alpha was hosed)
* Remove a spurious warning as x is always initialised before use.roberto2002-04-151-1/+1
| | | | | | | | es137x.c: In function `es1371_rdcd': es137x.c:598: warning: `x' might be used uninitialized in this function PR: kern/35408 Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
* MFi386: revision 1.7.nyan2002-04-151-1/+1
|
* Add ofwd to the GENERIC config for powerpc.benno2002-04-152-0/+2
|
* Add a nexus device.benno2002-04-153-0/+517
| | | | Copied from: sparc64
* Improve the implementation of adjtime(2).phk2002-04-155-96/+78
| | | | | | | | | | | | | | | | | | | | | | | Apply the change as a continuous slew rather than as a series of discrete steps and make it possible to adjust arbitraryly huge amounts of time in either direction. In practice this is done by hooking into the same once-per-second loop as the NTP PLL and setting a suitable frequency offset deducting the amount slewed from the remainder. If the remaining delta is larger than 1 second we slew at 5000PPM (5msec/sec), for a delta less than a second we slew at 500PPM (500usec/sec) and for the last one second period we will slew at whatever rate (less than 500PPM) it takes to eliminate the delta entirely. The old implementation stepped the clock a number of microseconds every HZ to acheive the same effect, using the same rates of change. Eliminate the global variables tickadj, tickdelta and timedelta and their various use and initializations. This removes the most significant obstacle to running timecounter and NTP housekeeping from a timeout rather than hardclock.
* Turn some CTR's into CTR0's.benno2002-04-153-6/+6
|
* Take the "tickadj" element out of struct clockinfo. Our adjtime(2)phk2002-04-152-2/+0
| | | | | implementation is being changed and the very concept of tickadj will no longer be meaningful.
* GC an extraneous prototype of delay().benno2002-04-151-1/+0
|
* Basic OpenFirmware disk driver. It will attach to anything in OpenFirmwarebenno2002-04-151-0/+261
| | | | | | | that declares itself to be a disk, which may be the wrong thing to do in the long term but it works well enough to attach to emulated disks in the PowerPC simulator in gdb now that they have the proper device_type property.
* Grab a major number for OpenFirmware disk devices.benno2002-04-151-0/+1
|
* option<space><tab>obrien2002-04-151-12/+12
|
* In the ntp_adjtime(2) syscall, return our actual estimate of unappliedphk2002-04-151-2/+2
| | | | offset correction instead of the most recent offset applied.
* Finish adding support code for sysctl kern.mprof. This dumps some mallocjeff2002-04-151-11/+68
| | | | | | | | | | | | | | | | | information related to bucket size effeciency. Three things are printed on each row: Size is the size the user actually asked for rounded to 16 bytes. Requests is the number of times this size was asked for. Real Size is the size we actually handed out. At the end the total memory used and total waste is displayed. Currently my system displays about 33% wasted memory. The intent of this code is to gather statistics for tuning the malloc bucket sizes. It is not intended to be run with INVARIANTS and it is not entirely mp safe. It can be enabled via 'options MALLOC_PROFILE' which was commited earlier.
* Remove malloc_type's ks_limit.jeff2002-04-152-88/+136
| | | | | | | | | | | | Updated the kmemzones logic such that the ks_size bitmap can be used as an index into it to report the size of the zone used. Create the kern.malloc sysctl which replaces the kvm mechanism to report similar data. This will provide an easy place for statistics aggregation if malloc_type statistics become per cpu data. Add some code ifdef'd under MALLOC_PROFILING to facilitate a tool for sizing the malloc buckets.
* Don't peak into the malloc_type structure for limits. The desired vnodesjeff2002-04-151-2/+1
| | | | | check should be sufficient. This is required for the pending removal of malloc_type limits.
OpenPOWER on IntegriCloud