diff options
author | Matt Ettus | 2009-09-04 15:31:26 -0700 |
---|---|---|
committer | Matt Ettus | 2009-09-04 15:31:26 -0700 |
commit | 7cb806f71a3bcc52c3c2e5688a9b6b48e3401615 (patch) | |
tree | e0bda275b6c49df0f0c8acf3f1f5c206689f3825 /usrp2/firmware/lib/eth_mac_regs.h | |
parent | e103e18f8b8111cd07edc2bb0294aa58a426e371 (diff) | |
download | gnuradio-7cb806f71a3bcc52c3c2e5688a9b6b48e3401615.tar.gz gnuradio-7cb806f71a3bcc52c3c2e5688a9b6b48e3401615.tar.bz2 gnuradio-7cb806f71a3bcc52c3c2e5688a9b6b48e3401615.zip |
properly set the address filter
Diffstat (limited to 'usrp2/firmware/lib/eth_mac_regs.h')
-rw-r--r-- | usrp2/firmware/lib/eth_mac_regs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/usrp2/firmware/lib/eth_mac_regs.h b/usrp2/firmware/lib/eth_mac_regs.h index 3c866e471..a14c00641 100644 --- a/usrp2/firmware/lib/eth_mac_regs.h +++ b/usrp2/firmware/lib/eth_mac_regs.h @@ -37,6 +37,14 @@ typedef struct { volatile int miirx_data; } eth_mac_regs_t; +// settings register +#define MAC_SET_PAUSE_EN (1 << 0) // Makes us respect received pause frames (normally on) +#define MAC_SET_PASS_ALL (1 << 1) // Enables promiscuous mode, currently broken +#define MAC_SET_PASS_PAUSE (1 << 2) // Sends pause frames through (normally off) +#define MAC_SET_PASS_BCAST (1 << 3) // Sends broadcast frames through (normally on) +#define MAC_SET_PASS_MCAST (1 << 4) // Sends multicast frames that match mcast addr (normally off) +#define MAC_SET_PASS_UCAST (1 << 5) // Sends unicast (normal) frames through if they hit in address filter (normally on) + // miicommand register #define MIIC_SCANSSTAT (1 << 0) // Scan status #define MIIC_RSTAT (1 << 1) // Read status |