| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
It was returning a pointer to stack-allocated memory, so make the
allocation at the caller instead.
Found by: clang static analyzer
Coverity: CID 1245774
Reviewed by: ed, rpaulo
Review URL: https://reviews.freebsd.org/D4740
|
|
|
|
|
|
|
|
|
|
| |
directly accessed. Although this will work on some platforms, it can
throw an exception if the pointer is invalid and then panic the kernel.
Add a missing SYSCTL_IN() of "SCTP_BASE_STATS" structure.
MFC after: 3 days
Sponsored by: Mellanox Technologies
|
|
|
|
|
|
|
|
| |
in userland rename in-kernel getenv()/setenv() to kern_setenv()/kern_getenv().
This fixes a namespace collision with libc symbols.
Submitted by: kmacy
Tested by: make universe
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. changed the code so that 2**16 keys are supported
2. changed the number of possible fans in a system from 2 to 6
3. added write support for some fan sysctls
4. added a new sysctl which shows the ID of the fan
5. added four more apple models with their temperature keys
6. changed the maxnumber of temperature keys from 36 to 80
7. replaced several fixed buf sizes to sizeof buf
Obtained from: Denis Ahrens denis at h3q.com
MFC after: 4 weeks
|
|
|
|
|
|
|
| |
PR: 190195
Submitted by: fbsdbugs2 sentry.org
MFC after: 1 week
Relnotes: yes
|
| |
|
|
|
|
|
|
|
|
| |
unit 0 would in fact disable all units.
This reverts r241856
Approved by: cperciva (implicit)
|
|
|
|
|
|
|
|
| |
device drivers that used to provide this feature.
Reviewed by: des
Approved by: cperciva
MFC after: 1 week
|
|
|
|
|
|
| |
Fix printf format string (again)
Pointed out by: bde, ed
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
| |
Spotted by: tinderbox
MFC after: 1 week
|
|
|
|
|
|
|
| |
debugging.
Submitted by: Christoph Langguth <christoph at rosenkeller.org>
MFC after: 1 week
|
|
|
|
|
| |
Submitted by: Patrick Lamaiziere <patfbsd at davenulle.org>
MFC after: 1 week
|
|
|
|
|
|
| |
Submitted by: Christoph Langguth <christoph at rosenkeller.org>
MFC after: 2 weeks
Approved by: re (kib)
|
| |
|
|
|
|
|
|
|
| |
Submitted by: ganbold
Found with: Coverity Prevent(tm)
CID: 2434
MFC after: 1 week
|
|
|
|
| |
Obtained from: mactel-linux
|
|
|
|
|
|
|
| |
sensors and some fans.
As I don't own this machine, I could not test this patch.
Obtained from: applesmc Linux driver.
|
|
|
|
|
|
|
| |
module. Instead, use resource_disabled() that doesn't depend on any
module.
Noticed by: Ian FREISLICH <ianf at clue.co.za>
|
| |
|
|
|
|
|
| |
previous value.
While there, lower the delay for the misterious key.
|
|
|
|
|
| |
* Fix the login in asmc_init().
* Change the INIT2 constant to reflect the same change in the Linux driver.
|
| |
|
|
|
|
|
|
|
|
| |
dependency on isa. We are now an acpi child.
Also:
* Add compile time debugging activation
* Increase the delay for the SMS init flag.
|
| |
|
|
|
|
|
|
|
| |
so that this macro expands in the right place.
Submitted by: Ed Schouten <ed at fxq.nl>
Approved by: njl (mentor)
|
|
present on the MacBook, MacBook Pro, and Intel MacMini.
This driver exports information via sysctl in its private sysctl tree
dev.asmc.*. You can get information about temperatures, fan speeds, the
keyboard light sensor and the Sudden Motion Sensor (SMS).
The SMS is very useful to park the disk heads when the laptop is
moved. Basically, the SMS is setup so that, under movement, we get an
interrupt on irq 6 and a devd notification is sent.
Sponsored by: Google Summer of Code 2007
Approved by: njl (mentor)
Reviewed by: attilio (previous version, but very similar), jhb (interrupt
specific review)
|