Hi all, i've made a very small serial driver for 16550A UART. in order to test it i need to remove the existing serial driver which gets loded on startup. it's attached to IRQ4 (COM 2 i think...). how do i do this? shud i call free_irq(4, NULL) in my drivers initialization code?? TIA mandeep -----Original Message----- From: Greg KH [mailto:greg@kroah.com] Sent: Tuesday, December 23, 2003 6:34 AM To: Mandeep Singh Sandhu Cc: kernelnewbies@nl.linux.org Subject: Re: where is uart struct in the kernel souce 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/