[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[microblaze-uclinux] mouse ps2 driver
Hi all
Actually i am new to the drivers part, so i am having some doubts( might be trivial).
we are using microblaze soft core processor and uClinux OS.
we want PS2 mouse to .
now our display size is 320x240.now how should i define this and where should i do this.
The files i am going through are
1. uClinux-dist/linux-2.4-x/drivers/char/pc_keyb.c
2.uClinux-dist/linux-2.4-x/drivers/char/pc_keyb_hd64465.c
3.uClinux-dist/linux-2.4-x/include/asm-microblaze/keyboard.h
4.uClinux-dist/linux-2.4-x/include/asm-microblaze/xparameters.h
5.uClinux-dist/linux-2.4-x/drivers/char/keyboard.h
i have given the interrupt number ,base addr.,high addr, in xparameters.h
and also addr. for data read, data write,status ,control registers in pc_keyb.c
now there was no keyboard.h in asm-microblaze
so i wrote the code refferring to other asm's keyboard.h
now what is the difference between pc_keyb.c
and pc_keyb_hd64465.c
I assume many people would have worked with mouse driver code,can someone help me in doing this.
Regards,
hema
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/