All of lore.kernel.org
 help / color / mirror / Atom feed
From: zjuzhou@163.net
To: linuxppc-embedded@lists.linuxppc.org
Subject: About LCD driver?
Date: Thu, 10 May 2001 21:36:17 +0800 (CST)	[thread overview]
Message-ID: <3AFA9951.23079@bjapp3> (raw)


Hello,
	My lcd device is via MPC850 parport(because my lcd display screen is small).I write my own driver for it.Here is my do.

	in .config file,I add
	CONFIG_PLCD=y


	in drivers/char/Makefile,I add
	ifeq(($CONFIG_PLCD),y)
		L_OBJS+=plcd.o
	endif


	in driver/char/mem.c,I add
	#ifdef CONFIG_PLCD
		plcd_init();	/*in my plcd.c file*/
	#endif

	At last,i add a new file plcd.c in drivers/char/ .I make zImage again.
I fount plcd.o in drivers/char/.
	In my driver plcd_init ,I use printk output some information,
When kernel is run,no information was seen.Writing driver like me is right?
I thank i should see device in /proc/devices,but i could not.I have fill the
each elemnet of struct file_operations.There is noting in boot log,and nothing in /proc/devices.What can i do?


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2001-05-10 13:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-10 13:36 zjuzhou [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-05-11  0:53 About LCD driver? zjuzhou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AFA9951.23079@bjapp3 \
    --to=zjuzhou@163.net \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.