diff options
| author | Jamal Hadi Salim <hadi@cyberus.ca> | 2004-09-12 02:53:16 -0700 |
|---|---|---|
| committer | David S. Miller <davem@nuts.davemloft.net> | 2004-09-12 02:53:16 -0700 |
| commit | 94ca8643653c08620fcd782a8a3b0f3a1b105646 (patch) | |
| tree | 22ec0d4f7a3d15f133d66c0697720455366580c2 /include/linux/netdevice.h | |
| parent | 39cdeef7c7325b4d31f44c05e7c98c06dc177bad (diff) | |
[NET]: Use NETDEV_TX_* macros instead of magic numbers.
Signed-off-by: Jamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
| -rw-r--r-- | include/linux/netdevice.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index 9784aca0bc31..8325475d6ea0 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -73,6 +73,11 @@ struct ethtool_ops; #define MAX_ADDR_LEN 32 /* Largest hardware address length */ +/* Driver transmit return codes */ +#define NETDEV_TX_OK 0 /* driver took care of packet */ +#define NETDEV_TX_BUSY 1 /* driver tx path was busy*/ +#define NETDEV_TX_LOCKED -1 /* driver tx lock was already taken */ + /* * Compute the worst case header length according to the protocols * used. |
