diff options
author | 2015-02-10 05:00:25 +0000 | |
---|---|---|
committer | 2015-02-10 05:00:25 +0000 | |
commit | 578f812da8968851843f53680a8c6565b129c93c (patch) | |
tree | 498ade53c464875b01451569d0e31574792ef9b6 /sys/dev/usb/dwc2/files.dwc2 | |
parent | Expand the IMPLEMENT_ASN1_DUP_FUNCTION macro so that the code is visible (diff) | |
download | wireguard-openbsd-578f812da8968851843f53680a8c6565b129c93c.tar.xz wireguard-openbsd-578f812da8968851843f53680a8c6565b129c93c.zip |
Import dwc2 core and glue code from NetBSD. OK deraadt@ jsing@ miod@ mpi@
Diffstat (limited to 'sys/dev/usb/dwc2/files.dwc2')
-rw-r--r-- | sys/dev/usb/dwc2/files.dwc2 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sys/dev/usb/dwc2/files.dwc2 b/sys/dev/usb/dwc2/files.dwc2 new file mode 100644 index 00000000000..3bef404d1f3 --- /dev/null +++ b/sys/dev/usb/dwc2/files.dwc2 @@ -0,0 +1,15 @@ +# $NetBSD$ + +# DesignWare HS OTG Controller +# +device dwctwo: usbus, usbroothub, usb_dma +file external/bsd/dwc2/dwc2.c dwctwo needs-flag + +makeoptions dwctwo CPPFLAGS+=" -I$S/external/bsd/common/include -I$S/external/bsd -I$S/external/bsd/dwc2/dist" + +file external/bsd/dwc2/dist/dwc2_core.c dwctwo +file external/bsd/dwc2/dist/dwc2_coreintr.c dwctwo +file external/bsd/dwc2/dist/dwc2_hcd.c dwctwo +file external/bsd/dwc2/dist/dwc2_hcdddma.c dwctwo +file external/bsd/dwc2/dist/dwc2_hcdintr.c dwctwo +file external/bsd/dwc2/dist/dwc2_hcdqueue.c dwctwo |