diff options
author | Michael Brown | 2007-01-12 03:37:47 +0100 |
---|---|---|
committer | Michael Brown | 2007-01-12 03:37:47 +0100 |
commit | f81bf3bc52c4ec0372d199ddf2b8f21060cb3529 (patch) | |
tree | f8b703650c9e9e96f4d6785056634af8c9a1c006 /src/arch/i386/drivers | |
parent | Add UNULL (diff) | |
download | ipxe-f81bf3bc52c4ec0372d199ddf2b8f21060cb3529.tar.gz ipxe-f81bf3bc52c4ec0372d199ddf2b8f21060cb3529.tar.xz ipxe-f81bf3bc52c4ec0372d199ddf2b8f21060cb3529.zip |
We *do* have a __data16_array after all!
Diffstat (limited to 'src/arch/i386/drivers')
-rw-r--r-- | src/arch/i386/drivers/net/undinet.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/arch/i386/drivers/net/undinet.c b/src/arch/i386/drivers/net/undinet.c index 5041e3a4..2e7c13af 100644 --- a/src/arch/i386/drivers/net/undinet.c +++ b/src/arch/i386/drivers/net/undinet.c @@ -301,13 +301,8 @@ static int undinet_isr_triggered ( void ) { /** Maximum length of a packet transmitted via the UNDI API */ #define UNDI_PKB_LEN 1514 -/** A packet transmitted via the UNDI API */ -struct undi_packet { - uint8_t bytes[UNDI_PKB_LEN]; -}; - /** UNDI packet buffer */ -static struct undi_packet __data16 ( undinet_pkb ); +static char __data16_array ( undinet_pkb, [UNDI_PKB_LEN] ); #define undinet_pkb __use_data16 ( undinet_pkb ) /** UNDI transmit buffer descriptor */ |