Browse Source

We *do* have a __data16_array after all!

tags/v0.9.3
Michael Brown 18 years ago
parent
commit
f81bf3bc52
1 changed files with 1 additions and 6 deletions
  1. 1
    6
      src/arch/i386/drivers/net/undinet.c

+ 1
- 6
src/arch/i386/drivers/net/undinet.c View File

301
 /** Maximum length of a packet transmitted via the UNDI API */
301
 /** Maximum length of a packet transmitted via the UNDI API */
302
 #define UNDI_PKB_LEN 1514
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
 /** UNDI packet buffer */
304
 /** UNDI packet buffer */
310
-static struct undi_packet __data16 ( undinet_pkb );
305
+static char __data16_array ( undinet_pkb, [UNDI_PKB_LEN] );
311
 #define undinet_pkb __use_data16 ( undinet_pkb )
306
 #define undinet_pkb __use_data16 ( undinet_pkb )
312
 
307
 
313
 /** UNDI transmit buffer descriptor */
308
 /** UNDI transmit buffer descriptor */

Loading…
Cancel
Save