diff options
Diffstat (limited to 'drivers/s390/net/qeth_core.h')
-rw-r--r-- | drivers/s390/net/qeth_core.h | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/drivers/s390/net/qeth_core.h b/drivers/s390/net/qeth_core.h index 40285dc9ae5c..06e8f31ff3dc 100644 --- a/drivers/s390/net/qeth_core.h +++ b/drivers/s390/net/qeth_core.h | |||
@@ -707,7 +707,16 @@ struct qeth_discipline { | |||
707 | qdio_handler_t *input_handler; | 707 | qdio_handler_t *input_handler; |
708 | qdio_handler_t *output_handler; | 708 | qdio_handler_t *output_handler; |
709 | int (*recover)(void *ptr); | 709 | int (*recover)(void *ptr); |
710 | struct ccwgroup_driver *ccwgdriver; | 710 | int (*setup) (struct ccwgroup_device *); |
711 | void (*remove) (struct ccwgroup_device *); | ||
712 | int (*set_online) (struct ccwgroup_device *); | ||
713 | int (*set_offline) (struct ccwgroup_device *); | ||
714 | void (*shutdown)(struct ccwgroup_device *); | ||
715 | int (*prepare) (struct ccwgroup_device *); | ||
716 | void (*complete) (struct ccwgroup_device *); | ||
717 | int (*freeze)(struct ccwgroup_device *); | ||
718 | int (*thaw) (struct ccwgroup_device *); | ||
719 | int (*restore)(struct ccwgroup_device *); | ||
711 | }; | 720 | }; |
712 | 721 | ||
713 | struct qeth_vlan_vid { | 722 | struct qeth_vlan_vid { |
@@ -771,7 +780,7 @@ struct qeth_card { | |||
771 | struct qeth_perf_stats perf_stats; | 780 | struct qeth_perf_stats perf_stats; |
772 | int read_or_write_problem; | 781 | int read_or_write_problem; |
773 | struct qeth_osn_info osn_info; | 782 | struct qeth_osn_info osn_info; |
774 | struct qeth_discipline discipline; | 783 | struct qeth_discipline *discipline; |
775 | atomic_t force_alloc_skb; | 784 | atomic_t force_alloc_skb; |
776 | struct service_level qeth_service_level; | 785 | struct service_level qeth_service_level; |
777 | struct qdio_ssqd_desc ssqd; | 786 | struct qdio_ssqd_desc ssqd; |
@@ -837,16 +846,15 @@ static inline int qeth_is_diagass_supported(struct qeth_card *card, | |||
837 | return card->info.diagass_support & (__u32)cmd; | 846 | return card->info.diagass_support & (__u32)cmd; |
838 | } | 847 | } |
839 | 848 | ||
840 | extern struct ccwgroup_driver qeth_l2_ccwgroup_driver; | 849 | extern struct qeth_discipline qeth_l2_discipline; |
841 | extern struct ccwgroup_driver qeth_l3_ccwgroup_driver; | 850 | extern struct qeth_discipline qeth_l3_discipline; |
851 | extern const struct attribute_group *qeth_generic_attr_groups[]; | ||
852 | extern const struct attribute_group *qeth_osn_attr_groups[]; | ||
853 | |||
842 | const char *qeth_get_cardname_short(struct qeth_card *); | 854 | const char *qeth_get_cardname_short(struct qeth_card *); |
843 | int qeth_realloc_buffer_pool(struct qeth_card *, int); | 855 | int qeth_realloc_buffer_pool(struct qeth_card *, int); |
844 | int qeth_core_load_discipline(struct qeth_card *, enum qeth_discipline_id); | 856 | int qeth_core_load_discipline(struct qeth_card *, enum qeth_discipline_id); |
845 | void qeth_core_free_discipline(struct qeth_card *); | 857 | void qeth_core_free_discipline(struct qeth_card *); |
846 | int qeth_core_create_device_attributes(struct device *); | ||
847 | void qeth_core_remove_device_attributes(struct device *); | ||
848 | int qeth_core_create_osn_attributes(struct device *); | ||
849 | void qeth_core_remove_osn_attributes(struct device *); | ||
850 | void qeth_buffer_reclaim_work(struct work_struct *); | 858 | void qeth_buffer_reclaim_work(struct work_struct *); |
851 | 859 | ||
852 | /* exports for qeth discipline device drivers */ | 860 | /* exports for qeth discipline device drivers */ |