net: hns: add dsaf misc operation method
[deliverable/linux.git] / drivers / net / ethernet / hisilicon / hns / hns_dsaf_misc.h
index 419f07aa97341509f50c031dbb6d6437b3732420..f06bb03d47a6e15cad83a0cd85a61a85e94022d7 100644 (file)
 #define DSAF_LED_DATA_B 4
 #define DSAF_LED_ANCHOR_B 5
 
-void hns_cpld_set_led(struct hns_mac_cb *mac_cb, int link_status,
-                     u16 speed, int data);
-void cpld_led_reset(struct hns_mac_cb *mac_cb);
-int cpld_set_led_id(struct hns_mac_cb *mac_cb,
-                   enum hnae_led_state status);
-int hns_mac_get_sfp_prsnt(struct hns_mac_cb *mac_cb, int *sfp_prsnt);
+struct dsaf_misc_op *hns_misc_op_get(struct dsaf_device *dsaf_dev);
 
 #endif
This page took 0.044201 seconds and 5 git commands to generate.