summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update dialog to version 20100428. This changes the license under whichnwhitehorn2011-01-12363-1541/+61311
| | | | | | | | | | | | | dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new features and a new and better libdialog API. The existing libdialog will be kept temporarily as libodialog for compatibility purposes until sade, sysinstall and tzsetup have been either updated or replaced. __FreeBSD_version is now 900030. Discussed on: -current Approved by: core Obtained from: http://invisible-island.net/dialog
* Add a note that when custom signal handler is installed for a signal,pjd2011-01-121-0/+5
| | | | | | | | | signal action is restored to default in child after fork(2). In this case there is no need to do anything with dummy SIGCHLD handler, because after fork(2) it will be automatically reverted to SIG_IGN. Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 3 days
* Install default signal handlers before masking signals we want to handle.pjd2011-01-121-0/+8
| | | | | | | | | | | | | It is possible that the parent process ignores some of them and sigtimedwait() will never see them, eventhough they are masked. The most common situation for this to happen is boot process where init(8) ignores SIGHUP before starting to execute /etc/rc. This in turn caused hastd(8) to ignore SIGHUP. Reported by: trasz Obtained from: Wheel Systems Sp. z o.o. http://www.wheelsystems.com MFC after: 3 days
* Sector size can not be greater than MAXPHYS. Since GRAID3 calculatesae2011-01-122-0/+9
| | | | | | | | sector size from user-specified block size, report to user about big blocksize. PR: kern/147851 MFC after: 1 week
* The message ring interrupt needs to be enabled for all cpus, not justjchandra2011-01-121-65/+52
| | | | | | | | | | | | | the ones which run the message ring handler. Some bits of the interrupt mask are part of the status register which is saved with the process context, and these bits are initialized from the cpu on which the process is created. This means that all the processes should have the same value for these interrupt mask bits, so that the interrupt mask remains the same regardless of what thread is scheduled on the cpu. Submitted by: Sriram Gorti (srgorti at netlogicmicro dot com)
* Sector size can not be greater than MAXPHYS.ae2011-01-121-0/+4
| | | | MFC after: 1 week
* Provide up-to-date estimates that are pessimal today...imp2011-01-121-1/+2
|
* For re(4) controllers that uses new jumbo frame scheme(RTL8168C/D/E),yongari2011-01-121-2/+7
| | | | | | | | | | | | | | | | | | | limit maximum RX buffer size to RE_RX_DESC_BUFLEN instead of blindly configuring it to 16KB. Due to lack of documentation, re(4) didn't allow jumbo frame on these controllers. However it seems controller is confused with jumbo frame such that it can DMA the received frame to wrong address instead of splitting it into multiple RX buffers. Of course, this caused panic. Since re(4) does not support jumbo frames on these controllers, make controller drop frame that is longer than RE_RX_DESC_BUFLEN sized frame. Fortunately RTL810x controllers, which do not support jumbo frame, have no such issues but this change also limited maximum RX buffer size allowed to RTL810x controllers. Allowing 16KB RX buffer for controllers that have no such capability is meaningless. MFC after: 3 days
* A couple problems discovered by Andrew Boyer:jfv2011-01-121-3/+11
| | | | | | | | | - failure code in em_xmit got mangled along the way and was not properly handling errors. - local timer code had a leftover UNLOCK call that should be removed. MFC after 3 days
* Proving once again, I can't typo: fix a type.imp2011-01-111-1/+1
|
* - Retire some unused ithread priorities: PI_TTYHIGH, PI_TAPE, andjhb2011-01-112-22/+11
| | | | | | PI_DISKLOW. While here, rename PI_TTYLOW to PI_TTY. - Add a macro PI_SWI() that takes a SWI_* constant as an argument and returns the suitable thread priority.
* Always use PRI_BASE() when checking the base type of a thread's priorityjhb2011-01-111-2/+2
| | | | | | class. MFC after: 2 weeks
* Don't re-use MODINFOMD_BOOTINFO as MODINFOMD_DTBP. It breaksmarcel2011-01-111-1/+2
| | | | | compatibility without any means for the kernel to work with an older loader.
* Add manpage for runfw, the Ralink RT2700U, RT2800U and RT3000U firmwarethompsa2011-01-113-6/+65
| | | | | | module. Also fix a few nits in run.4. Submitted by: Akinori Furukoshi
* Allow runfw(4) to be compiled in to the kernel.thompsa2011-01-111-0/+14
| | | | Submitted by: Akinori Furukoshi
* Add new functions, fcu_fan_set_pwm and fcu_fan_get_pwm, to set and getandreast2011-01-111-58/+172
| | | | | | | | | | | | | the pwm values. We can now set the fan's speed of a PWM controlled fan with % numbers between 30 and 100 % instead of trying to model a % number based on rpm. The fcu chip offers both, the dutycycle and the rpm value of the PWM controlled fans. I added the rpm value to the list of information available via sysctl(8). Tested by: Paul Mather <paul at gromit dlib vt edu> Approved by: nwhitehorn (mentor)
* Work around a witness(4) panic introduced in r217238.jkim2011-01-111-8/+26
| | | | Reported by: jh
* Fix a witness(4) warning introduced in r217238.jkim2011-01-111-13/+18
|
* Update the uplcom(4) man page to reflect the devices currently supported bygavin2011-01-111-10/+78
| | | | | | uplcom(4). MFC after: 1 week
* Improve or fix some comments. No functional change.gavin2011-01-111-10/+10
| | | | MFC after: 1 week
* Minor improvements in the wording of a comment. Document tinderbox target.imp2011-01-111-1/+3
|
* Remove unneeded includes of <sys/linker_set.h>. Other headers that usejhb2011-01-11109-109/+0
| | | | | | it internally contain nested includes. Reviewed by: bde
* Remove a bullet point that appears to have been accidentally inserted twice.gavin2011-01-111-1/+0
| | | | | | | It has also been included within the feature lists to which it is relevant. Submitted by: tobez MFC after: 1 week
* Remove redundant check.ae2011-01-111-2/+1
| | | | MFC after: 1 week
* Round GNOP provider's mediasize to its sectorsize. This prevents KASSERTae2011-01-111-0/+2
| | | | | | | in g_io_request when geom classes doing tasting. PR: kern/147852 MFC after: 1 week
* Initialize PCIe buses and add preliminary support for 64-bit BARs.jmallett2011-01-111-215/+321
|
* Fix a typo.davidxu2011-01-111-1/+1
| | | | Submitted by: avg
* Fixe some whitespace nits that were introduced in r216758.lstewart2011-01-111-7/+7
| | | | | | | Sponsored by: FreeBSD Foundation Submitted by: pjd MFC after: 10 weeks X-MFC with: r216758
* Fix hhook_head_is_virtualised() so that "ret" can't be used uninitialised.lstewart2011-01-111-4/+5
| | | | | | | Sponsored by: FreeBSD Foundation Submitted by: pjd MFC after: 9 weeks X-MFC with: r216615
* Fix some minor style/readability nits in hhook.lstewart2011-01-111-6/+3
| | | | | | | Sponsored by: FreeBSD Foundation Submitted by: pjd MFC after: 9 weeks X-MFC with: r216615
* When driver is not running, do not send DUMP command to controlleryongari2011-01-101-0/+5
| | | | | | and just show old (cached) values. Controller will not respond to the command unless MAC is enabled so DUMP request for down interface caused request timeout.
* Implement TSO on RealTek RTL8168/8111 C or later controllers.yongari2011-01-102-21/+21
| | | | | | | | | | | | RealTek changed TX descriptor format for later controllers so these controllers require MSS configuration in different location of TX descriptor. TSO is enabled by default for controllers that use new descriptor format. For old controllers, TSO is still disabled by default due to broken frames under certain conditions but users can enable it. Special thanks to Hayes Wang at RealTek. MFC after: 2 weeks
* Add IDs for HighPoint RocketRAID 64x controllers.mav2011-01-101-0/+2
| | | | | | | | | | | | These controllers consist of two Marvell 88SE9128 6Gbps SATA chips and PLX PCIe bridge. As result, they seem to be agree to work with ahci(4) as usual HBAs. The only noticed issue is that RAID BIOS disables all drive caches during boot, though `camcontrol cmd ...` is able to fix that. Those who wants RAID functionality can still use closed proprietary driver from HighPoint site. MFC after: 1 week
* Count output bytes and packets.jmallett2011-01-102-2/+8
|
* Shorten device name so it fits into vmstat -i.jmallett2011-01-101-3/+3
|
* Fix a bug in the client side krpc where it was, sometimesrmacklem2011-01-103-17/+10
| | | | | | | | | | | | | | erroneously, assumed that 4 bytes of data were in the first mbuf of a list by replacing the bcopy() with m_copydata(). Also, replace the uses of m_pullup(), which can fail for reasons other than not enough data, with m_copydata(). For the cases where it isn't known that there is enough data in the mbuf list, check first via m_len and m_length(). This is believed to fix a problem reported by dpd at dpdtech.com and george+freebsd at m5p.com. Reviewed by: jhb MFC after: 8 days
* Remove impossible error conditions.jkim2011-01-101-4/+2
|
* Add forgotten free(9) in the previous commit for an error case.jkim2011-01-101-0/+1
|
* Add a nested include of <sys/linker_set.h> to make the sysctl(9) manpagejhb2011-01-101-0/+2
| | | | | | | | | accurate. <sys/linker_set.h> is one of the very few headers similar to <sys/queue.h> for which nested includes is allowed. PR: docs/153654 Reviewed by: bde MFC after: 1 month
* Allow AcpiOsInstallInterruptHandler() and AcpiOsRemoveInterruptHandler() tojkim2011-01-102-84/+149
| | | | | | | | | install or remove non-SCI interrupt handlers per ACPI Component Architecture User Guide and Programmer Reference. ACPICA may install such interrupt handler when a GPE block device is found, for example. Add a wrapper for ACPI_OSD_HANDLER, convert its return values to ours, and make it a filter. Prefer KASSERT(9) over panic(9) as we have never seen those in reality. Clean up some style(9) nits and add my copyright.
* Fix two harmless off-by-one errors.jhb2011-01-101-3/+3
| | | | | Reviewed by: jeff MFC after: 2 weeks
* Prefer KASSERT(9) over panic(9) as it was never seen in reality.jkim2011-01-101-2/+1
|
* Add support for using encrypted password strings when settingjpaetzel2011-01-103-10/+40
| | | | | | | | the root / user passwords PR: bin/152868 Submitted by: kmoore Approved by: imp
* Patch pc-sysinstall to deal with 4k sector size drivesjpaetzel2011-01-102-257/+129
| | | | | | PR: bin/151967 Submitted by: kmoore Approved by: imp
* Apply DMA address space restriction to controllers that have 4GByongari2011-01-101-1/+11
| | | | | | | | | | | | DMA boundary bug and runs with PCI-X mode. watchdog timeout was observed on BCM5704 which lives behind certain PCI-X bridge(e.g. AMD 8131 PCI-X bridge). It's still not clear whether the root cause came from that PCI-X bridge or not. The watchdog timeout indicates the issue is in TX path. If the bridge reorders TX mailbox write accesses it would generate all kinds of problems but I'm not sure. This should be revisited. Tested by: Michael L. Squires (mikes <> siralan dot org)
* Backout r216973 and r216970. r216973 didn't solve watchdog timeoutyongari2011-01-101-11/+1
| | | | | | | issue seen on PCIX BCM5704 controller. r216970 fixed the issue but the DMA address space restriction was applied to all bge(4) controllers such that it caused unnecessary performance degradation for controllers that have no such issues.
* For the process that already loaded libthr but still not initializedkib2011-01-101-0/+26
| | | | | | | threading, fall back to libc method of performing __pthread_map_stacks_exec() job. Reported and tested by: Mykola Dzham <i levsha me>
* get_program_var_addr() must prefer the strong symbol to the weakkib2011-01-101-65/+84
| | | | | | | | | | | | | | one. Search global objects, together with main object and dependencies, for the requested symbol. Move the common code from symlook_default() into new helper symlook_global(), and use it both in symlook_global() and get_program_var_addr(). Supply lock state to get_program_var_addr(). Reviewed by: kan Tested by: Mykola Dzham <i levsha me>
* o) Free mbufs in error cases.jmallett2011-01-101-0/+6
| | | | | | o) Clear/acknowledge receive interrupt at end of thread. This gives the management interfaces performance on the order of 100Mbps rather than the previous level of 10Mbps on my MR-730.
* Reset the last_sack_ack SACK hint for TCP input processing to ensure that thelstewart2011-01-101-0/+1
| | | | | | | | | hint is 0 when no SACK data is received to update the hint with. This was accidentally omitted from r216753. Sponsored by: FreeBSD Foundation MFC after: 10 weeks X-MFC with: 216753
OpenPOWER on IntegriCloud