summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Re-enable the HPET timer after a resume.njl2007-03-281-0/+13
| | | | | Submitted by: Andrea Bittau <a.bittau@cs.ucl.ac.uk> MFC after: 3 days
* Try to silence Coverity by adding (void) in front of function call.emax2007-03-281-1/+11
| | | | | | | Also add a comment, explaining why return value is not being checked. Requested by: netchild MFC after: 1 week
* New sentence -> new linebrueffer2007-03-281-1/+2
|
* Various buglets fixed (from submitter):imp2007-03-281-6/+7
| | | | | | | | | | | | | | | | | The changes to getstr() is so that the character that is passed in to it, is also processed just as the rest. I also removed one of the getc() calls otherwise you loose every second character. I also changed the strcpy of kname, so that it only happens if kname is '\0'. This is so that one can pass a kernel in through /boot.config. The last change to boot2.c is in parse(). If you tried to type a kernel name to boot, the first character was lost, the arg-- fix that. Submitted by: jhay
* Fix problem where memcmp would return true in the case where theimp2007-03-281-1/+1
| | | | | | character after the character that was the same. Submitted by: jhay
* Fix off by one error in length of the string.imp2007-03-281-1/+1
| | | | Submitted by: jhay
* Remove the run promotion/demotion machinery. Replace it with red-blackjasone2007-03-281-430/+219
| | | | | | | | | | | | | | | | | | | | | | | trees that track all non-full runs for each bin. Use the red-black trees to be able to guarantee that each new allocation is placed in the lowest address available in any non-full run. This change completes the transition to allocating from low addresses in order to reduce the retention of sparsely used chunks. If the run in current use by a bin becomes empty, deallocate the run rather than retaining it for later use. The previous behavior had the tendency to spread empty runs across multiple chunks, thus preventing the release of chunks that were completely unused. Generalize base_chunk_alloc() (and rename it to base_pages_alloc()) to handle allocation sizes larger than the chunk size, so that it is possible to support chunk sizes that are smaller than an arena object. Reduce the minimum chunk size from 64kB to 8kB. Optimize tracking of addresses for deleted chunks. Fix a statistics bug for huge allocations.
* o Add MosChip 9835 PCI Dual UART PCI id.maxim2007-03-281-0/+1
| | | | | | PR: kern/110967 Submitted by: Joseph Terner MFC after: 1 month
* Change macro in order to refer to FreeBSD 7.0 instead of 7.0BSD.jasone2007-03-281-2/+2
| | | | Reported by: Michal Mertl <mime@traveller.cz>
* For embedded UARTs compatible with the ns8250 family it is possiblemarcel2007-03-281-1/+3
| | | | | | | | | that the driver clock is identical to the processor or bus clock. This is the case for the PowerQUICC processor. When the clock is high enough, overflows happen in the calculation of the time it takes to send 1/10 of a character, used in delay loops. Fix the overflows so as to fix bugs in the delay loops that can cause either insufficient delays or excessive delays.
* When we match UARTs found during bus-enumeration with UARTs used formarcel2007-03-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | system devices (i.e. console, debug port or keyboard), don't stop after the first match. Find them all and keep track of the last. The reason for this change is that the low-level console is always added to the list of system devices first, with other devices added later. Since new devices are added to the list at the head, we have the console always at the end. When a debug port is using the same UART as the console, we would previously mark the "newbus" UART as a debug port instead of as a console. This would later result in a panic because no "newbus" device was associated with the console. By matching all possible system devices we would mark the "newbus" UART as a console and not as a debug port. While it is arguably better to be able to mark a "newbus" UART as both console and debug port, this fix is lightweight and allows a single UART to be used as the console as well as a debug port with only the aesthetic bug of not telling the user about it also being a debug port. Now that we match all possible system devices, update the rclk of the system devices with the rclk that was obtained through the bus attachment. It is generally true that clock information is more reliable when obtained from the parent bus than by means of some hardcoded or assumed value used early in the boot. This by virtue of having more context information. MFC after: 1 month
* Add support for the 82562GX chip within if_fxp.remko2007-03-281-0/+1
| | | | | | | PR: 110251 Submitted by: Vyacheslav Vovk Approved by: imp (mentor) MFC After: 3 days
* Add support for the RTL8110SC driver.remko2007-03-281-0/+2
| | | | | | | | PR: 110804 Submitted by: Daan Vreeken Sponsored by: Vitsch Electronics (patch) Approved by: imp (mentor) MFC After: 3 days
* Add method enabled() to the SCC interface. This method can be usedmarcel2007-03-283-0/+22
| | | | | | | | by driver backends to mark individual channels as enabled or not. The default implementation of this method always mark channels as enabled. This method is currently not used, but is added with the PowerQUICC in mind where the 2nd SCC channel can be disabled.
* Don't derference a pointer before setting it.mjacob2007-03-281-2/+2
| | | | | | Very Pointy Dunce Cap T o: me. Submitted by: Marcel MFC after: 3 days
* Do not build the libedit support if NO_LIBPTHREAD is defined.glebius2007-03-281-1/+1
| | | | | PR: bin/104478 Submitted by: Mike Durian <durian shadetreesoftware.com>
* Bump maximum number of interface hooks to the maximum possible value.glebius2007-03-282-1/+2
| | | | | | | | This will increase the memory consumption for more than 1 Mb, but this is required for operation on multiinterface access concentrators running mpd. Requested by: Alexander Motin
* When blackholing do a 'dropunlock' in the new world order to prevent theandre2007-03-282-2/+2
| | | | | | | INP_INFO_LOCK from leaking. Reported by: ache Found by: rwatson
* net.link.ether.inet.prune_intvl no longer exists.glebius2007-03-281-3/+1
|
* Reflect netcat and bzip2 updates.delphij2007-03-281-1/+4
|
* This commit was generated by cvs2svn to compensate for changes in r167984,delphij2007-03-281-2243/+0
| | | | which included commits to RCS files with non-trunk default branches.
* Reflect 1.0.4 import.delphij2007-03-281-4/+4
|
* This commit was generated by cvs2svn to compensate for changes in r167981,delphij2007-03-281-34/+0
| | | | which included commits to RCS files with non-trunk default branches.
* Update for bzip2 1.0.4 import: bzip2.info.gz gone.delphij2007-03-281-0/+2
|
* Update for bzip2 1.0.4 import.delphij2007-03-282-16/+0
|
* Resolve conflicts.delphij2007-03-281-70/+25
|
* bzip2.c: SA-05:14.bzip2 has been resolved by the authordelphij2007-03-281-147/+52
| | | | | | in a different way. Make the file just the same as it is in the vendor branch to make it easier for future upgrade.
* This commit was generated by cvs2svn to compensate for changes in r167974,delphij2007-03-2828-2785/+2578
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import (trimmed) of Bzip2 version 1.0.4.delphij2007-03-2830-2994/+2669
| |
* | Allow the range of a SCC class to be 0. This gives all childmarcel2007-03-281-5/+7
| | | | | | | | | | | | devices the same (overlapping) I/O range. This is useful for embedded communications controllers like the CPM of various models of the PowerQUICC.
* | Make consistent with style(msmith). 4 spaces indent, tab for each 2 indents.njl2007-03-284-7/+7
| |
* | o Trim unneeded backslash.maxim2007-03-281-1/+1
| |
* | o Actually add MLINKs for priv(9) functions.maxim2007-03-281-2/+2
| |
* | Update the IMPLEMENTATION NOTES section to reflect recent mallocjasone2007-03-281-13/+30
| | | | | | | | enhancements.
* | Remove some stray roff formatting that caused incorrect rendering.jasone2007-03-281-1/+0
| |
* | Add a HISTORY section.jasone2007-03-281-0/+5
| |
* | Resolve conflicts.delphij2007-03-282-30/+27
| |
* | This commit was generated by cvs2svn to compensate for changes in r167961,delphij2007-03-281-2/+3
|\ \ | | | | | | | | | which included commits to RCS files with non-trunk default branches.
| * | Import netcat as of today's OPENBSD_4_1 snapshot.delphij2007-03-283-30/+29
| | |
* | | Remove stale comment about not enabling inpcb and inpcbinfo lock assertionsrwatson2007-03-281-5/+0
| | | | | | | | | | | | | | | | | | when IPv6 is enabled. MFC after: 3 days
* | | New release notes:brueffer2007-03-271-8/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - priv(9) KPI added - ipw/iwi firmware in the base system Updated release notes: - OpenSSL updated to 0.9.8e - GNOME updated to 2.8.0 - acpi_dock(4) and acpi_hpet MFC - msk(4) MFC
* | | Clarify the definition of the watchdog kernel interface by moving a sentence upn_hibma2007-03-271-8/+6
| | | | | | | | | | | | to the sentence it references.
* | | Add MLINKs for priv(9) functions.brueffer2007-03-271-0/+2
| | |
* | | Revisit the watchdogs: Resetting the error to EINVAL after failing to set then_hibma2007-03-279-21/+15
| | | | | | | | | | | | | | | | | | | | | | | | watchdog might hide the succesful arming of an earlier one. Accept that on failing to arm any watchdog (because of non-supported timeouts) EOPNOTSUPP is returned instead of the more appropriate EINVAL. MFC after: 3 days
* | | Fix regression in rev. 1.140.glebius2007-03-271-6/+7
| | | | | | | | | | | | Reported by: Yuriy Tsibizov <Yuriy.Tsibizov gfk.ru>, bsam
* | | Sort.jhb2007-03-271-1/+1
| | |
* | | Don't assume the run bit is still set after a suspend.julian2007-03-271-0/+1
| | | | | | | | | | | | | | | Submitted by: Andrea Bittau ( adotbittauatcsdotucldotacdotuk) MFC After: 1 week
* | | Correct HPET header handling.takawata2007-03-272-3/+3
| | | | | | | | | | | | MFC after: 7 days
* | | Align 'struct thread' on 16 byte boundaries so that the lower 4 bits arejhb2007-03-272-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | always 0. Previously we aligned threads on a minimum of 8-byte boundaries. Note: This changes the uma zone to no longer cache align threads. We really want the uma zone to do align threads to MAX(16, cache line size) but there currently isn't a good way to express that to uma. Submitted by: attilio
* | | Fix a case where hardware removal of an interface caused an attempt tobms2007-03-272-5/+13
| | | | | | | | | | | | | | | | | | announce an ll_ifma which has gone away. Add a KASSERT to catch regressions. Bug found by: Tom Uffner
OpenPOWER on IntegriCloud