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

driver_t *libbsdport_netdriver_table_all[] = {
	&libbsdport_em_driver,
	&libbsdport_pcn_driver,
	&libbsdport_le_pci_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")));