mirror of
https://github.com/genodelabs/genode.git
synced 2025-04-07 19:34:56 +00:00
dde_linux: USB networking for rpi
Even though the network adaptor gets initialized, networking is not functional yet.
This commit is contained in:
parent
c52b7d3076
commit
93c7e852e9
@ -1,4 +1,3 @@
|
||||
|
||||
SRC_C += \
|
||||
usb/host/dwc_otg/dwc_otg/dwc_otg_adp.c \
|
||||
usb/host/dwc_otg/dwc_otg/dwc_otg_attr.c \
|
||||
@ -21,6 +20,8 @@ SRC_C += \
|
||||
usb/host/dwc_otg/dwc_common_port/dwc_modpow.c \
|
||||
usb/host/dwc_otg/dwc_common_port/dwc_notifier.c
|
||||
|
||||
SRC_C += usbnet.c smsc95xx.c
|
||||
|
||||
include $(REP_DIR)/lib/mk/usb.inc
|
||||
include $(REP_DIR)/lib/mk/arm/usb.inc
|
||||
|
||||
|
@ -17,6 +17,7 @@
|
||||
|
||||
/* emulation */
|
||||
#include <platform/platform.h>
|
||||
#include <platform.h>
|
||||
#include <lx_emul.h>
|
||||
|
||||
/* dwc-otg */
|
||||
@ -180,11 +181,17 @@ struct tvec_base boot_tvec_bases;
|
||||
*******************/
|
||||
|
||||
extern "C" void module_dwc_otg_driver_init();
|
||||
extern "C" int module_usbnet_init();
|
||||
extern "C" int module_smsc95xx_driver_init();
|
||||
|
||||
struct Services;
|
||||
|
||||
void platform_hcd_init(Services *)
|
||||
void platform_hcd_init(Services *services)
|
||||
{
|
||||
/* register network */
|
||||
if (services->nic) {
|
||||
module_usbnet_init();
|
||||
module_smsc95xx_driver_init();
|
||||
}
|
||||
|
||||
/* disable split-enable fix, otherwise, fiq_fix will be implied */
|
||||
fiq_split_enable = false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user