I assume you have had a look at the Device Driver tutorial at http://docs.sun.com/app/docs/doc/817-5789 ?
I would start by writing a dummy driver that loads and unloads.
Then maybe add character entry points, and read and write some kernel memory (see kmem_alloc/free and uiomove)
Then look at adding block entry points - look at physio, strategy.
Then it's a case of what device do you want to control, and looking at mapping device registers and doing dma.
The Solaris driver framework is designed to be architecture independant. So in principle Intel/Amd drivers are no different to SPARC. Just remember for AMD when compiling to use:
cc -c -D_KERNEL -xarch=amd64 -xmodel=kernel
otherwise you'll get relocation errors on the console when you try loading.
Can give some more specific questions?
Cheers,
Ralph
You have really brought some enthusiasm in me to develop
I am a fast learner i think...
now i have these PDF copies with me
Device Driver Tutorial_817-5789.pdf
Device Driver Tutorial_819-3159.pdf
Writing Device Drivers_802-5900.pdf
Writing Device Drivers_816-4854.pdf
Writing Device Drivers_819-3196.pdf
Just guide me into it
I want you to be in touch with me,,,
Hope others will join to help me later
is there any other material that will help me a lot ?
Like i want to get into
Drivers for Network Devices
Thanks anyway for replying
:)