Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98955
b: refs/heads/master
c: 44a1c19
h: refs/heads/master
i:
  98953: 0d9cef7
  98951: 371080e
v: v3
  • Loading branch information
Cornelia Huck authored and Heiko Carstens committed Jul 14, 2008
1 parent 6b6e93a commit 472e1f2
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c11561897ab57a3c11e0a284ba17795d580589ab
refs/heads/master: 44a1c19e3b47a7ac596808177ccd250b95f5e688
1 change: 1 addition & 0 deletions trunk/drivers/s390/cio/chp.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ u8 chp_get_sch_opm(struct subchannel *sch)
}
return opm;
}
EXPORT_SYMBOL_GPL(chp_get_sch_opm);

/**
* chp_is_registered - check if a channel-path is registered
Expand Down
16 changes: 10 additions & 6 deletions trunk/drivers/s390/cio/cio.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,10 @@ cio_modify (struct subchannel *sch)
return ret;
}

/*
* Enable subchannel.
/**
* cio_enable_subchannel - enable a subchannel.
* @sch: subchannel to be enabled
* @intparm: interruption parameter to set
*/
int cio_enable_subchannel(struct subchannel *sch, u32 intparm)
{
Expand Down Expand Up @@ -434,12 +436,13 @@ int cio_enable_subchannel(struct subchannel *sch, u32 intparm)
CIO_TRACE_EVENT (2, dbf_txt);
return ret;
}
EXPORT_SYMBOL_GPL(cio_enable_subchannel);

/*
* Disable subchannel.
/**
* cio_disable_subchannel - disable a subchannel.
* @sch: subchannel to disable
*/
int
cio_disable_subchannel (struct subchannel *sch)
int cio_disable_subchannel(struct subchannel *sch)
{
char dbf_txt[15];
int ccode;
Expand Down Expand Up @@ -484,6 +487,7 @@ cio_disable_subchannel (struct subchannel *sch)
CIO_TRACE_EVENT (2, dbf_txt);
return ret;
}
EXPORT_SYMBOL_GPL(cio_disable_subchannel);

int cio_create_sch_lock(struct subchannel *sch)
{
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/s390/cio/css.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,17 @@ static int css_sch_device_register(struct subchannel *sch)
return ret;
}

/**
* css_sch_device_unregister - unregister a subchannel
* @sch: subchannel to be unregistered
*/
void css_sch_device_unregister(struct subchannel *sch)
{
mutex_lock(&sch->reg_mutex);
device_unregister(&sch->dev);
mutex_unlock(&sch->reg_mutex);
}
EXPORT_SYMBOL_GPL(css_sch_device_unregister);

static void ssd_from_pmcw(struct chsc_ssd_info *ssd, struct pmcw *pmcw)
{
Expand Down

0 comments on commit 472e1f2

Please sign in to comment.