On Wed, Dec 24, 2003 at 11:57:26AM +0530, Mandeep Singh Sandhu wrote: > hi all, > > i'm using the following shell script to search under /usr/src dir > for the uart_driver struct and freinds.....but it's not showing up. Why are you looking under /usr/src? Did you put your kernel source there? I'd really recommend _not_ doing that, and working on the kernel source tree in your own directory. > does this mean that this is not present in the source or is the > script incorrect??? If this struct is not present then my driver > won't compile as it uses it (it's just a sample driver for the 16550A > UART which i'm making for learning purpose). It's there, try: wget ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.0.tar.gz tar -zxvf linux-2.6.0.tar.gz cd linux-2.6.0/include/linux grep uart_driver * Good luck, greg k-h -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/