aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorCornelia Huck <cornelia.huck@de.ibm.com>2008-07-14 03:58:47 -0400
committerHeiko Carstens <heiko.carstens@de.ibm.com>2008-07-14 04:02:06 -0400
commit44a1c19e3b47a7ac596808177ccd250b95f5e688 (patch)
tree6e6979971a905d143c3bacde998a061aa088b507 /drivers
parentc11561897ab57a3c11e0a284ba17795d580589ab (diff)
[S390] cio: Export some symbols for modular css drivers.
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/s390/cio/chp.c1
-rw-r--r--drivers/s390/cio/cio.c16
-rw-r--r--drivers/s390/cio/css.c5
3 files changed, 16 insertions, 6 deletions
diff --git a/drivers/s390/cio/chp.c b/drivers/s390/cio/chp.c
index 672d9731c525..0b3c3109f228 100644
--- a/drivers/s390/cio/chp.c
+++ b/drivers/s390/cio/chp.c
@@ -95,6 +95,7 @@ u8 chp_get_sch_opm(struct subchannel *sch)
95 } 95 }
96 return opm; 96 return opm;
97} 97}
98EXPORT_SYMBOL_GPL(chp_get_sch_opm);
98 99
99/** 100/**
100 * chp_is_registered - check if a channel-path is registered 101 * chp_is_registered - check if a channel-path is registered
diff --git a/drivers/s390/cio/cio.c b/drivers/s390/cio/cio.c
index fdb164f36109..be53f0ee2b1c 100644
--- a/drivers/s390/cio/cio.c
+++ b/drivers/s390/cio/cio.c
@@ -387,8 +387,10 @@ cio_modify (struct subchannel *sch)
387 return ret; 387 return ret;
388} 388}
389 389
390/* 390/**
391 * Enable subchannel. 391 * cio_enable_subchannel - enable a subchannel.
392 * @sch: subchannel to be enabled
393 * @intparm: interruption parameter to set
392 */ 394 */
393int cio_enable_subchannel(struct subchannel *sch, u32 intparm) 395int cio_enable_subchannel(struct subchannel *sch, u32 intparm)
394{ 396{
@@ -434,12 +436,13 @@ int cio_enable_subchannel(struct subchannel *sch, u32 intparm)
434 CIO_TRACE_EVENT (2, dbf_txt); 436 CIO_TRACE_EVENT (2, dbf_txt);
435 return ret; 437 return ret;
436} 438}
439EXPORT_SYMBOL_GPL(cio_enable_subchannel);
437 440
438/* 441/**
439 * Disable subchannel. 442 * cio_disable_subchannel - disable a subchannel.
443 * @sch: subchannel to disable
440 */ 444 */
441int 445int cio_disable_subchannel(struct subchannel *sch)
442cio_disable_subchannel (struct subchannel *sch)
443{ 446{
444 char dbf_txt[15]; 447 char dbf_txt[15];
445 int ccode; 448 int ccode;
@@ -484,6 +487,7 @@ cio_disable_subchannel (struct subchannel *sch)
484 CIO_TRACE_EVENT (2, dbf_txt); 487 CIO_TRACE_EVENT (2, dbf_txt);
485 return ret; 488 return ret;
486} 489}
490EXPORT_SYMBOL_GPL(cio_disable_subchannel);
487 491
488int cio_create_sch_lock(struct subchannel *sch) 492int cio_create_sch_lock(struct subchannel *sch)
489{ 493{
diff --git a/drivers/s390/cio/css.c b/drivers/s390/cio/css.c
index cf9d27c6f444..bc3a8e4a49f7 100644
--- a/drivers/s390/cio/css.c
+++ b/drivers/s390/cio/css.c
@@ -158,12 +158,17 @@ static int css_sch_device_register(struct subchannel *sch)
158 return ret; 158 return ret;
159} 159}
160 160
161/**
162 * css_sch_device_unregister - unregister a subchannel
163 * @sch: subchannel to be unregistered
164 */
161void css_sch_device_unregister(struct subchannel *sch) 165void css_sch_device_unregister(struct subchannel *sch)
162{ 166{
163 mutex_lock(&sch->reg_mutex); 167 mutex_lock(&sch->reg_mutex);
164 device_unregister(&sch->dev); 168 device_unregister(&sch->dev);
165 mutex_unlock(&sch->reg_mutex); 169 mutex_unlock(&sch->reg_mutex);
166} 170}
171EXPORT_SYMBOL_GPL(css_sch_device_unregister);
167 172
168static void ssd_from_pmcw(struct chsc_ssd_info *ssd, struct pmcw *pmcw) 173static void ssd_from_pmcw(struct chsc_ssd_info *ssd, struct pmcw *pmcw)
169{ 174{