https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222624

--- Comment #16 from Hans Petter Selasky <hsela...@freebsd.org> ---
Hi,

ehci_get_port_speed_portsc() should not be in use on amd64. Either the stack is
corrupt or this indicates a problem with the CPU or some registers have been
clobbered.

--HPS

sys/dev/usb/controller/ehci_ixp4xx.c:   sc->sc_vendor_get_port_speed =
ehci_get_port_speed_portsc;
sys/dev/usb/controller/ehci_imx.c:      esc->sc_vendor_get_port_speed =
ehci_get_port_speed_portsc;
sys/dev/usb/controller/ehci.c:ehci_get_port_speed_portsc(struct ehci_softc *sc,
uint16_t index)
sys/dev/usb/controller/ehci_mv.c:       sc->sc_vendor_get_port_speed =
ehci_get_port_speed_portsc;
sys/dev/usb/controller/ehci.h:uint16_t ehci_get_port_speed_portsc(struct
ehci_softc *sc, uint16_t index);

cpufunc.h (amd64):218

static __inline u_int
inl(u_int port)
{
        u_int   data;

        __asm __volatile("inl %w1, %0" : "=a" (data) : "Nd" (port));
        return (data);
}

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-usb@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to