Re: Adding a driver



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
.



Relevant Pages

  • Re: White progress bar during startup
    ... Loaded driver \WINDOWS\system32\ntoskrnl.exe ... Did not load driver ACPI Uniprocessor PC ... Did not load driver Audio Codecs ...
    (microsoft.public.windowsxp.help_and_support)
  • XP Pro crashes
    ... The bootlog shows an awful lot of 'Failed to load' entries so I'm taking the liberty of posting the whole bootlog here in the hope that someone can give me some pointers as to what is going on. ... Did not load driver WAN Miniport ...
    (microsoft.public.windowsxp.setup_deployment)
  • Re: Newbie Questiion
    ... You also come across as a very inexperienced driver when you say that a driver is stuck to take a illegal load. ... Microsoft actually paid no tax at all in 1999, despite $12.3 billion in reported U.S. profits. ... Corporate tax welfare slashed Worldcom’s tax bill by $5.3 billion over the past five years. ...
    (misc.transport.trucking)
  • Re: DRI seems to bee broken
    ... May 3 11:23:06 schlepptop kernel: The Regents of the University of California. ... Adds ~128k to driver. ... # To include support for VGA VESA video modes ... Load "dbe" ...
    (freebsd-current)
  • Re: 845 use in SET amps, output tranny info.
    ... but isn't the Lp a bit low relative to the load value of 8k? ... > Any slight increase in Np won't change the thd very much. ... > But the driver tube is important with thd. ... > Your pentode may or may not produce much 2H. ...
    (rec.audio.tubes)