On Tue, Jul 17, 2018 at 12:13:40PM +0300, Dan Carpenter wrote:
> > +static ssize_t sysfs_read(struct device *dev, char *buf,
> > + unsigned int addr_offset)
> > +{
> > + struct axis_fifo *fifo = dev_get_drvdata(dev);
> > + unsigned int read_val;
> > + unsigned int strlen;
This version is much much better.
On Sun, Jul 15, 2018 at 12:34:28PM -0400, Jacob Feder wrote:
> +static ssize_t sysfs_write(struct device *dev, const char *buf,
> +size_t count, unsigned int addr_offset)
> +{
> + struct axis_fifo *fifo = dev_get_drvdata(dev);
> + u
On Mon, Jul 16, 2018 at 09:43:47AM +0200, Greg KH wrote:
> On Sun, Jul 15, 2018 at 04:38:51PM -0400, Jacob Feder wrote:
> > On Sun, Jul 15, 2018 at 09:44:58PM +0200, Greg KH wrote:
> > > On Sun, Jul 15, 2018 at 12:34:28PM -0400, Jacob Feder wrote:
> > > > Hi,
> > > > I have updated this with the re
On Sun, Jul 15, 2018 at 04:38:51PM -0400, Jacob Feder wrote:
> On Sun, Jul 15, 2018 at 09:44:58PM +0200, Greg KH wrote:
> > On Sun, Jul 15, 2018 at 12:34:28PM -0400, Jacob Feder wrote:
> > > Hi,
> > > I have updated this with the recommended changes. I haven't tried out the
> > > UIO though. It wil
On Sun, Jul 15, 2018 at 09:44:58PM +0200, Greg KH wrote:
> On Sun, Jul 15, 2018 at 12:34:28PM -0400, Jacob Feder wrote:
> > Hi,
> > I have updated this with the recommended changes. I haven't tried out the
> > UIO though. It will be a pretty significant undertaking and I don't want
> > to spend the
On Sun, Jul 15, 2018 at 12:34:28PM -0400, Jacob Feder wrote:
> Hi,
> I have updated this with the recommended changes. I haven't tried out the
> UIO though. It will be a pretty significant undertaking and I don't want
> to spend the time on it unless there is a specific reason you think it
> will b
Hi,
I have updated this with the recommended changes. I haven't tried out the
UIO though. It will be a pretty significant undertaking and I don't want
to spend the time on it unless there is a specific reason you think it
will be faster.
Thanks all.
Cheers,
Jacob
This IP core has read and write