http://git.etherboot.org
/
people
/
xl0
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c66588
)
We *do* have a __data16_array after all!
author
Michael Brown
<mcb30@etherboot.org>
Fri, 12 Jan 2007 02:37:47 +0000
(
02:37
+0000)
committer
Michael Brown
<mcb30@etherboot.org>
Fri, 12 Jan 2007 02:37:47 +0000
(
02:37
+0000)
src/arch/i386/drivers/net/undinet.c
patch
|
blob
|
history
diff --git
a/src/arch/i386/drivers/net/undinet.c
b/src/arch/i386/drivers/net/undinet.c
index
5041e3a
..
2e7c13a
100644
(file)
--- 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 */