Mercurial > ecos
diff packages/io/eth/current/include/netdev.h @ 124:0ec04793409a ecos-sw-2000-09-11
Merge from eCos master repository on 2000-09-11-03:00:13-BST
| author | jlarmour |
|---|---|
| date | Mon, 11 Sep 2000 02:42:46 +0000 |
| parents | 6ed91473a1cd |
| children | 678094f34118 |
line wrap: on
line diff
--- a/packages/io/eth/current/include/netdev.h +++ b/packages/io/eth/current/include/netdev.h @@ -63,7 +63,7 @@ typedef struct cyg_netdevtab_entry { bool (*init)(struct cyg_netdevtab_entry *tab); void *device_instance; // Local data, instance specific unsigned long status; -} cyg_netdevtab_entry_t; +} CYG_HAL_TABLE_TYPE cyg_netdevtab_entry_t; #define CYG_NETDEVTAB_STATUS_AVAIL 0x0001 @@ -71,7 +71,7 @@ extern cyg_netdevtab_entry_t __NETDEVTAB #define NETDEVTAB_ENTRY(_l,_name,_init,_instance) \ static bool _init(struct cyg_netdevtab_entry *tab); \ -cyg_netdevtab_entry_t _l CYG_HAL_TABLE_ENTRY( netdev ) = { \ +cyg_netdevtab_entry_t _l CYG_HAL_TABLE_ENTRY(netdev) = { \ _name, \ _init, \ _instance \
