summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Convert pm_runcount to int to correctly check for negative value.fabient2010-06-052-9/+6
| | | | | | | Remove uncessary check for error. Found with: Coverity Prevent(tm) MFC after: 1 month
* Fix memory leak on error.fabient2010-06-051-1/+3
| | | | | Found with: Coverity Prevent(tm) MFC after: 1 month
* Although we currently don't compile in CPU-pinning support by default,rwatson2010-06-055-29/+45
| | | | | | | add a -P to enable it if it were. MFC after: 1 week Sponsored by: Juniper Networks
* Fix warnings found by Coverity.fabient2010-06-053-4/+8
| | | | | Found with: Coverity Prevent(tm) MFC after: 1 month
* Purge out a Windows def that somehow slippedrrs2010-06-051-7/+1
| | | | | | past the scrubber. MFC after: 1 Week
* Spacing issuesrrs2010-06-052-6/+5
| | | | MFC after: 1 Week
* This change does the following:rrs2010-06-051-13/+23
| | | | | | | | | | | | | 1) Fix the alignment of a comment. 2) Fix a BUG where we were NOT paying attention to the RESEND marking on retransmitting control chunks.. and worse we were not decrementing the retran count that could cause us to loop forever. 3) Add in the valdiate_no_lock function on invariants so that we will really check all ways out to be sure a lock does not slip out locked. MFC after: 1 week.
* Use the proper increment macro when increasing therrs2010-06-051-3/+4
| | | | | | number on sent_queue_retran_cnt. MFC after: 1 week
* This does two changes:rrs2010-06-052-6/+18
| | | | | | | | 1) Makes it so that the INVARIANT function validate nolocks is available anywhere. 2) Fixes a BUG where a close has been done on a collision socket and the cookie processing would return leaving a lock held. MFC after: 1 week
* This fixes a bug in the close up of a socket thatrrs2010-06-051-2/+15
| | | | | | | had un-accepted assoc's. Basically the assoc (and inp) would get stuck and never get cleaned up. MFC after: 1 week
* Be more specific about which CDB length we're going to use. Not really a likelymjacob2010-06-051-4/+14
| | | | | | | | | bug but we might as well be clearer. Found with: Coverity Prevent(tm) CID: 3981 MFC after: 2 weeks
* Correct a harmless typo introduced when copying code from mmu_oea64.nwhitehorn2010-06-051-1/+1
| | | | | Submitted by: alc MFC after: 8.1-RELEASE
* Don't set PG_WRITEABLE in pmap_enter() unless the page is managed.alc2010-06-053-6/+11
| | | | Correct a typo in a nearby comment on sparc64.
* Add a driver for the CPU temperature sensors attached over I2C on thenwhitehorn2010-06-052-0/+263
| | | | PowerMac 11,2.
* Add support for the I2C busses hanging off Apple system management chips.nwhitehorn2010-06-051-12/+241
|
* Utilize the Keywest I2C combined mode for messages with repeated starts.nwhitehorn2010-06-051-8/+57
|
* Add two new flags (IIC_M_NOSTOP and IIC_M_NOSTART) to struct iic_msg tonwhitehorn2010-06-051-0/+2
| | | | | | allow consumers of iicbus_transfer() to send messages with repeated starts. Reviewed by: imp
* Correct the comment. We now use level low instead of edge high for thisnwhitehorn2010-06-051-1/+1
| | | | interrupt.
* Partially revert r208162 while waiting for review on a more comprehensivenwhitehorn2010-06-051-0/+7
| | | | | | | | | | | | fix. On Apple OpenPICs, the low/high bit of the interrupt sense is only respected for interrupt 0. We currently erroneously program all OpenPIC interrupts level high instead of level low by default, which only matters for some G5 systems where the SATA controllers use IRQ 0. This change is a quick fix that will be reverted once the effect of changing the default interrupt sense on embedded systems is known. MFC after: 3 days
* Make sure that interrupt sense settings set after interrupts are enablednwhitehorn2010-06-051-1/+7
| | | | | | | | are respected. This fixes loading the Apple onboard audio driver (snd_ai2s) as a module after boot, which would previously cause a panic. PR: powerpc/146888 MFC after: 5 days
* Use the fpu_kern_enter() interface to properly separate usermode FPUkib2010-06-056-4/+53
| | | | | | | | | | | | | | context from in-kernel execution of padlock instructions and to handle spurious FPUDNA exceptions that sometime are raised when doing padlock calculations. Globally mark crypto(9) kthread as using FPU. Reviewed by: pjd Hardware provided by: Sentex Communications Tested by: pho PR: amd64/135014 MFC after: 1 month
* Introduce the x86 kernel interfaces to allow kernel code to usekib2010-06-0520-84/+440
| | | | | | | | | | | | | | | | FPU/SSE hardware. Caller should provide a save area that is chained into the stack of the areas; pcb save_area for usermode FPU state is on top. The pcb now contains a pointer to the current FPU saved area, used during FPUDNA handling and context switches. There is also a facility to allow the kernel thread to use pcb save_area. Change the dreaded warnings "npxdna in kernel mode!" into the panics when FPU usage is not registered. KPI discussed with: fabient Tested by: pho, fabient Hardware provided by: Sentex Communications MFC after: 1 month
* Add comment that this value is unused.edwin2010-06-051-1/+1
| | | | | | | It is obvious that it isn't used, but both clang and Coverity talk about it. Found with: Coverity Prevent(tm) CID: 8066
* When there is a problem with writing, also bail out.edwin2010-06-051-1/+2
| | | | Found with the clang checker.
* Make clang happier by removing unused assignments.edwin2010-06-051-16/+16
|
* Fix warnings about uninitialized variables.edwin2010-06-051-0/+2
| | | | | | | It was mostly harmless since strftime() only used %a and %b anyway. Found with: Coverity Prevent(tm) CID: 7769
* Fix: when unable to parse the sequence string, erase everything.edwin2010-06-051-2/+2
| | | | | Found with: Coverity Prevent(tm) CID: 7888
* Fix memory-leak at the processing of multiple calendars.edwin2010-06-051-1/+4
| | | | | Found with: Coverity Prevent(tm) CID: 7085
* Properly check the return value of chdir, even if it is a "thisedwin2010-06-051-1/+2
| | | | | | | should not happen" case. Found with: Coverity Prevent(tm) CID: 4932
* Remove some dead and incorrect code.mav2010-06-051-1/+1
| | | | | Found with: Coverity Prevent(tm) CID: 4562
* Add allocation error hadling.mav2010-06-051-0/+7
| | | | | Found with: Coverity Prevent(tm) CID: 3897
* Fix possible use after free.mav2010-06-051-2/+2
| | | | | Found with: Coverity Prevent(tm) CID: 4634
* Don't try to copy a socket after "xxx is a socket (not copied)." message.trasz2010-06-051-0/+1
| | | | | | | | | Previously, it would either try to copy it anyway and fail (without -R), or create fifo instead of the socket (with -R). Found with: Coverity Prevent CID: 5623 MFC after: 2 weeks
* Fix use after free on error.mav2010-06-051-0/+1
| | | | | Found with: Coverity Prevent(tm) CID: 4722
* Fix double free on error.mav2010-06-051-4/+2
| | | | | Found with: Coverity Prevent(tm) CID: 4573
* Plug memory leak to silent Coverity. Error is still not really handled.mav2010-06-051-0/+1
| | | | | Found with: Coverity Prevent(tm) CID: 4137
* Plug memory leak to silent Coverity. Error is still not really handled.mav2010-06-051-0/+1
| | | | | Found with: Coverity Prevent(tm) CID: 4196
* Fix attach errors handling.mav2010-06-051-3/+5
| | | | | Found with: Coverity Prevent(tm) CID: 3477
* Plug resource leak.trasz2010-06-051-0/+1
| | | | | Found with: Coverity Prevent CID: 7040
* Plug memory leak to silent Coverity. Error is still not really handled.mav2010-06-051-0/+1
| | | | | Found with: Coverity Prevent(tm) CID: 4130
* Fix attach errors handling.mav2010-06-051-3/+5
| | | | | Found with: Coverity Prevent(tm) CID: 3424
* Make sure not to pass NULL to g_orphan_provider().trasz2010-06-051-1/+2
| | | | | Found with: Coverity Prevent CID: 3411
* Don't use pointer to 64 bit value (id_t) to point to 32 bit value (uid_t).trasz2010-06-051-5/+5
| | | | | | Found with: Coverity Prevent CID: 7466, 7467 MFC after: 2 weeks
* Don't set PG_WRITEABLE in pmap_enter() unless the page is managed.alc2010-06-052-2/+4
|
* Make the internal target > SPC2 (so REPORT LUNS can be tested).mjacob2010-06-051-2/+8
| | | | | | | Give the NIL inquiry data real values other than just plain 0x7f in the first byte. MFC after: 2 weeks
* I was getting panics in sleepq_add for the second sleep in isp_kthread.mjacob2010-06-051-1/+3
| | | | | | | I don't know why- but it occurred to me in looking at the second sleep is that all I want is a pause- not an actual sleep. So do that instead. MFC after: 2 weeks
* - Add myself to committers-src.dotmdf2010-06-042-0/+4
| | | | | | - Add myself to calendar.freebsd Approved by: zml (mentor)
* Don't blindly set IFF_DRV_OACTIVE when sge_encap() fails. If thereyongari2010-06-041-2/+3
| | | | | | | is no queued frame, IFF_DRV_OACTIVE would never be cleared. Submitted by: Nikolay Denev < ndenev <> gmail at com > MFC after: 4 days
* Declare ip6 as (struct in6_addr *) instead of (struct in_addr *). This iscperciva2010-06-041-1/+1
| | | | | | | | | a harmless bug since we never actually use ip6 as anything other than an opaque pointer. Found with: Coverty Prevent(tm) CID: 4319 MFC after: 1 month
* o The typo was intended as it stated in the comment. Revert last.maxim2010-06-041-1/+1
| | | | Spotted by: dfr
OpenPOWER on IntegriCloud