public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Geoff Levand <geoffrey.levand@am•sony.com>
To: Benjamin Herrenschmidt <benh@kernel•crashing.org>
Cc: David Woodhouse <David.Woodhouse@intel•com>,
	Arnd Bergmann <arnd@arndb•de>, Jim Paris <jim@jtan•com>,
	linuxppc-dev@ozlabs•org,
	Geert Uytterhoeven <Geert.Uytterhoeven@sonycom•com>,
	Vivien Chappelier <vivien.chappelier@free•fr>,
	cbe-oss-dev@ozlabs•org
Subject: [patch 2/6] powerpc/ps3: Add modalias support to the ps3vram driver
Date: Tue, 6 Jan 2009 13:32:03 -0800	[thread overview]
Message-ID: <4963CDD3.1070504@am.sony.com> (raw)
In-Reply-To: <4963CA52.9030902@am.sony.com>

From: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom•com>

Update ps3vram driver to use the new ps3 three id modalias support.

Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom•com>
Signed-off-by: Geoff Levand <geoffrey.levand@am•sony.com>
---
 arch/powerpc/include/asm/ps3.h |    1 +
 drivers/mtd/devices/ps3vram.c  |    1 +
 2 files changed, 2 insertions(+)

--- a/arch/powerpc/include/asm/ps3.h
+++ b/arch/powerpc/include/asm/ps3.h
@@ -333,6 +333,7 @@ enum ps3_match_sub_id {
 #define PS3_MODULE_ALIAS_STOR_FLASH	"ps3:8:0"
 #define PS3_MODULE_ALIAS_SOUND		"ps3:9:0"
 #define PS3_MODULE_ALIAS_GPU_FB		"ps3:10:1"
+#define PS3_MODULE_ALIAS_GPU_RAMDISK	"ps3:10:2"
 #define PS3_MODULE_ALIAS_LPM		"ps3:11:0"
 
 enum ps3_system_bus_device_type {
--- a/drivers/mtd/devices/ps3vram.c
+++ b/drivers/mtd/devices/ps3vram.c
@@ -774,3 +774,4 @@ module_exit(ps3vram_exit);
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Jim Paris <jim@jtan•com>");
 MODULE_DESCRIPTION("MTD driver for PS3 video RAM");
+MODULE_ALIAS(PS3_MODULE_ALIAS_GPU_RAMDISK);

       reply	other threads:[~2009-01-06 21:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4963CA52.9030902@am.sony.com>
2009-01-06 21:32 ` Geoff Levand [this message]
2009-01-06 21:32 ` [patch 1/6] powerpc/ps3: ps3vram driver for accessing video RAM as MTD Geoff Levand
2009-01-06 21:32 ` [patch 3/6] mtd/ps3vram: Remove ps3vram debug routines Geoff Levand
2009-01-06 21:32 ` [patch 4/6] mtd/ps3vram: Cleanup ps3vram driver messages Geoff Levand
2009-01-06 21:32 ` [patch 5/6] mtd/ps3vram: Use kernel types Geoff Levand
2009-01-06 21:32 ` [patch 6/6] mtd/ps3vram: Use msleep in waits Geoff Levand
2009-01-07 19:25   ` Arnd Bergmann
2009-01-08  1:22   ` [patch 6/6 v2] " Geoff Levand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4963CDD3.1070504@am.sony.com \
    --to=geoffrey.levand@am$(echo .)sony.com \
    --cc=David.Woodhouse@intel$(echo .)com \
    --cc=Geert.Uytterhoeven@sonycom$(echo .)com \
    --cc=arnd@arndb$(echo .)de \
    --cc=benh@kernel$(echo .)crashing.org \
    --cc=cbe-oss-dev@ozlabs$(echo .)org \
    --cc=jim@jtan$(echo .)com \
    --cc=linuxppc-dev@ozlabs$(echo .)org \
    --cc=vivien.chappelier@free$(echo .)fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox