diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-04 19:27:50 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-04 19:27:50 -0500 |
commit | 602d4a7e2f4b843d1a67375d4d7104073495b758 (patch) | |
tree | 0b9f184e54fa693c27bd5986c114bdcf6949f788 /drivers | |
parent | 0bbacc402e67abca8794a8401c1621dc0c0202e9 (diff) | |
parent | c51e3a417bb0f295e13a5bad86302b5212eafdf3 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc-merge
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/viodasd.c | 8 | ||||
-rw-r--r-- | drivers/cdrom/viocd.c | 6 | ||||
-rw-r--r-- | drivers/char/viocons.c | 10 | ||||
-rw-r--r-- | drivers/char/viotape.c | 10 | ||||
-rw-r--r-- | drivers/macintosh/via-pmu.c | 29 | ||||
-rw-r--r-- | drivers/net/iseries_veth.c | 8 | ||||
-rw-r--r-- | drivers/scsi/ibmvscsi/iseries_vscsi.c | 8 |
7 files changed, 41 insertions, 38 deletions
diff --git a/drivers/block/viodasd.c b/drivers/block/viodasd.c index 709f809f79f1..2d518aa2720a 100644 --- a/drivers/block/viodasd.c +++ b/drivers/block/viodasd.c | |||
@@ -45,10 +45,10 @@ | |||
45 | 45 | ||
46 | #include <asm/uaccess.h> | 46 | #include <asm/uaccess.h> |
47 | #include <asm/vio.h> | 47 | #include <asm/vio.h> |
48 | #include <asm/iSeries/HvTypes.h> | 48 | #include <asm/iseries/hv_types.h> |
49 | #include <asm/iSeries/HvLpEvent.h> | 49 | #include <asm/iseries/hv_lp_event.h> |
50 | #include <asm/iSeries/HvLpConfig.h> | 50 | #include <asm/iseries/hv_lp_config.h> |
51 | #include <asm/iSeries/vio.h> | 51 | #include <asm/iseries/vio.h> |
52 | 52 | ||
53 | MODULE_DESCRIPTION("iSeries Virtual DASD"); | 53 | MODULE_DESCRIPTION("iSeries Virtual DASD"); |
54 | MODULE_AUTHOR("Dave Boutcher"); | 54 | MODULE_AUTHOR("Dave Boutcher"); |
diff --git a/drivers/cdrom/viocd.c b/drivers/cdrom/viocd.c index 36f31d202223..b5191780ecca 100644 --- a/drivers/cdrom/viocd.c +++ b/drivers/cdrom/viocd.c | |||
@@ -46,9 +46,9 @@ | |||
46 | 46 | ||
47 | #include <asm/vio.h> | 47 | #include <asm/vio.h> |
48 | #include <asm/scatterlist.h> | 48 | #include <asm/scatterlist.h> |
49 | #include <asm/iSeries/HvTypes.h> | 49 | #include <asm/iseries/hv_types.h> |
50 | #include <asm/iSeries/HvLpEvent.h> | 50 | #include <asm/iseries/hv_lp_event.h> |
51 | #include <asm/iSeries/vio.h> | 51 | #include <asm/iseries/vio.h> |
52 | 52 | ||
53 | #define VIOCD_DEVICE "iseries/vcd" | 53 | #define VIOCD_DEVICE "iseries/vcd" |
54 | #define VIOCD_DEVICE_DEVFS "iseries/vcd" | 54 | #define VIOCD_DEVICE_DEVFS "iseries/vcd" |
diff --git a/drivers/char/viocons.c b/drivers/char/viocons.c index 44f5fb4a46ef..98601c7d04a9 100644 --- a/drivers/char/viocons.c +++ b/drivers/char/viocons.c | |||
@@ -44,12 +44,12 @@ | |||
44 | #include <linux/tty_flip.h> | 44 | #include <linux/tty_flip.h> |
45 | #include <linux/sysrq.h> | 45 | #include <linux/sysrq.h> |
46 | 46 | ||
47 | #include <asm/iSeries/vio.h> | 47 | #include <asm/iseries/vio.h> |
48 | 48 | ||
49 | #include <asm/iSeries/HvLpEvent.h> | 49 | #include <asm/iseries/hv_lp_event.h> |
50 | #include <asm/iSeries/HvCallEvent.h> | 50 | #include <asm/iseries/hv_call_event.h> |
51 | #include <asm/iSeries/HvLpConfig.h> | 51 | #include <asm/iseries/hv_lp_config.h> |
52 | #include <asm/iSeries/HvCall.h> | 52 | #include <asm/iseries/hv_call.h> |
53 | 53 | ||
54 | #ifdef CONFIG_VT | 54 | #ifdef CONFIG_VT |
55 | #error You must turn off CONFIG_VT to use CONFIG_VIOCONS | 55 | #error You must turn off CONFIG_VT to use CONFIG_VIOCONS |
diff --git a/drivers/char/viotape.c b/drivers/char/viotape.c index 51abd3defc1c..867cc4e418c7 100644 --- a/drivers/char/viotape.c +++ b/drivers/char/viotape.c | |||
@@ -29,7 +29,7 @@ | |||
29 | * | 29 | * |
30 | * All tape operations are performed by sending messages back and forth to | 30 | * All tape operations are performed by sending messages back and forth to |
31 | * the OS/400 partition. The format of the messages is defined in | 31 | * the OS/400 partition. The format of the messages is defined in |
32 | * iSeries/vio.h | 32 | * iseries/vio.h |
33 | */ | 33 | */ |
34 | #include <linux/config.h> | 34 | #include <linux/config.h> |
35 | #include <linux/version.h> | 35 | #include <linux/version.h> |
@@ -54,10 +54,10 @@ | |||
54 | #include <asm/ioctls.h> | 54 | #include <asm/ioctls.h> |
55 | 55 | ||
56 | #include <asm/vio.h> | 56 | #include <asm/vio.h> |
57 | #include <asm/iSeries/vio.h> | 57 | #include <asm/iseries/vio.h> |
58 | #include <asm/iSeries/HvLpEvent.h> | 58 | #include <asm/iseries/hv_lp_event.h> |
59 | #include <asm/iSeries/HvCallEvent.h> | 59 | #include <asm/iseries/hv_call_event.h> |
60 | #include <asm/iSeries/HvLpConfig.h> | 60 | #include <asm/iseries/hv_lp_config.h> |
61 | 61 | ||
62 | #define VIOTAPE_VERSION "1.2" | 62 | #define VIOTAPE_VERSION "1.2" |
63 | #define VIOTAPE_MAXREQ 1 | 63 | #define VIOTAPE_MAXREQ 1 |
diff --git a/drivers/macintosh/via-pmu.c b/drivers/macintosh/via-pmu.c index 91920a1140fa..9bc6cc6e3845 100644 --- a/drivers/macintosh/via-pmu.c +++ b/drivers/macintosh/via-pmu.c | |||
@@ -155,10 +155,10 @@ static spinlock_t pmu_lock; | |||
155 | static u8 pmu_intr_mask; | 155 | static u8 pmu_intr_mask; |
156 | static int pmu_version; | 156 | static int pmu_version; |
157 | static int drop_interrupts; | 157 | static int drop_interrupts; |
158 | #ifdef CONFIG_PM | 158 | #if defined(CONFIG_PM) && defined(CONFIG_PPC32) |
159 | static int option_lid_wakeup = 1; | 159 | static int option_lid_wakeup = 1; |
160 | static int sleep_in_progress; | 160 | static int sleep_in_progress; |
161 | #endif /* CONFIG_PM */ | 161 | #endif /* CONFIG_PM && CONFIG_PPC32 */ |
162 | static unsigned long async_req_locks; | 162 | static unsigned long async_req_locks; |
163 | static unsigned int pmu_irq_stats[11]; | 163 | static unsigned int pmu_irq_stats[11]; |
164 | 164 | ||
@@ -865,7 +865,7 @@ proc_read_options(char *page, char **start, off_t off, | |||
865 | { | 865 | { |
866 | char *p = page; | 866 | char *p = page; |
867 | 867 | ||
868 | #ifdef CONFIG_PM | 868 | #if defined(CONFIG_PM) && defined(CONFIG_PPC32) |
869 | if (pmu_kind == PMU_KEYLARGO_BASED && | 869 | if (pmu_kind == PMU_KEYLARGO_BASED && |
870 | pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) >= 0) | 870 | pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) >= 0) |
871 | p += sprintf(p, "lid_wakeup=%d\n", option_lid_wakeup); | 871 | p += sprintf(p, "lid_wakeup=%d\n", option_lid_wakeup); |
@@ -906,7 +906,7 @@ proc_write_options(struct file *file, const char __user *buffer, | |||
906 | *(val++) = 0; | 906 | *(val++) = 0; |
907 | while(*val == ' ') | 907 | while(*val == ' ') |
908 | val++; | 908 | val++; |
909 | #ifdef CONFIG_PM | 909 | #if defined(CONFIG_PM) && defined(CONFIG_PPC32) |
910 | if (pmu_kind == PMU_KEYLARGO_BASED && | 910 | if (pmu_kind == PMU_KEYLARGO_BASED && |
911 | pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) >= 0) | 911 | pmac_call_feature(PMAC_FTR_SLEEP_STATE,NULL,0,-1) >= 0) |
912 | if (!strcmp(label, "lid_wakeup")) | 912 | if (!strcmp(label, "lid_wakeup")) |
@@ -2063,6 +2063,9 @@ pmu_unregister_sleep_notifier(struct pmu_sleep_notifier* n) | |||
2063 | n->list.next = NULL; | 2063 | n->list.next = NULL; |
2064 | return 0; | 2064 | return 0; |
2065 | } | 2065 | } |
2066 | #endif /* CONFIG_PM */ | ||
2067 | |||
2068 | #if defined(CONFIG_PM) && defined(CONFIG_PPC32) | ||
2066 | 2069 | ||
2067 | /* Sleep is broadcast last-to-first */ | 2070 | /* Sleep is broadcast last-to-first */ |
2068 | static int | 2071 | static int |
@@ -2687,7 +2690,7 @@ powerbook_sleep_3400(void) | |||
2687 | return 0; | 2690 | return 0; |
2688 | } | 2691 | } |
2689 | 2692 | ||
2690 | #endif /* CONFIG_PM */ | 2693 | #endif /* CONFIG_PM && CONFIG_PPC32 */ |
2691 | 2694 | ||
2692 | /* | 2695 | /* |
2693 | * Support for /dev/pmu device | 2696 | * Support for /dev/pmu device |
@@ -2871,7 +2874,7 @@ pmu_ioctl(struct inode * inode, struct file *filp, | |||
2871 | int error = -EINVAL; | 2874 | int error = -EINVAL; |
2872 | 2875 | ||
2873 | switch (cmd) { | 2876 | switch (cmd) { |
2874 | #ifdef CONFIG_PM | 2877 | #if defined(CONFIG_PM) && defined(CONFIG_PPC32) |
2875 | case PMU_IOC_SLEEP: | 2878 | case PMU_IOC_SLEEP: |
2876 | if (!capable(CAP_SYS_ADMIN)) | 2879 | if (!capable(CAP_SYS_ADMIN)) |
2877 | return -EACCES; | 2880 | return -EACCES; |
@@ -2899,7 +2902,7 @@ pmu_ioctl(struct inode * inode, struct file *filp, | |||
2899 | return put_user(0, argp); | 2902 | return put_user(0, argp); |
2900 | else | 2903 | else |
2901 | return put_user(1, argp); | 2904 | return put_user(1, argp); |
2902 | #endif /* CONFIG_PM */ | 2905 | #endif /* CONFIG_PM && CONFIG_PPC32 */ |
2903 | 2906 | ||
2904 | #ifdef CONFIG_PMAC_BACKLIGHT | 2907 | #ifdef CONFIG_PMAC_BACKLIGHT |
2905 | /* Backlight should have its own device or go via | 2908 | /* Backlight should have its own device or go via |
@@ -3047,7 +3050,7 @@ pmu_polled_request(struct adb_request *req) | |||
3047 | * to do suspend-to-disk. | 3050 | * to do suspend-to-disk. |
3048 | */ | 3051 | */ |
3049 | 3052 | ||
3050 | #ifdef CONFIG_PM | 3053 | #if defined(CONFIG_PM) && defined(CONFIG_PPC32) |
3051 | 3054 | ||
3052 | static int pmu_sys_suspended = 0; | 3055 | static int pmu_sys_suspended = 0; |
3053 | 3056 | ||
@@ -3082,7 +3085,7 @@ static int pmu_sys_resume(struct sys_device *sysdev) | |||
3082 | return 0; | 3085 | return 0; |
3083 | } | 3086 | } |
3084 | 3087 | ||
3085 | #endif /* CONFIG_PM */ | 3088 | #endif /* CONFIG_PM && CONFIG_PPC32 */ |
3086 | 3089 | ||
3087 | static struct sysdev_class pmu_sysclass = { | 3090 | static struct sysdev_class pmu_sysclass = { |
3088 | set_kset_name("pmu"), | 3091 | set_kset_name("pmu"), |
@@ -3094,10 +3097,10 @@ static struct sys_device device_pmu = { | |||
3094 | }; | 3097 | }; |
3095 | 3098 | ||
3096 | static struct sysdev_driver driver_pmu = { | 3099 | static struct sysdev_driver driver_pmu = { |
3097 | #ifdef CONFIG_PM | 3100 | #if defined(CONFIG_PM) && defined(CONFIG_PPC32) |
3098 | .suspend = &pmu_sys_suspend, | 3101 | .suspend = &pmu_sys_suspend, |
3099 | .resume = &pmu_sys_resume, | 3102 | .resume = &pmu_sys_resume, |
3100 | #endif /* CONFIG_PM */ | 3103 | #endif /* CONFIG_PM && CONFIG_PPC32 */ |
3101 | }; | 3104 | }; |
3102 | 3105 | ||
3103 | static int __init init_pmu_sysfs(void) | 3106 | static int __init init_pmu_sysfs(void) |
@@ -3135,12 +3138,12 @@ EXPORT_SYMBOL(pmu_i2c_combined_read); | |||
3135 | EXPORT_SYMBOL(pmu_i2c_stdsub_write); | 3138 | EXPORT_SYMBOL(pmu_i2c_stdsub_write); |
3136 | EXPORT_SYMBOL(pmu_i2c_simple_read); | 3139 | EXPORT_SYMBOL(pmu_i2c_simple_read); |
3137 | EXPORT_SYMBOL(pmu_i2c_simple_write); | 3140 | EXPORT_SYMBOL(pmu_i2c_simple_write); |
3138 | #ifdef CONFIG_PM | 3141 | #if defined(CONFIG_PM) && defined(CONFIG_PPC32) |
3139 | EXPORT_SYMBOL(pmu_register_sleep_notifier); | 3142 | EXPORT_SYMBOL(pmu_register_sleep_notifier); |
3140 | EXPORT_SYMBOL(pmu_unregister_sleep_notifier); | 3143 | EXPORT_SYMBOL(pmu_unregister_sleep_notifier); |
3141 | EXPORT_SYMBOL(pmu_enable_irled); | 3144 | EXPORT_SYMBOL(pmu_enable_irled); |
3142 | EXPORT_SYMBOL(pmu_battery_count); | 3145 | EXPORT_SYMBOL(pmu_battery_count); |
3143 | EXPORT_SYMBOL(pmu_batteries); | 3146 | EXPORT_SYMBOL(pmu_batteries); |
3144 | EXPORT_SYMBOL(pmu_power_flags); | 3147 | EXPORT_SYMBOL(pmu_power_flags); |
3145 | #endif /* CONFIG_PM */ | 3148 | #endif /* CONFIG_PM && CONFIG_PPC32 */ |
3146 | 3149 | ||
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c index f5ea39ff1017..d86d8f055a6c 100644 --- a/drivers/net/iseries_veth.c +++ b/drivers/net/iseries_veth.c | |||
@@ -72,12 +72,12 @@ | |||
72 | #include <linux/ethtool.h> | 72 | #include <linux/ethtool.h> |
73 | 73 | ||
74 | #include <asm/abs_addr.h> | 74 | #include <asm/abs_addr.h> |
75 | #include <asm/iSeries/mf.h> | 75 | #include <asm/iseries/mf.h> |
76 | #include <asm/uaccess.h> | 76 | #include <asm/uaccess.h> |
77 | 77 | ||
78 | #include <asm/iSeries/HvLpConfig.h> | 78 | #include <asm/iseries/hv_lp_config.h> |
79 | #include <asm/iSeries/HvTypes.h> | 79 | #include <asm/iseries/hv_types.h> |
80 | #include <asm/iSeries/HvLpEvent.h> | 80 | #include <asm/iseries/hv_lp_event.h> |
81 | #include <asm/iommu.h> | 81 | #include <asm/iommu.h> |
82 | #include <asm/vio.h> | 82 | #include <asm/vio.h> |
83 | 83 | ||
diff --git a/drivers/scsi/ibmvscsi/iseries_vscsi.c b/drivers/scsi/ibmvscsi/iseries_vscsi.c index e9202f2a8276..1045872b0175 100644 --- a/drivers/scsi/ibmvscsi/iseries_vscsi.c +++ b/drivers/scsi/ibmvscsi/iseries_vscsi.c | |||
@@ -28,10 +28,10 @@ | |||
28 | * hypervisor system or a converged hypervisor system. | 28 | * hypervisor system or a converged hypervisor system. |
29 | */ | 29 | */ |
30 | 30 | ||
31 | #include <asm/iSeries/vio.h> | 31 | #include <asm/iseries/vio.h> |
32 | #include <asm/iSeries/HvLpEvent.h> | 32 | #include <asm/iseries/hv_lp_event.h> |
33 | #include <asm/iSeries/HvTypes.h> | 33 | #include <asm/iseries/hv_types.h> |
34 | #include <asm/iSeries/HvLpConfig.h> | 34 | #include <asm/iseries/hv_lp_config.h> |
35 | #include <asm/vio.h> | 35 | #include <asm/vio.h> |
36 | #include <linux/device.h> | 36 | #include <linux/device.h> |
37 | #include "ibmvscsi.h" | 37 | #include "ibmvscsi.h" |