|
@@ -301,13 +301,8 @@ static int undinet_isr_triggered ( void ) {
|
301
|
301
|
/** Maximum length of a packet transmitted via the UNDI API */
|
302
|
302
|
#define UNDI_PKB_LEN 1514
|
303
|
303
|
|
304
|
|
-/** A packet transmitted via the UNDI API */
|
305
|
|
-struct undi_packet {
|
306
|
|
- uint8_t bytes[UNDI_PKB_LEN];
|
307
|
|
-};
|
308
|
|
-
|
309
|
304
|
/** UNDI packet buffer */
|
310
|
|
-static struct undi_packet __data16 ( undinet_pkb );
|
|
305
|
+static char __data16_array ( undinet_pkb, [UNDI_PKB_LEN] );
|
311
|
306
|
#define undinet_pkb __use_data16 ( undinet_pkb )
|
312
|
307
|
|
313
|
308
|
/** UNDI transmit buffer descriptor */
|