gmac.h (e5451c8f8330e03ad3cfa16048b4daf961af434f) gmac.h (766607570becbd26cab6d66a544dd8d0d964df5a)
1/*****************************************************************************
2 * *
3 * File: gmac.h *
4 * $Revision: 1.6 $ *
5 * $Date: 2005/06/21 18:29:47 $ *
6 * Description: *
7 * Generic MAC functionality. *
8 * part of the Chelsio 10Gb Ethernet Driver. *

--- 103 unchanged lines hidden (view full) ---

112
113 int (*set_speed_duplex_fc)(struct cmac *, int speed, int duplex, int fc);
114 int (*get_speed_duplex_fc)(struct cmac *, int *speed, int *duplex,
115 int *fc);
116
117 const struct cmac_statistics *(*statistics_update)(struct cmac *, int);
118
119 int (*macaddress_get)(struct cmac *, u8 mac_addr[6]);
1/*****************************************************************************
2 * *
3 * File: gmac.h *
4 * $Revision: 1.6 $ *
5 * $Date: 2005/06/21 18:29:47 $ *
6 * Description: *
7 * Generic MAC functionality. *
8 * part of the Chelsio 10Gb Ethernet Driver. *

--- 103 unchanged lines hidden (view full) ---

112
113 int (*set_speed_duplex_fc)(struct cmac *, int speed, int duplex, int fc);
114 int (*get_speed_duplex_fc)(struct cmac *, int *speed, int *duplex,
115 int *fc);
116
117 const struct cmac_statistics *(*statistics_update)(struct cmac *, int);
118
119 int (*macaddress_get)(struct cmac *, u8 mac_addr[6]);
120 int (*macaddress_set)(struct cmac *, u8 mac_addr[6]);
120 int (*macaddress_set)(struct cmac *, const u8 mac_addr[6]);
121};
122
123typedef struct _cmac_instance cmac_instance;
124
125struct cmac {
126 struct cmac_statistics stats;
127 adapter_t *adapter;
128 const struct cmac_ops *ops;

--- 13 unchanged lines hidden ---
121};
122
123typedef struct _cmac_instance cmac_instance;
124
125struct cmac {
126 struct cmac_statistics stats;
127 adapter_t *adapter;
128 const struct cmac_ops *ops;

--- 13 unchanged lines hidden ---