Revision | 70e97fd674d669913a4c1be1459fba0fb9d0815d (tree) |
---|---|
Time | 2020-04-05 22:51:20 |
Author | Yoshinori Sato <ysato@user...> |
Commiter | Yoshinori Sato |
Fix build error.
@@ -122,6 +122,9 @@ typedef struct hw_info_t { | ||
122 | 122 | } hw_info_t; |
123 | 123 | |
124 | 124 | typedef struct dp83902a_priv_data { |
125 | + u8* base; | |
126 | + u8* data; | |
127 | + u8* reset; | |
125 | 128 | int tx_next; /* First free Tx page */ |
126 | 129 | int tx_int; /* Expecting interrupt from this buffer */ |
127 | 130 | int rx_next; /* First free Rx page */ |
@@ -129,14 +132,12 @@ typedef struct dp83902a_priv_data { | ||
129 | 132 | u32 tx1_key, tx2_key; /* Used to ack when packet sent */ |
130 | 133 | int tx1_len, tx2_len; |
131 | 134 | bool tx_started, running, hardwired_esa; |
135 | + u8 esa[6]; | |
132 | 136 | void* plf_priv; |
133 | 137 | |
134 | 138 | /* Buffer allocation */ |
135 | 139 | int tx_buf1, tx_buf2; |
136 | 140 | int rx_buf_start, rx_buf_end; |
137 | - unsigned char *pbuf; | |
138 | - int initialized; | |
139 | - int pkey; | |
140 | 141 | #ifdef CONFIG_DM_ETH |
141 | 142 | int rx_len; |
142 | 143 | #endif |