aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/net/qeth_core.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r--drivers/s390/net/qeth_core.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h
index 81d19db805ba..5686955e62dd 100644
--- a/drivers/s390/net/qeth_core.h
+++ b/drivers/s390/net/qeth_core.h
@@ -711,7 +711,16 @@ struct qeth_discipline {
711 qdio_handler_t *input_handler; 711 qdio_handler_t *input_handler;
712 qdio_handler_t *output_handler; 712 qdio_handler_t *output_handler;
713 int (*recover)(void *ptr); 713 int (*recover)(void *ptr);
714 struct ccwgroup_driver *ccwgdriver; 714 int (*setup) (struct ccwgroup_device *);
715 void (*remove) (struct ccwgroup_device *);
716 int (*set_online) (struct ccwgroup_device *);
717 int (*set_offline) (struct ccwgroup_device *);
718 void (*shutdown)(struct ccwgroup_device *);
719 int (*prepare) (struct ccwgroup_device *);
720 void (*complete) (struct ccwgroup_device *);
721 int (*freeze)(struct ccwgroup_device *);
722 int (*thaw) (struct ccwgroup_device *);
723 int (*restore)(struct ccwgroup_device *);
715}; 724};
716 725
717struct qeth_vlan_vid { 726struct qeth_vlan_vid {
@@ -775,7 +784,7 @@ struct qeth_card {
775 struct qeth_perf_stats perf_stats; 784 struct qeth_perf_stats perf_stats;
776 int read_or_write_problem; 785 int read_or_write_problem;
777 struct qeth_osn_info osn_info; 786 struct qeth_osn_info osn_info;
778 struct qeth_discipline discipline; 787 struct qeth_discipline *discipline;
779 atomic_t force_alloc_skb; 788 atomic_t force_alloc_skb;
780 struct service_level qeth_service_level; 789 struct service_level qeth_service_level;
781 struct qdio_ssqd_desc ssqd; 790 struct qdio_ssqd_desc ssqd;
@@ -841,8 +850,8 @@ static inline int qeth_is_diagass_supported(struct qeth_card *card,
841 return card->info.diagass_support & (__u32)cmd; 850 return card->info.diagass_support & (__u32)cmd;
842} 851}
843 852
844extern struct ccwgroup_driver qeth_l2_ccwgroup_driver; 853extern struct qeth_discipline qeth_l2_discipline;
845extern struct ccwgroup_driver qeth_l3_ccwgroup_driver; 854extern struct qeth_discipline qeth_l3_discipline;
846extern const struct attribute_group *qeth_generic_attr_groups[]; 855extern const struct attribute_group *qeth_generic_attr_groups[];
847extern const struct attribute_group *qeth_osn_attr_groups[]; 856extern const struct attribute_group *qeth_osn_attr_groups[];
848 857