NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
kern/55789: New rump drivers
>Number: 55789
>Category: kern
>Synopsis: New rump drivers
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Nov 06 03:35:00 +0000 2020
>Originator: Ruslan Nikolaev
>Release: master
>Organization:
Virginia Tech
>Environment:
>Description:
While working on rumprun-smp (github.com/ssrg-vt/rumprun-smp), we added additional glue code (rump files) for some new NetBSD drivers.
We have changes for ixgbe, NVMe, and xHCI. We are going to post them here shortly when they are fully ready for the latest branch.
xHCI patch is ready and attached.
>How-To-Repeat:
>Fix:
xHCI patch:
diff --git a/sys/rump/dev/lib/libpci_usbhc/Makefile b/sys/rump/dev/lib/libpci_usbhc/Makefile
index dddcd21dd27b..6aa253bc92c4 100644
--- a/sys/rump/dev/lib/libpci_usbhc/Makefile
+++ b/sys/rump/dev/lib/libpci_usbhc/Makefile
@@ -14,6 +14,7 @@ RUMP_COMPONENT=ioconf
SRCS+= ohci_pci.c ohci.c
SRCS+= uhci_pci.c uhci.c
SRCS+= ehci_pci.c ehci.c
+SRCS+= xhci_pci.c xhci.c
SRCS+= usb_pci.c
CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern -I${RUMPTOP}/../dev
diff --git a/sys/rump/dev/lib/libpci_usbhc/PCI_USBHC.ioconf b/sys/rump/dev/lib/libpci_usbhc/PCI_USBHC.ioconf
index 4c324d0fbf3a..922e44d1c402 100644
--- a/sys/rump/dev/lib/libpci_usbhc/PCI_USBHC.ioconf
+++ b/sys/rump/dev/lib/libpci_usbhc/PCI_USBHC.ioconf
@@ -11,3 +11,4 @@ pseudo-root pci*
ohci* at pci?
uhci* at pci?
ehci* at pci?
+xhci* at pci?
diff --git a/sys/rump/dev/lib/libusb/USB.ioconf b/sys/rump/dev/lib/libusb/USB.ioconf
index ca6e2bd71637..5f49f6fc1424 100644
--- a/sys/rump/dev/lib/libusb/USB.ioconf
+++ b/sys/rump/dev/lib/libusb/USB.ioconf
@@ -12,6 +12,7 @@ include "rump/dev/files.rump"
pseudo-root ugenhc*
# PCI host controllers
+pseudo-root xhci*diff --git a/sys/rump/dev/lib/libpci_usbhc/Makefile b/sys/rump/dev/lib/libpci_usbhc/Makefile
index dddcd21dd27b..6aa253bc92c4 100644
--- a/sys/rump/dev/lib/libpci_usbhc/Makefile
+++ b/sys/rump/dev/lib/libpci_usbhc/Makefile
@@ -14,6 +14,7 @@ RUMP_COMPONENT=ioconf
SRCS+= ohci_pci.c ohci.c
SRCS+= uhci_pci.c uhci.c
SRCS+= ehci_pci.c ehci.c
+SRCS+= xhci_pci.c xhci.c
SRCS+= usb_pci.c
CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern -I${RUMPTOP}/../dev
diff --git a/sys/rump/dev/lib/libpci_usbhc/PCI_USBHC.ioconf b/sys/rump/dev/lib/libpci_usbhc/PCI_USBHC.ioconf
index 4c324d0fbf3a..922e44d1c402 100644
--- a/sys/rump/dev/lib/libpci_usbhc/PCI_USBHC.ioconf
+++ b/sys/rump/dev/lib/libpci_usbhc/PCI_USBHC.ioconf
@@ -11,3 +11,4 @@ pseudo-root pci*
ohci* at pci?
uhci* at pci?
ehci* at pci?
+xhci* at pci?
diff --git a/sys/rump/dev/lib/libusb/USB.ioconf b/sys/rump/dev/lib/libusb/USB.ioconf
index ca6e2bd71637..5f49f6fc1424 100644
--- a/sys/rump/dev/lib/libusb/USB.ioconf
+++ b/sys/rump/dev/lib/libusb/USB.ioconf
@@ -12,6 +12,7 @@ include "rump/dev/files.rump"
pseudo-root ugenhc*
# PCI host controllers
+pseudo-root xhci*
pseudo-root ehci*
pseudo-root ohci*
pseudo-root uhci*
@@ -22,6 +23,7 @@ pseudo-root uhci*
#
usb* at ugenhc?
+usb* at xhci?
usb* at ehci?
usb* at ohci?
usb* at uhci?
pseudo-root ehci*
pseudo-root ohci*
pseudo-root uhci*
@@ -22,6 +23,7 @@ pseudo-root uhci*
#
usb* at ugenhc?
+usb* at xhci?
usb* at ehci?
usb* at ohci?
usb* at uhci?
Home |
Main Index |
Thread Index |
Old Index