Browse Source

fix LM3S8962 ethernet driver: Enable reception of multicast packets

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1983 bbd45198-f89e-11dd-88c7-29a3b14d5316
fengzi.rtt 13 years ago
parent
commit
feb4fa6df9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      bsp/lm3s8962/drivers/luminaryif.c

+ 2 - 1
bsp/lm3s8962/drivers/luminaryif.c

@@ -80,9 +80,10 @@ rt_err_t luminaryif_init(rt_device_t dev)
     // - Enable TX Duplex Mode
     // - Enable TX Padding
     // - Enable TX CRC Generation
+    // - Enable reception of multicast packets
     //
     EthernetConfigSet(ETH_BASE, (ETH_CFG_TX_DPLXEN |
-                                 ETH_CFG_TX_CRCEN | ETH_CFG_TX_PADEN));
+                                 ETH_CFG_TX_CRCEN | ETH_CFG_TX_PADEN | ETH_CFG_RX_AMULEN));
 
     //
     // Enable the Ethernet Controller transmitter and receiver.