Sync with 2.4.0-test9-pre4 kernel.
parent
ce199c73e5
commit
9c8e1adfac
|
@ -1,4 +1,4 @@
|
||||||
#include <linux/autoconf.h>
|
#include <linux/config.h>
|
||||||
#include <linux/version.h>
|
#include <linux/version.h>
|
||||||
|
|
||||||
#ifndef CONFIG_SMP
|
#ifndef CONFIG_SMP
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||||
* and/or sell copies of the Software, and to permit persons to whom the
|
* and/or sell copies of the Software, and to permit persons to whom the
|
||||||
* Software is furnished to do so, subject to the following conditions:
|
* Software is furnished to do so, subject to the following conditions:
|
||||||
*
|
*
|
||||||
* The above copyright notice and this permission notice (including the next
|
* The above copyright notice and this permission notice (including the next
|
||||||
* paragraph) shall be included in all copies or substantial portions of the
|
* paragraph) shall be included in all copies or substantial portions of the
|
||||||
* Software.
|
* Software.
|
||||||
*
|
*
|
||||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
* DEALINGS IN THE SOFTWARE.
|
* DEALINGS IN THE SOFTWARE.
|
||||||
*
|
*
|
||||||
* Authors: Rickard E. (Rik) Faith <faith@valinux.com>
|
* Authors: Rickard E. (Rik) Faith <faith@valinux.com>
|
||||||
* Kevin E. Martin <martin@valinux.com>
|
* Kevin E. Martin <martin@valinux.com>
|
||||||
*
|
*
|
||||||
|
@ -197,7 +197,7 @@ extern int r128_context_switch_complete(drm_device_t *dev, int new);
|
||||||
#define R128_MAX_USEC_TIMEOUT 100000 /* 100 ms */
|
#define R128_MAX_USEC_TIMEOUT 100000 /* 100 ms */
|
||||||
|
|
||||||
|
|
||||||
#define R128_BASE(reg) ((unsigned long)(dev_priv->mmio->handle))
|
#define R128_BASE(reg) ((u32)(dev_priv->mmio->handle))
|
||||||
#define R128_ADDR(reg) (R128_BASE(reg) + reg)
|
#define R128_ADDR(reg) (R128_BASE(reg) + reg)
|
||||||
|
|
||||||
#define R128_DEREF(reg) *(__volatile__ int *)R128_ADDR(reg)
|
#define R128_DEREF(reg) *(__volatile__ int *)R128_ADDR(reg)
|
||||||
|
|
Loading…
Reference in New Issue