summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Extract the code that records syscall results in the frame into MDkib2009-11-1021-304/+419
| | | | | | | | | | | function cpu_set_syscall_retval(). Suggested by: marcel Reviewed by: marcel, davidxu PowerPC, ARM, ia64 changes: marcel Sparc64 tested and reviewed by: marius, also sunv reviewed MIPS tested by: gonzo MFC after: 1 month
* Check fork() return valuedes2009-11-101-2/+5
|
* Remove a bunch of code used to detect SMP on ((i386 && !pc98) || amd64) anddes2009-11-108-867/+1
| | | | | | | | | | | | | | | offer to install an SMP kernel. The way this worked was: on supported platforms, code to read ACPI tables and BIOS MP tables was compiled into sysinstall, and if an SMP kernel config was present in the source tree when sysinstall was built, code that called it was also compiled. Since we haven't had SMP kernel configs in years, the latter was never compiled and the former never ran. This only removes dead and unreachable code; it does *not* remove the NCpus variable, nor the code that sets it to 1, nor the code that asks the user to select a kernel from a list. Discussed with: re@, randi@ and others
* MFp4:mav2009-11-102-21/+31
| | | | Organize device IDs and add some more of them.
* Fix globbingdes2009-11-102-1/+3
| | | | | Noticed by: delphij, David Cornejo <dave@dogwood.com> Forgotten by: des
* More rational usage()des2009-11-101-3/+5
|
* Add Japanese catalogue entries for newer errnos: EBADMSG, EMULTIHOP,ume2009-11-102-0/+20
| | | | ENOLINK, EPROTO, ENOTCAPABLE.
* Add a note about no hostname leading to "Amnesiac" on the consoledougb2009-11-101-0/+3
| | | | | | | The text is inspired by the PR, but more in line with the existing text PR: docs/140434 Submitted by: Jason Helfman <jhelfman@e-e.com>
* Add a minimal change to prevent NULL deference in ee(1).delphij2009-11-101-1/+1
| | | | | | To repeat the problem, one can press "Ctrl+C" and then enter "0". Submitted by: Alexander Best <alexbestms wwu de>
* Zero out Tx/Rx descriptors before using them. Also add missingyongari2009-11-091-0/+7
| | | | bus_dmamap_sync(9) after Tx descriptor initialization.
* Add missing bus_dmamap_sync(9) before issuing kick command.yongari2009-11-091-0/+3
|
* Unbreak booting of FreeBSD/mips by merging r195429 from projects/mips:gonzo2009-11-092-3/+3
| | | | | | | - Move dpcpu initialization to mips_proc0_init. It's more appropriate place for it. Besides dpcpu_init requires pmap module to be initialized and calling it int pmap.c hangs the system
* Spell sz correctly.nwhitehorn2009-11-091-1/+1
| | | | Pointed out by: jmallett
* MFV of r199105, tzdata2009r:edwin2009-11-091-4/+27
| | | | | | | | | | - Three Australian stations in Antarctica have changed their time zone: Casey moved from UTC+8 to UTC+11 Davis moved from UTC+7 to UTC+5 Mawson moved from UTC+6 to UTC+5 The changes occurred on 2009-10-18 at 02:00 (local times). MFC after: 3 days
* Make isa_dma functions MPSAFE by introducing its own private lock. Theserdivacky2009-11-094-68/+166
| | | | | | | | | | | | | | | | | | functions are selfcontained (ie. they touch only isa_dma.c static variables and hardware) so a private lock is sufficient to prevent races. This changes only i386/amd64 while there are also isa_dma functions for ia64/sparc64. Sparc64 are ones empty stubs and ia64 ones are unused as ia64 does not have isa (says marcel). This patch removes explicit locking of Giant from a few drivers (there are some that requires this but lack ones - this patch fixes this) and also removes the need for implicit locking of Giant from attach routines where it's provided by newbus. Approved by: ed (mentor, implicit) Reviewed by: jhb, attilio (glanced by) Tested by: Giovanni Trematerra <giovanni.trematerra gmail com> IA64 clue: marcel
* Remove ifdefed out part of code, which seems to have originated a decade agotrasz2009-11-093-19/+3
| | | | | | | | | in OpenBSD. As it is now, there is no way for this to be useful, since IPsec is free to forward packets via whatever interface it wants, so checking capabilities of the interface passed from ip_output (fetched from the routing table) serves no purpose. Discussed with: sam@
* Fix variable type.mav2009-11-091-1/+1
|
* Purge some duplicate mergeinfo.jhb2009-11-090-0/+0
|
* Add gai_strerror() catalog for ja_JP.UTF-8 and ja_JP.eucJP.ume2009-11-092-0/+72
|
* Mention the layout change of ieee80211req_scan_result.rpaulo2009-11-091-0/+5
|
* Driver for the Apple Touchpad present on MacBook (non-Pro & Pro).rpaulo2009-11-094-1/+2060
| | | | | Submitted by: Rohit Grover <rgrover1 at gmail.com> MFC after: 2 months
* Increase the size of the OFW translations buffer to handle G5 systemsnwhitehorn2009-11-091-1/+4
| | | | | | | | that use many translation regions in firmware, and add bounds checking to prevent buffer overflows in case even the new value is exceeded. Reported by: Jacob Lambert MFC after: 3 days
* Add NLS catalogs support to gai_strerror(3).ume2009-11-092-0/+94
| | | | Controlled by NLS define.
* Fix comment.ume2009-11-092-2/+2
| | | | | Pointed out by: nyan MFC after: 1 week
* Add ja_JP.eucJP catalog.ume2009-11-092-0/+250
| | | | | Reviewed by: hrs, nork, takawata MFC after: 1 week
* Add ja_JP.UTF-8 catalog.ume2009-11-092-0/+250
| | | | | Reviewed by: hrs, nork, takawata MFC after: 1 week
* Add support for ATA Power Management.mav2009-11-092-3/+134
|
* The isr_intval in ieee80211req_scan_result structure should be 16 bit.rpaulo2009-11-091-1/+1
| | | | | | | | This makes ifconfig list scan display the correct beacon interval (previously it would int overflow). As a side effect, this makes the ieee80211req_scan_result word aligned. Submitted by: Paul B Mahol <onemda at gmail.com>
* Add more ICH10 chip IDs.mav2009-11-092-0/+8
| | | | Submitted by: Dmitry S. Luhtionov <mitya@cabletv.dp.ua>
* style(9): add missing parenthesesoleg2009-11-091-1/+1
|
* Initialize the whole message unit's DMA buffer to zero, this fixes a panicdelphij2009-11-092-2/+4
| | | | | | | | | | | | during boot when ARC1200 is being used with certain motherboard models. This commit brings the driver to the same state of vendor's 1.20.00.16 release. Many thanks to Areca for their continued support to FreeBSD. Reported by: Jirka Mikulas <jiri mikulas com> Submitted by: Erich Chen (Areca) Obtained from: ftp://ftp.areca.com.tw/RaidCards/AP_Drivers/FreeBSD/DRIVER/SourceCode/arcmsr-freebsd-1.20.00.16-91010.zip MFC after: 3 days
* - Add hw.clflush_disable loader tunable to avoid panic (trap 9) atkuriyama2009-11-092-2/+36
| | | | | | | | | | | | | | map_invalidate_cache_range() even if CPU is not Intel. - This tunable can be set to -1 (default), 0 and 1. -1 is same as current behavior, which automatically disable CLFLUSH on Intel CPUs without CPUID_SS (should be occured on Xen only). You can specify 1 when this panic happened on non-Intel CPUs (such as AMD's). Because disabling CLFLUSH may reduce performance, you can try with setting 0 on Intel CPUs without SS to use CLFLUSH feature. Reviewed by: kib Reported by: karl, kuriyama Related to: kern/138863
* Apply a NetBSD fix (revision 1.12) to handle multi-session bzip2 filesdelphij2009-11-091-5/+14
| | | | | | | as created by pbzip2. Submitted by: mrg (NetBSD.org) MFC after: 1 week
* Correct disabling checksum offloading for BCM5700 B0.yongari2009-11-091-1/+1
|
* Correct Olympus quirk.thompsa2009-11-081-1/+1
| | | | Submitted by: Pavel Gubin
* Add missing mtx_destroy().thompsa2009-11-081-0/+1
| | | | Submitted by: Sebastian Huber
* Improve support for High-speed USB audio devices.thompsa2009-11-081-121/+120
| | | | | | | | - fix issues regarding the mixer, where the interface number was not set in time. - fix wrong use of resolution parameter. Submitted by: Hans Petter Selasky
* improve support for high speed isochronous endpoints which does not run 1:1,thompsa2009-11-084-27/+91
| | | | | | but needs intervalling 1:2, 1:4 or 1:8 Submitted by: Hans Petter Selasky
* Integrate lost interrupts patch from the old USB stack.thompsa2009-11-083-4/+51
| | | | | | | | | | | | | | | Some EHCI chips from VIA / ATI seem to trigger interrupts before writing back the qTD status, or miss signalling occasionally under heavy load. If the host machine is too fast, we can miss transaction completion - when we scan the active list the transaction still seems to be active. This generally exhibits itself as a umass stall that never recovers. We work around this behaviour by setting up this callback after any softintr that completes with transactions still pending, giving us another chance to check for completion after the writeback has taken place Submitted by: Alexander Nedotsuko MFC after: 3 days
* ehci_init() will do reset and set the usbrev flag. Fix problem wherethompsa2009-11-083-8/+1
| | | | | | | ehci_reset() was called before ehci_init(). PR: usb/140242 Submitted by: Sebastian Huber
* - fix refcounting error during data transferthompsa2009-11-087-35/+251
| | | | | | | | | | | | | - fix a memory leak on the USB backend - fix invalid pointer computations (in one case memory outside the allocated area was written in LibUSB v1.0) - make sure memory is always initialised, also in failing cases - add missing functions from v1.0.4 PR: usb/140325 Reported by: Robert Jenssen Submitted by: Hans Petter Selasky MFC After: 3 days
* Partially revert r199035.yongari2009-11-081-0/+8
| | | | | | | | | | | Revision 1.158 says only lower ten bits of BGE_RXLP_LOCSTAT_IFIN_DROPS register is valid. For BCM5761 case it seems the controller maintains 16bits value for the register. However 16bits are still too small to count all dropped packets happened in a second. To get a correct counter we have to read the register in bge_rxeof() which would be too expensive. Pointed out by: bde
* Add a check for the connection being shut down to the krpcrmacklem2009-11-081-0/+16
| | | | | | | | | | | | | | | | | | client just before queuing a request for the connection. The code already had a check for the connection being shut down while the request was queued, but not one for the shut down having been initiated by the server before the request was in the queue. This appears to fix the problem of slow reconnects against an NFS server that drops inactive connections reported by Olaf Seibert, but does not fix the case where the FreeBSD client generates RST segments at about the same time as ACKs. This is still a problem that is being investigated. This patch does not cause a regression for this case. Tested by: Olaf Seibert, Daniel Braniss Reviewed by: dfr MFC after: 5 days
* Introduce define and kernel option ATA_REQUEST_TIMEOUT to control ATA(4)mav2009-11-087-12/+20
| | | | | | command timeout. Submitted by: keramida
* Fix a copy+paste error by checking the correct variable against MM_NULLACT.brueffer2009-11-081-1/+1
| | | | | | PR: 140386 Submitted by: soulcatcher <soulcatcher13@gmail.com MFC after: 1 week
* - Strip trailing CRsgabor2009-11-081-259/+259
| | | | Requested by: Alex Kozlov <spam@rm-rf.kiev.ua> (via private mail)
* Introduce hw.hptrr.attach_generic loader tunable to deny hptrr drivermav2009-11-082-1/+16
| | | | | | | | attach chips with generic Marvell (non-HighPoint) PCI identification. These chips are also supported by ata(4). Some vendors, like Supermicro, are using same chips without providing HPT RAID BIOS. PR: kern/120842, kern/136750
* - Update Ukranian cataloggabor2009-11-081-0/+10
| | | | Submitted by: Alex Kozlov <spam@rm-rf.kiev.ua> (via private mail)
* Add suggestion for zfs root.trasz2009-11-081-0/+1
|
* create an SMP kernel by default in picobsdluigi2009-11-081-1/+4
|
OpenPOWER on IntegriCloud