summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a driver for the new LSI MegaRAID SAS controller family. The 'MFI' namescottl2006-03-257-0/+2687
| | | | | | | | | | | | is derived from the phrase 'MegaRAID Firmware Interface' used by LSI. This driver provides a block interface to logical disks on the card and a minimal management device. It is MPSAFE, INTR_FAST, and 64-bit capable. Thanks to Dell for providing hardware to test with and IronPort for sponsoring the work. Sponsored by: Dell, Ironport MFC After: 3 days
* Only wake up writer if the lock is free.davidxu2006-03-251-2/+2
|
* Compile thr_rtld.cdavidxu2006-03-251-0/+1
|
* Add locking support for rtld.davidxu2006-03-254-4/+229
|
* Make gcore(1) 64 bit safe. It was trying to parse the /proc/*/map filepeter2006-03-251-3/+3
| | | | | | | | | using sscanf and truncating the start/end entries by writing them with a 32 bit int descriptor (%x). The upper bytes of the 64 bit vm_offset_t variables (for little endian machines) were uninitialized. For big endian machines, things would have been worse because it was storing the 32 bit value in the upper half of the 64 bit variable. I've changed it to use %lx and long types. That should work on all our platforms.
* fixed a potential memory leaksuz2006-03-241-1/+3
| | | | | Obtained from: KAME MFC after: 1 day
* Only set the size of /usr to whatever-is-left is whatever-is-left iscperciva2006-03-242-0/+2
| | | | | | | | greater than the size we autosized. Without this fix, systems with drives under 10GB can end up with very small /usr partitions... Broken since: January 2002 Tripped over by: simon
* Convert TINY_MIN_2POW from a cpp macro to tiny_min_2pow (a variable), andjasone2006-03-241-21/+37
| | | | | | | | | | | | | | | determine its value at run time according to other relevant values. This avoids the creation of runs that are incompletely utilized, as long as pagesize isn't too large (>32kB, given the current RUN_MIN_REGS_2POW setting). Increase the size of several structure bitfields in arena_run_t in order to avoid integer overflow in the case that a run's header does not overlap with the space that is usable as application allocation regions. Given the tiny_min_2pow change, this fix has no additional impact unless pagesize is >32kB. Reported by: kris
* Include kernel.h to get NET_NEEDS_GIANT() definition, which for somerwatson2006-03-241-0/+1
| | | | | | | reason compiled fine here. I may be running with other include file changes locally. MFC after: 3 days
* stop device so we don't panic on card removal when activesam2006-03-241-0/+1
| | | | MFC after: 3 days
* Change the -S and -t options to override each other so that the last onejhb2006-03-242-0/+10
| | | | specified wins to make their interaction less confusing.
* Fix a bug such that if you enabled sorting by size (-S) and enabled ajhb2006-03-241-4/+4
| | | | | | | | | flag to use a time other than modtime (-c, -u, or -U), the output would actually be sorted by the specified time rather than size. This does alter the behavior in the case where both -S and -t are specified. Now, -S is always preferred. Previously, -t was preferred if one of -c, -u, or -U was specified, and -S was preferred otherwise. Perhaps -S and -t should override each other (last one specified wins).
* Add a few more references to -U.jhb2006-03-241-4/+4
|
* Add a new -U flag to instruct ls to use the birthtime for printing orjhb2006-03-247-4/+49
| | | | | | | sorting. Submitted by: Andrzej Tobola ato at iem dot pw dot edu dot pl MFC after: 1 week
* fixed a memory leak when net.inet6.icmp6.nd6_maxqueuelen is greater than 1suz2006-03-241-4/+26
| | | | | Obtained from: KAME MFC after: 3 days
* Clean up and style(9) SPX code prior to significant functional changesrwatson2006-03-242-216/+258
| | | | | | | | | | | | | | being committed: - Wrap comments more evenly on right border. - Clean up braces. Also, along similar lines: - Assert some pointers are non-NULL before dereferencing them. - Remove one assertion that looks, on face value, poor. MFC after: 1 month
* When res_nquerydomain() returns SERVFAIL, we should try next domain.ume2006-03-242-5/+26
|
* For each of the voltages that a card might support, make sure that theimp2006-03-241-4/+4
| | | | | | | | | | socket also supports the voltage. Some XV cards have appeared on the scene (or cards that report they support XV), and in older machines that have sockets that do not support XV, we were bogusly trying to power them at XV rather than at 3.3V. Now, power up the card at the lowest voltage supported by both the card and the socket. MFC After: 3 days
* Skeleton support for the SSC device, which implements I2S interfaces,imp2006-03-242-0/+297
| | | | amoung others.
* Typesetting fix for -r1.137.mckusick2006-03-241-2/+4
| | | | | | | If a tail queue is empty the return value of TAILQ_LAST is not undefined, it is NULL. Submitted by: Ruslan Ermilov <ru@FreeBSD.org>
* Skeleton PIO support.imp2006-03-242-0/+336
|
* Add the sekelton of support for the Power Management Controller.imp2006-03-243-0/+588
|
* Add rtc to files.at91imp2006-03-241-0/+1
|
* Add RTC support. This may be of dubious value since the RTC is resetimp2006-03-242-0/+333
| | | | to 1998 every reboot.
* Add explicit dependency on cam. This is necessary when both aha.ko andimp2006-03-242-0/+2
| | | | | | | | cam.ko are modules so that aha.ko's undefined symbols can be satisfied by cam.ko. Sumitted by: nork Reviewed by: scottl
* The year field is the 4 digit year (eg, 2006), not 'year - 1900' (egimp2006-03-241-1/+1
| | | | 106). Fix the comment to reflect this.
* Option MK_LIB32 only exists on amd64.ru2006-03-241-2/+6
|
* When res_send() fails, we should reserve an error code.ume2006-03-241-2/+2
|
* set an upper limit for thread structures which can be allocated.davidxu2006-03-241-1/+12
|
* Implement SIGEV_THREAD notification for aio_fsync.davidxu2006-03-241-18/+55
|
* 1. Move code for scanning pending I/O from aio_fsync to aio_aqueue,davidxu2006-03-241-77/+51
| | | | | it has less overhead. 2. Avoid scheduling task if maximum number of I/O threads is reached.
* Add USE_BRK-specific code in malloc_init_hard() to allow the firstjasone2006-03-241-65/+110
| | | | | | | | | | | | | | | | | | | internally used chunk to start at the beginning of the heap, rather than at a chunk-aligned address. This reduces mapped memory somewhat for 32-bit architectures. Add the arena_run_link_t type and use it wherever a run object is only used as a ring 'header'. This saves approximately 40 kB of memory per arena. Remove an obsolete (no longer used) code path from base_alloc(), which supported the internal allocation of objects larger than the chunk size. Enhance chunk_dealloc() to cache chunk addresses for all deallocated chunks. This has no impact for most programs, but has the potential to reduce VM map fragmentation for programs that use huge allocations.
* Protect spx_iss using its own mutex, spx_mtx, rather than piggy-backingrwatson2006-03-241-1/+11
| | | | | | | on the global IPX mutex, which is not held at all necessary strategic points. MFC after: 1 month
* Move definition of spxrexmtthresh to top of file with other globalrwatson2006-03-241-2/+1
| | | | | | variables. MFC after: 1 month
* Canonicalize, update copyright.rwatson2006-03-241-102/+52
| | | | | | | Remove 'register'. Use ANSI prototypes, not K&R. MFC after: 1 month
* Update copyright to 2006, comment on my contribution to this code in therwatson2006-03-241-1/+4
| | | | | | style of previous contributors. MFC after: 1 month
* Comment that raw output filter code for IPX should run in a netisr so asrwatson2006-03-241-0/+4
| | | | | | | to avoid recursing the socket code, as this input path can run in the call stack of an output path. MFC after: 1 month
* Document that the documented 2GB mmap limit is actually apeter2006-03-231-22/+8
| | | | | | | | documentation bug. We switched to page indexes some time around FreeBSD 2.2. The actual 'len' limit is the maximum file size or what will fit in your address space, whichever comes first. It should be possible to make 1TB files on 32 bit systems, but of course address space runs out long before then.
* Allow to use fast_ipsec(4) on debug.mpsafenet=0 and INVARIANTS-enabledpjd2006-03-233-11/+44
| | | | | | systems. Without the change it will panic on assertions. MFC after: 2 weeks
* When the kernel is compiled with options IPXIP, run the network stackrwatson2006-03-231-0/+2
| | | | | | | | with Giant, as there is current unsafety in the IPX tunneled over IP code. There have been no reports of trouble, but there probably would be if anyone were running this code at high speed on SMP systems. MFC after: 3 days
* add support for copying console messages to a remote gdbsam2006-03-234-2/+186
| | | | Reviewed by: kan
* Fix a bug in the NFS/TCP retransmission path.kris2006-03-231-0/+1
| | | | | | | | | | | | | | | | | The bug was that earlier, if a request was retransmitted, we would do subsequent retransmits every 10 msecs. This can cause data corruption under moderate loads by reordering operations as seen by the client NFS attribute cache, and on the server side when the retransmission occurs after the original request has left the duplicate cache, since the operation will be committed for a second time. Further work on retransmission handling is needed (e.g. they are still being done sent too often since they are scaled by HZ, and the size of the dup cache is too small and easily overwhelmed on busy servers). Submitted by: mohans
* m_dup () packet not m_copypacket () since we will modify it. For morerik2006-03-231-2/+11
| | | | | | | | | | | details see PR kern/94448. PR: kern/94448 Original patch: Eygene A. Ryabinkin <rea-fbsd at rea dot mbslab dot kiae dot ru>Final patch: thompsa@ Tested by: thompsa@, Eygene A. Ryabinkin MFC after: 7 days
* Fix utmp. There is some clever logic in configure.ac which attempts todes2006-03-231-2/+2
| | | | | | | | determine whether struct utmp contains the ut_host and ut_time fields. Unfortunately, it reports a false negative for both on FreeBSD, and I didn't check the resulting config.h closely enough to catch the error. Noticed by: ache
* Add proper dependencies for the version map, and make sure 'make clean'des2006-03-231-1/+4
| | | | | | removes it if it was generated. Reviewed by: ru
* Fix whitespace.le2006-03-231-1/+1
|
* Implement the 'resetconfig' command.le2006-03-235-4/+88
| | | | | PR: kern/94835 Submitted by: Ulf Lilleengen <lulf@stud.ntnu.no>
* Move spx_savesi from being a global variable to an automatically allocatedrwatson2006-03-232-3/+3
| | | | | | | | variable on the spx_input() stack. It's not very large, and this will avoid parallelism issues when spx_input() runs in more than one thread at a time. MFC after: 1 month
* Admit to ourselves that we don't actually implement pr_ctlinput() forrwatson2006-03-232-44/+2
| | | | | | IPX or SPX, as the code in the implementing functions is essentially a no-op. Replace with a comment indicating we don't implement these currently.
* It's not enough to provide symbol map files; you also have to add themdes2006-03-233-0/+6
| | | | | | to ${SYM_MAPS}. This unbreaks world with SYMVER_ENABLED. Pointy hat to: ume
OpenPOWER on IntegriCloud