hi,... sandhu....try doing grep "struct uart_register_driver" <TAB> key to get ur stuff done..well use |more if u have a lot to read or just use KTERM....all the best....bye --- Greg KH <greg@kroah.com> wrote: > On Mon, Dec 22, 2003 at 05:19:18PM +0530, Mandeep > Singh Sandhu wrote: > > Hi all, > > i'm trying to write a h/w driver for a serial port > (16550A - UART, for learning purpose only!!) > > where in the source tree can i find things like > "struct uart_driver", "uart_register_driver"?? > > It's not to hard to grep for this structure. Learn > how to use tools > like cscope, grep, or cgvg for help in finding > strings in source code. > > 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/ > __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/ -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/