Procházet zdrojové kódy

We *do* have a __data16_array after all!

tags/v0.9.3
Michael Brown před 18 roky
rodič
revize
f81bf3bc52
1 změnil soubory, kde provedl 1 přidání a 6 odebrání
  1. 1
    6
      src/arch/i386/drivers/net/undinet.c

+ 1
- 6
src/arch/i386/drivers/net/undinet.c Zobrazit soubor

@@ -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 */

Načítá se…
Zrušit
Uložit