mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
drivers/net: add IGB network card support
Build Documentation / build-html (push) Has been cancelled
Build Documentation / build-html (push) Has been cancelled
Add support for Intel IGB type of network cards. Signed-off-by: p-szafonimateusz <p-szafonimateusz@xiaomi.com>
This commit is contained in:
committed by
Alin Jerpelea
parent
735e16f842
commit
880c8e5d26
@@ -32,6 +32,7 @@
|
||||
#include <nuttx/virtio/virtio-pci.h>
|
||||
#include <nuttx/net/e1000.h>
|
||||
#include <nuttx/net/igc.h>
|
||||
#include <nuttx/net/igb.h>
|
||||
#include <nuttx/can/kvaser_pci.h>
|
||||
#include <nuttx/can/ctucanfd_pci.h>
|
||||
#include <nuttx/usb/xhci_pci.h>
|
||||
@@ -163,6 +164,16 @@ int pci_register_drivers(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Initialization igb driver */
|
||||
|
||||
#ifdef CONFIG_NET_IGB
|
||||
ret = pci_igb_init();
|
||||
if (ret < 0)
|
||||
{
|
||||
pcierr("pci_igb_init failed, ret=%d\n", ret);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Initialzie Kvaser pci driver */
|
||||
|
||||
#ifdef CONFIG_CAN_KVASER
|
||||
|
||||
Reference in New Issue
Block a user