Skip to content

Commit

Permalink
s390: Move css limits from drivers/s390/cio/ to include/asm/.
Browse files Browse the repository at this point in the history
There's no need to keep __MAX_SUBCHANNEL and __MAX_SSID private to the
common I/O layer when __MAX_CSSID is usable by everybody.

Signed-off-by: Cornelia Huck <[email protected]>
Signed-off-by: Martin Schwidefsky <[email protected]>
  • Loading branch information
cohuck authored and Martin Schwidefsky committed Nov 6, 2012
1 parent d8e7a33 commit 619506d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions arch/s390/include/asm/cio.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

#define LPM_ANYPATH 0xff
#define __MAX_CSSID 0
#define __MAX_SUBCHANNEL 65535
#define __MAX_SSID 3

#include <asm/scsw.h>

Expand Down
3 changes: 0 additions & 3 deletions drivers/s390/cio/css.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,9 +112,6 @@ extern int for_each_subchannel(int(*fn)(struct subchannel_id, void *), void *);
extern void css_reiterate_subchannels(void);
void css_update_ssd_info(struct subchannel *sch);

#define __MAX_SUBCHANNEL 65535
#define __MAX_SSID 3

struct channel_subsystem {
u8 cssid;
int valid;
Expand Down

0 comments on commit 619506d

Please sign in to comment.