RE: SOS: unable to locate struct uart_driver!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
i was trying to find the uart_driver & freinds in my 2.4.2-2 kernel.
it seems this struct was not present then. My apologies for raising
the S.O.S! :)

is this functionality there in any of the 2.4 kernels or will i have
to install a 2.5.x ver.???
lastly is advisable to try & write a serial port driver using the old
structs like tty_driver etc. or will it be a waste of time......

tia,
mandeep


-----Original Message-----
From: Greg KH [mailto:greg@kroah.com]
Sent: Wednesday, December 24, 2003 10:12 PM
To: Mandeep Singh Sandhu
Cc: kernelnewbies@nl.linux.org
Subject: Re: SOS: unable to locate struct uart_driver!!


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/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux