Re: Help in learning real PCI device driver

2009-07-26 Thread Kalpesh Rathod
On Sat, Jul 25, 2009 at 11:21 PM, Vipul Jain wrote: > The link for datasheet is only available for RealTek development partners... > : ( > > Do you have a copy to share? Any other PCI device that has openly datasheet > and device available. I don't have it. I hit the link while looking for tutoria

Accessing File system directories

2009-07-26 Thread Dan Danillo
Hello, I'm trying to find out how to browse the file system from the linux kernel. Especially the directory content is interesting to me. Can anyone give me a hint? Are there even some libc like functions to do that ? So far I have found the filp_open, vfs_read and vfs_readdir functions. However

Re: STB reference design : where to search?

2009-07-26 Thread Mandeep Sandhu
enquire with the company...they'll most likely have a "sales" contact in their "Contact Us" link. You can also search digikey and the like for more info. HTH, -mandeep On Sun, Jul 26, 2009 at 3:58 AM, Om Narasimhan wrote: > I am trying to find and evaluate various options to design an STB. I > h

Re: Ethernet congestion management

2009-07-26 Thread Michael Blizek
Hi! On 22:36 Sun 26 Jul , ?ukasz Jachymczyk wrote: > Michael Blizek wrote: > > >1) Congestion handling is usually done by the sender and not the receiver. > > I'm not sure about this. After all I can send as much data over > network as I can and the receiver might have not enough resources t

usb serial 'option' driver generate more ttyUSB port

2009-07-26 Thread Yuping Luo
Hi friends, I use option driver as the usb class driver for one WCDMA/HSPA module (use Qualcomm MSM6290 chipset), and add the vendor/product id in the table. however, each time when my target ARM board reboot, 4 serial ports generated, in fact, the 3rd interface is sd card type. however, if I man

Re: Ethernet congestion management

2009-07-26 Thread Ɓukasz Jachymczyk
Michael Blizek wrote: 1) Congestion handling is usually done by the sender and not the receiver. I'm not sure about this. After all I can send as much data over network as I can and the receiver might have not enough resources to handle it. Isn't receiver the one that should worry about cong

Re: likely() and unlikely()

2009-07-26 Thread Henrik Austad
On Sunday 26. July 2009 14.53.24 Leena M. wrote: > Hi All, > > What do likely() and unlikely() mean ? They are compiler directivs indicationg the most likely outcome of a test so that the compiler can optimize the branching of that particular case. If you know that the test will be true 95% of

Re: likely() and unlikely()

2009-07-26 Thread Markus Heidelberg
Leena M., 26.07.2009: > What do likely() and unlikely() mean ? http://kernelnewbies.org/FAQ/LikelyUnlikely -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

likely() and unlikely()

2009-07-26 Thread Leena M.
Hi All, What do likely() and unlikely() mean ? I see that it says : linux-2.6.30.2\linux-2.6.30.2\include\linux\compiler.h" /* * Using __builtin_constant_p(x) to ignore cases where the return * value is always the same. This idea is taken from a similar patch * written by Daniel Walker.

Re: Checking Installed library

2009-07-26 Thread SandeepKsinha
On Wed, Jul 22, 2009 at 9:41 PM, Manish Katiyar wrote: > On Sat, Jul 18, 2009 at 2:37 PM, Rishi Agrawal > wrote: > > > > > > On Sat, Jul 18, 2009 at 2:25 PM, Manish Katiyar > wrote: > >> > >> On Sat, Jul 18, 2009 at 1:45 PM, Rishi Agrawal< > rishi.b.agra...@gmail.com> > >> wrote: > >> > > >> > >