diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-28 15:33:21 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-12-28 15:33:21 -0500 |
commit | 1db2a5c11e495366bff35cf7445d494703f7febe (patch) | |
tree | 3347dd1cab0a2a96a4333524298a62132eb22336 /drivers/s390/cio/chsc.c | |
parent | a39b863342b8aba52390092be95db58f6ed56061 (diff) | |
parent | cef7125def4dd104769f400c941199614da0aca1 (diff) |
Merge branch 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6
* 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6: (85 commits)
[S390] provide documentation for hvc_iucv kernel parameter.
[S390] convert ctcm printks to dev_xxx and pr_xxx macros.
[S390] convert zfcp printks to pr_xxx macros.
[S390] convert vmlogrdr printks to pr_xxx macros.
[S390] convert zfcp dumper printks to pr_xxx macros.
[S390] convert cpu related printks to pr_xxx macros.
[S390] convert qeth printks to dev_xxx and pr_xxx macros.
[S390] convert sclp printks to pr_xxx macros.
[S390] convert iucv printks to dev_xxx and pr_xxx macros.
[S390] convert ap_bus printks to pr_xxx macros.
[S390] convert dcssblk and extmem printks messages to pr_xxx macros.
[S390] convert monwriter printks to pr_xxx macros.
[S390] convert s390 debug feature printks to pr_xxx macros.
[S390] convert monreader printks to pr_xxx macros.
[S390] convert appldata printks to pr_xxx macros.
[S390] convert setup printks to pr_xxx macros.
[S390] convert hypfs printks to pr_xxx macros.
[S390] convert time printks to pr_xxx macros.
[S390] convert cpacf printks to pr_xxx macros.
[S390] convert cio printks to pr_xxx macros.
...
Diffstat (limited to 'drivers/s390/cio/chsc.c')
-rw-r--r-- | drivers/s390/cio/chsc.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/s390/cio/chsc.c b/drivers/s390/cio/chsc.c index 29826fdd47b8..ebab6ea4659b 100644 --- a/drivers/s390/cio/chsc.c +++ b/drivers/s390/cio/chsc.c | |||
@@ -8,6 +8,9 @@ | |||
8 | * Arnd Bergmann (arndb@de.ibm.com) | 8 | * Arnd Bergmann (arndb@de.ibm.com) |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #define KMSG_COMPONENT "cio" | ||
12 | #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt | ||
13 | |||
11 | #include <linux/module.h> | 14 | #include <linux/module.h> |
12 | #include <linux/slab.h> | 15 | #include <linux/slab.h> |
13 | #include <linux/init.h> | 16 | #include <linux/init.h> |
@@ -333,6 +336,7 @@ static void chsc_process_sei_chp_config(struct chsc_sei_area *sei_area) | |||
333 | struct chp_config_data *data; | 336 | struct chp_config_data *data; |
334 | struct chp_id chpid; | 337 | struct chp_id chpid; |
335 | int num; | 338 | int num; |
339 | char *events[3] = {"configure", "deconfigure", "cancel deconfigure"}; | ||
336 | 340 | ||
337 | CIO_CRW_EVENT(4, "chsc: channel-path-configuration notification\n"); | 341 | CIO_CRW_EVENT(4, "chsc: channel-path-configuration notification\n"); |
338 | if (sei_area->rs != 0) | 342 | if (sei_area->rs != 0) |
@@ -343,8 +347,8 @@ static void chsc_process_sei_chp_config(struct chsc_sei_area *sei_area) | |||
343 | if (!chp_test_bit(data->map, num)) | 347 | if (!chp_test_bit(data->map, num)) |
344 | continue; | 348 | continue; |
345 | chpid.id = num; | 349 | chpid.id = num; |
346 | printk(KERN_WARNING "cio: processing configure event %d for " | 350 | pr_notice("Processing %s for channel path %x.%02x\n", |
347 | "chpid %x.%02x\n", data->op, chpid.cssid, chpid.id); | 351 | events[data->op], chpid.cssid, chpid.id); |
348 | switch (data->op) { | 352 | switch (data->op) { |
349 | case 0: | 353 | case 0: |
350 | chp_cfg_schedule(chpid, 1); | 354 | chp_cfg_schedule(chpid, 1); |