login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
March
»
2
Re: [PATCH] serial: Add OMAP high-speed UART driver.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Tony Lindgren
Subject:
Re: [PATCH] serial: Add OMAP high-speed UART driver.
Date: Monday, March 1, 2010 - 11:52 pm
* G, Manjunath Kondaiah <manjugk@ti.com> [100301 22:24]:
quoted text
> > > > > > > > + up->uart_dma.prev_rx_dma_pos = > > up->uart_dma.rx_buf_dma_phys; > > > > > + if (cpu_is_omap44xx()) > > > > > + omap_writel(0, OMAP44XX_DMA4_BASE > > > > > + + > > OMAP_DMA4_CDAC(up->uart_dma.rx_dma_channel)); > > > > > + else > > > > > + omap_writel(0, OMAP34XX_DMA4_BASE > > > > > + + > > OMAP_DMA4_CDAC(up->uart_dma.rx_dma_channel)); > > > > > > > > NAK. Please don't use omap_read/write for for new code. And do not > > > > tinker with the omap hardware registers directly in the driver. > > > > > > > > This needs to be done properly in > > arch/arm/plat-omap/dma.c instead. > > > > > > Thanks for the suggestion. > > > > > > Currently, dma_read/dma_write are #define's in dma.c which > > cannot be > > > accessed outside dma.c. I don't see any API's in dma.c for > > setting required > > > value for this register? > > > > Hmm isn't this the same as omap_get_dma_dst_pos(int lch)? If you're > > trying do something that's not in dma.c, we can add a new function > > for it. > > The omap_get_dma_dst_pos(int lch) is for read operation in CDAC register. > But, We need to write required value into CDAC register. For this, I propose: > > omap_set_dma_dst_pos(int lch, int value) which does not exist in current dma > driver.
OK, it that's needed. Tony --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] serial: Add OMAP high-speed UART driver.
, Govindraj.R
, (Mon Mar 1, 7:43 am)
Re: [PATCH] serial: Add OMAP high-speed UART driver.
, Alan Cox
, (Mon Mar 1, 11:13 am)
Re: [PATCH] serial: Add OMAP high-speed UART driver.
, Tony Lindgren
, (Mon Mar 1, 11:46 am)
RE: [PATCH] serial: Add OMAP high-speed UART driver.
, G, Manjunath Kondaiah
, (Mon Mar 1, 10:51 pm)
Re: [PATCH] serial: Add OMAP high-speed UART driver.
, Tony Lindgren
, (Mon Mar 1, 11:08 pm)
RE: [PATCH] serial: Add OMAP high-speed UART driver.
, G, Manjunath Kondaiah
, (Mon Mar 1, 11:27 pm)
Re: [PATCH] serial: Add OMAP high-speed UART driver.
, Tony Lindgren
, (Mon Mar 1, 11:52 pm)
Re: [PATCH] serial: Add OMAP high-speed UART driver.
, Venkatraman S
, (Tue Mar 2, 6:46 am)
RE: [PATCH] serial: Add OMAP high-speed UART driver.
, G, Manjunath Kondaiah
, (Tue Mar 2, 6:58 am)
RE: [PATCH] serial: Add OMAP high-speed UART driver.
, Shilimkar, Santosh
, (Tue Mar 2, 7:04 am)
RE: [PATCH] serial: Add OMAP high-speed UART driver.
, G, Manjunath Kondaiah
, (Tue Mar 2, 8:03 am)
RE: [PATCH] serial: Add OMAP high-speed UART driver.
, Shilimkar, Santosh
, (Tue Mar 2, 8:13 am)
RE: [PATCH] serial: Add OMAP high-speed UART driver.
, G, Manjunath Kondaiah
, (Tue Mar 2, 10:26 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rusty Russell
Re: 2.6.22-rc3-mm1
Bill Fink
Re: [PATCH] net: add ability to clear stats via ethtool - e1000/pcnet32
Jeffrey V. Merkey
Re: Versioning file system
Alexey Dobriyan
Re: [2.6.22.2 review 09/84] Fix rfkill IRQ flags.
Luben Tuikov
Re: Integration of SCST in the mainstream Linux kernel
linux-netdev
:
David Miller
Re: [2.6.30-rc3] powerpc: compilation error of mace module
Rafael J. Wysocki
Re: [PATCH] igb: fix kexec with igb
Patrick McHardy
Re: [rfc 02/13] [RFC 02/13] netfilter: nf_conntrack_sip: Add callid parser
webmaster Maintenance
&#32852;&#31995;&#31995;&#32479;&#31649;&#29702;&#21592;
Krzysztof Oledzki
Re: Error: an inet prefix is expected rather than "0/0".
git-commits-head
:
Linux Kernel Mailing List
V4L/DVB: tm6000: add special usb request to quit i2c tuner transfer
Linux Kernel Mailing List
OMAP: DSS2: SDI driver
Linux Kernel Mailing List
PCI: introduce pci_pcie_cap()
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
PCI hotplug: acpiphp: remove superfluous _HPP/_HPX evaluation
git
:
Oliver Kullmann
Re: how to move with history?
Junio C Hamano
Re: [PATCH 2/3] git-add--interactive: remove hunk coalescing
Shawn O. Pearce
Re: Bugs in Gitosis
Harvey Harrison
Re: [SoC RFC] libsvn-fs-git: A git backend for the subversion filesystem
Alex Riesen
Re: git exclude patterns for directory
openbsd-misc
:
Ted Bullock
Re: Proliant DL380 G3 cannot get on network
Jack J. Woehr
Re: Real men don't attack straw men
Úlfar M. E. Johnson
installing openbsd in xen
Eric Furman
Re: Defending OpenBSD Performance
Tony Abernethy
Re: The Atheros story in much fewer words
Colocation donated by:
Syndicate