[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: linux device drivers



"ICON ICON" <icon_icon@hotmail.com> writes:

   I am a C++ programmer, and I'm intrested in writing device drivers for 
   linux. Since I know that one cannot use normal pc assembly on linux 
   compilers (i've tried using the asm tag with gcc g++, did not work) to 
   define the hardware interface. What is the linux device driver structure? 
   How does linux define hardware interface?

The easiest way to write a Linux device driver is to make a copy of
the code for a similar driver, then modify the device specific parts.
Download the kernel source code and look through it.
-- 
"Whoever you are -- SGI, SCO, HP, or even Microsoft -- most of the
 smart people on the planet work somewhere else."
--Eric S. Raymond


Reply to: