Re: Adding a driver
- From: Bill Waddington <william.waddington@xxxxxxxxxx>
- Date: Mon, 04 Feb 2008 14:16:57 -0800
On Mon, 04 Feb 2008 13:46:57 -0800, John <jvasquez@xxxxxxxxxxxx>
wrote:
Newbie here!
Ok, I compiled and link the driver.
I created an installation script that appears to load the driver
(running OS). I'm getting debug messages that displays the execution
of the _init routine.
How do a load the module or create the device name.
I have a test program that uses the device name, "/dev/catds0". How do
I get the device name in /dev?
John,
I assume this is covered in Sun's driver writing book, but I'm too
lazy to go look for you just now :)
I threw you a link to my drivers in another thread. If you care to
drill down a bit there's a Makefile that will do an install, and a
readme that describes how to do it manually. Here's one:
http://www.tahomatech.com/downloads/drivers/solaris_10/pci/x86/files/hardcopy/
At some point you are probably going to ask how to build a driver
package for distribution:
http://docs.sun.com/app/docs/doc/816-4854/eqbvo?l=en&a=view&q=solaris+10+device+driver+packaging
I see that it also covers compiling and loading. Have a look.
There's another old document on packaging around somewhere. I'll
see if I can find as a pre-emptive strike :)
In (hopefully) good humor,
Bill
--
William D Waddington
william.waddington@xxxxxxxxxx
"Even bugs...are unexpected signposts on
the long road of creativity..." - Ken Burtch
.
- Follow-Ups:
- Re: Adding a driver
- From: John
- Re: Adding a driver
- From: John
- Re: Adding a driver
- References:
- Adding a driver
- From: John
- Adding a driver
- Prev by Date: Re: Adding a driver
- Next by Date: Re: shmsys in Solaris 10
- Previous by thread: Re: Adding a driver
- Next by thread: Re: Adding a driver
- Index(es):
Relevant Pages
|