if_tsec: Enable FDT support

This commit is contained in:
Sebastian Huber 2017-03-08 09:05:05 +01:00
parent c1205ee81e
commit 5f3722a8d9
3 changed files with 2 additions and 2 deletions

View File

@ -51,9 +51,7 @@ struct tsec_softc {
struct mtx transmit_lock; /* transmitter lock */
struct mtx receive_lock; /* receiver lock */
#ifndef __rtems__
phandle_t node;
#endif /* __rtems__ */
device_t dev;
device_t tsec_miibus;
struct mii_data *tsec_mii; /* MII media control */

View File

@ -1143,6 +1143,7 @@ def dev_net(mm):
'sys/dev/mii/ukphy.c',
'sys/dev/mii/ukphy_subr.c',
'sys/dev/tsec/if_tsec.c',
'sys/dev/tsec/if_tsec_fdt.c',
'sys/dev/cadence/if_cgem.c',
'sys/dev/dwc/if_dwc.c',
'sys/arm/xilinx/zy7_slcr.c',

View File

@ -879,6 +879,7 @@ def build(bld):
'freebsd/sys/dev/rtwn/usb/rtwn_usb_tx.c',
'freebsd/sys/dev/smc/if_smc.c',
'freebsd/sys/dev/tsec/if_tsec.c',
'freebsd/sys/dev/tsec/if_tsec_fdt.c',
'freebsd/sys/dev/usb/controller/dwc_otg.c',
'freebsd/sys/dev/usb/controller/ehci.c',
'freebsd/sys/dev/usb/controller/ohci.c',