RE: Xilinx: hwicap driver comments

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Stephen Neuendorffer
Date: Thursday, February 7, 2008 - 3:31 pm

> -----Original Message-----
upstream
rule some
device into
the sem)

Hmm..  hadn't realized that.  I'm open to suggestions on how to do this
better.  The real reason why the synchronization is there is to make
sure that only one client is using the device at a time, using the
is_open flag.


What is preferred?

a bug,
record\n");

easily fixed.


The physical device only generates/accepts complete words, the intention
is to account for the possibility that a read does not read complete
words, and to fulfill the read whenever possible.
It's arguable that read() and write() should not accept or return
partial words, I suppose

bytes_to_read);

no idea.  even if it is, it's unlikely that the of_driver probing is
protected by the same lock as the platform_driver probing.


I thought I had been.... hmm... looks like a few other things to fix
there, too.

Steve


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Xilinx: hwicap driver comments, Jiri Slaby, (Thu Feb 7, 1:08 pm)
Re: Xilinx: hwicap driver comments, Grant Likely, (Thu Feb 7, 1:34 pm)
Re: Xilinx: hwicap driver comments, Andrew Morton, (Thu Feb 7, 1:42 pm)
Re: Xilinx: hwicap driver comments, Grant Likely, (Thu Feb 7, 1:54 pm)
RE: Xilinx: hwicap driver comments, Stephen Neuendorffer, (Thu Feb 7, 2:10 pm)
Re: Xilinx: hwicap driver comments, Benjamin Herrenschmidt, (Thu Feb 7, 2:17 pm)
Re: Xilinx: hwicap driver comments, Andrew Morton, (Thu Feb 7, 2:21 pm)
Re: Xilinx: hwicap driver comments, Benjamin Herrenschmidt, (Thu Feb 7, 2:25 pm)
Re: Xilinx: hwicap driver comments, Jiri Slaby, (Thu Feb 7, 2:28 pm)
Re: Xilinx: hwicap driver comments, Grant Likely, (Thu Feb 7, 2:31 pm)
Re: Xilinx: hwicap driver comments, Benjamin Herrenschmidt, (Thu Feb 7, 2:33 pm)
Re: Xilinx: hwicap driver comments, Grant Likely, (Thu Feb 7, 2:35 pm)
RE: Xilinx: hwicap driver comments, Stephen Neuendorffer, (Thu Feb 7, 2:35 pm)
Re: Xilinx: hwicap driver comments, Josh Boyer, (Thu Feb 7, 2:35 pm)
Re: Xilinx: hwicap driver comments, Linus Torvalds, (Thu Feb 7, 2:40 pm)
Re: Xilinx: hwicap driver comments, Andrew Morton, (Thu Feb 7, 2:53 pm)
RE: Xilinx: hwicap driver comments, Stephen Neuendorffer, (Thu Feb 7, 3:00 pm)
Re: Xilinx: hwicap driver comments, Andrew Morton, (Thu Feb 7, 3:11 pm)
RE: Xilinx: hwicap driver comments, Stephen Neuendorffer, (Thu Feb 7, 3:31 pm)
Re: Xilinx: hwicap driver comments, Jiri Slaby, (Thu Feb 7, 3:39 pm)
Re: Xilinx: hwicap driver comments, Josh Boyer, (Thu Feb 7, 3:58 pm)
[PATCH] [POWERPC] Xilinx: hwicap driver, Stephen Neuendorffer, (Thu Feb 7, 7:17 pm)
Re: [PATCH] [POWERPC] Xilinx: hwicap driver, Jiri Slaby, (Fri Feb 8, 2:10 am)
Re: [PATCH] [POWERPC] Xilinx: hwicap driver, Randy Dunlap, (Fri Feb 8, 9:49 am)
RE: Xilinx: hwicap driver comments, Stephen Neuendorffer, (Fri Feb 8, 10:08 am)