- 30 9月, 2011 24 次提交
-
-
由 Julian Andres Klode 提交于
Those macros are needed only for implementation purposes and do not have any use for other code wishing to use nvec. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julian Andres Klode 提交于
Add kernel-doc comments describing the functions and structs we currently have. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julian Andres Klode 提交于
Change nvec_write_async() to return an integer, 0 by default, a negative error on failure. Change nvec_write_sync() to check the return value and abort if it is negative. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julian Andres Klode 提交于
When the caps lock key is pressed, toggle the associated LED. According to Nvidia code, we should send 0x01 where we sent 0x07, but this does not appear to work correctly on the AC100. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julian Andres Klode 提交于
Forgotten in the last commit(s) which contained the copyrightable material, so let's add it now. I believe that only my nvec.c contributions are copyrightable, nvec.h is just interface naming, so does not deserve that yet. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julian Andres Klode 提交于
The scratch area is not part of the pool and thus gets no allocation message. Printing a free message would be confusing, and the pointer subtraction would be undefined behavior. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julian Andres Klode 提交于
Rewrite the interrupt handler to use a state machine similar to that found in the various kernels for the Advent Vega. This also changes the code to use the new functions introduced in the previous commits. This also merges the rewrite sent in August 2011 by Marc Dietrich, and thus also includes code by him. His original patch can be found on the mailing list. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julian Andres Klode 提交于
Add functions nvec_msg_is_event() and nvec_msg_size() which do just what the say: tell whether the message is an event, and getting the size of the message. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julian Andres Klode 提交于
Introduce nvec_gpio_set_value(), which works like gpio_set_value(), but also creates a debugging message, if that's enabled. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julian Andres Klode 提交于
Introduce two new functions nvec_msg_alloc() and nvec_msg_free() that allocate and free message buffers from the internal pool of messages. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Marc Dietrich 提交于
This patch adds config dependencies for the NVEC keyboard, mouse, and power drivers. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Marc Dietrich 提交于
This adds the relevant info to the MAINTAINERS file so people can find the right person to blame. Signed-off-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Marc Dietrich 提交于
Mostly small stuff only. Hopefully completed during the next release cycle. Signed-off-by: NMarc Dietrich <marvin24@gmx.de> [jak@jak-linux.org: Removed some items no longer valid] Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Ilya Petrov 提交于
This patch adds support for LEDs connect to a nvec. A single brightness property is exported to sysfs. LEDs are selected via bitfields in the brightness value. Also the blinking behavior is selected through this method. Vendors may use different values for different HW designs. Signed-off-by: NIlya Petrov <ilya.muromec@gmail.com> Signed-off-by: NMarc Dietrich <marvin24@gmx.de> [jak@jak-linux.org: Fixed checkpatch warnings] Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Marc Dietrich 提交于
The ec command used was for muting, not unmuting. Signed-off-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Marc Dietrich 提交于
Rework the tegra slave controller init to look more like in tegra-i2c.c. This makes the nvec init reliable. Also add de-init of the slave to be used during suspend. Signed-off-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Marc Dietrich 提交于
Split of the previous patch and the next by Marc, as that patch is not strictly a coding style fix only. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Marc Dietrich 提交于
This patch fixes coding style and adds copyright notices. Signed-off-by: NMarc Dietrich <marvin24@gmx.de> [jak@jak-linux.org: Merge later cleanup into that patch] Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Julian Andres Klode 提交于
Those headers were apparently included by other headers previously, but are not anymore. Signed-off-by: NJulian Andres Klode <jak@jak-linux.org> Acked-by: NMarc Dietrich <marvin24@gmx.de> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Kevin McKinney 提交于
This patch alters a line of code to make it more readable and easier to understand. The purpose of the original line of code was to compute the amount of memory to request from kmalloc. This mulit-step algorithm was being done in one line of code, thus making it more difficult to understand. Therefore, I split this algorithm into three logical steps. Signed-off-by: NKevin McKinney <klmckinney1@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Kevin McKinney 提交于
This patch fixes two issues within bcm/Bcmchar.c. The first condition in the or statement checks if variable IoBuffer.OutputLength, defined from user space, is greater than the maximum value allowed for an unsigned short. IoBuffer.OutputLength is then used in a kmalloc call to return a pointer to memory. If this size is greater than an unsigned short, it becomes useless. The second condition in the or statement checks if the same variable, IoBuffer.OutputLength is equal to zero before invoking the kmalloc call. In this case, if a zero size is sent to kmalloc, a valid pointer to memory is returned instead of the expected NULL. Signed-off-by: NKevin McKinney <klmckinney1@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Haiyang Zhang 提交于
Checking carrier status in netvsc_open() is not necessary. Signed-off-by: NHaiyang Zhang <haiyangz@microsoft.com> Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Dan Carpenter 提交于
param->u.wpa_key.key_len comes from the user. If it's too large we would write past the end of the array. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Jonathan Cameron 提交于
This was originally there to avoid churn during a complex change. Now everything is stable lets get rid of this as it is missleading and confusing. Signed-off-by: NJonathan Cameron <jic23@cam.ac.uk> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
- 27 9月, 2011 16 次提交
-
-
由 K. Y. Srinivasan 提交于
Now that all vmbus audit related comments have been addressed, update the TODO file to reflect this. Signed-off-by: NK. Y. Srinivasan <kys@microsoft.com> Signed-off-by: NHaiyang Zhang <haiyangz@microsoft.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 David Kilroy 提交于
to declare wireless handlers. Signed-off-by: NDavid Kilroy <kilroyd@googlemail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 David Kilroy 提交于
WE21 clarified that ESSID should not be NULL terminated. The existing code didn't NULL terminate, but did play with length and then reset it again. Just stop it. Signed-off-by: NDavid Kilroy <kilroyd@googlemail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 David Kilroy 提交于
WEXT changes between versions 15 and 21 have been taken care of, so update the declared support. Signed-off-by: NDavid Kilroy <kilroyd@googlemail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 David Kilroy 提交于
Add recently added events to the capabilities reported in iw_range. Use capability macros instead of assuming the array offsets. Explicitly list scan capabilities. Signed-off-by: NDavid Kilroy <kilroyd@googlemail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Christopher Rice 提交于
drivers: staging: comedi: cb_das16_cs.c fixed over 80 line issue, and removed a space before tab issue. Signed-off-by: NChristopher Rice <rice.christopher.a@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Johannes Thumshirn 提交于
Added log subject to printk()s in drivers/staging/comedi/drivers/pcmmio.c. Signed-off-by: NJohannes Thumshirn <morbidrsa@googlemail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Dan Carpenter 提交于
Smatch has a new check for Rosenberg type information leaks where structs are copied to the user with uninitialized stack data in them. In this path, the .uLinkRate member doesn't get initialized so I've set it to zero. Signed-off-by: NDan Carpenter <dan.carpenter@oracle.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Marcos Paulo de Souza 提交于
In the source file there are a lot of warnings. I will send it in parts to be more easy to review. All the changes in this file its just alignment, and things like that. Signed-off-by: NMarcos Paulo de Souza <marcos.mage@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mark Einon 提交于
This driver has a long standing bug where removing and inserting the ethernet cable results in no packets being trnasmitted / received and hence no autonegotiation occurring. Fixed by resetting the rx/tx engines and queue on detecting a cable being removed. Signed-off-by: NMark Einon <mark.einon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mark Einon 提交于
et131x_check_mii no longer exists, remove its declaration from the header file Signed-off-by: NMark Einon <mark.einon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mark Einon 提交于
In et131x_netdev.c, a series of calls to enable and diasble the rx/tx engine and queue are being used in several different places. Create two functions to encapsulate these calls, and replace many calls with just the one. Signed-off-by: NMark Einon <mark.einon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mark Einon 提交于
et131x_check_mii() is now only being called from et131x_adjust_link. Removed this call and associated subroutines, putting the functionality directly into et131x_adjust_link(), in preparation for further simplification. Changed register checks from bare BMSR checks to use phydev/netif versions, also now uses adapter->link to track link state changes. Signed-off-by: NMark Einon <mark.einon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mark Einon 提交于
This will be used to determine if the link state has changed when the phydev informs the et131x that a change has occurred (in et131x_adjust_link) Signed-off-by: NMark Einon <mark.einon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Mark Einon 提交于
Not an exhaustive dump of the et131x registers, used while debugging a specific problem - seems a shame not to keep it around. Signed-off-by: NMark Einon <mark.einon@gmail.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-
由 Alan Cox 提交于
Add support for GTT based scrolling. Instead of pushing bits around we simply use the GTT to change the mappings. This provides us with a very fast way to scroll the display providing we have enough memory to allocate on 4K line boundaries. In practice this seems to be the case except for very big displays such as HDMI. It works out nicely on the usual configurations are netbooks and tablets. Signed-off-by: NAlan Cox <alan@linux.intel.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
-