Re: [PATCH 01/23] xhci: Support xHCI host controllers and USB 3.0 devices.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Dienstag 28 April 2009 04:52:22 schrieb Sarah Sharp:
> +/* TODO: copied from ehci.h - can be refactored? */
> +/* xHCI spec says all registers are little endian */
> +static inline unsigned int xhci_readl(const struct xhci_hcd *xhci,
> +               __u32 __iomem *regs)
> +{
> +       return readl(regs);
> +}
> +static inline void xhci_writel(const struct xhci_hcd *xhci,
> +               const unsigned int val, __u32 __iomem *regs)
> +{
> +       if (!in_interrupt())
> +               xhci_dbg(xhci, "`MEM_WRITE_DWORD(3'b000, 32'h%0x, 32'h%0x, 4'hf);\n",
> +                               (unsigned int) regs, val);
> +       writel(val, regs);
> +}

No 64 bit version?

	Regards
		Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux