summaryrefslogtreecommitdiffstats
path: root/bsd_eth_drivers/libbsdport/alldrv.c
blob: 07381795c873f796c47e63265cbd8050b5aaa7ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include "libbsdport_api.h"

driver_t *libbsdport_netdriver_table_all[] = {
	&libbsdport_em_driver,
	&libbsdport_pcn_driver,
	&libbsdport_le_pci_driver,
	&libbsdport_re_driver,
	0
};

/* weak alias defaults to a table that includes all currently supported drivers */
extern driver_t *libbsdport_netdriver_table
	[
	sizeof(libbsdport_netdriver_table_all)/sizeof(libbsdport_netdriver_table_all[0])
	] __attribute__((weak,alias("libbsdport_netdriver_table_all")));