From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29569 invoked by alias); 16 Oct 2003 08:10:31 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 29558 invoked from network); 16 Oct 2003 08:10:27 -0000 Received: from unknown (HELO lorien.elatec.si) (193.77.58.106) by sources.redhat.com with SMTP; 16 Oct 2003 08:10:27 -0000 Received: from elatec.si (onix [10.0.0.253]) by lorien.elatec.si (8.11.6/8.11.6) with ESMTP id h9G8Cxx03088; Thu, 16 Oct 2003 10:12:59 +0200 Message-ID: <3F8E5320.80803@elatec.si> Date: Thu, 16 Oct 2003 08:10:00 -0000 From: Savin Zlobec User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020830 X-Accept-Language: en-us, en MIME-Version: 1.0 To: satish@bvt.sc.sanyo.co.jp CC: ecos-discuss@sources.redhat.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [ECOS] Re: Device Driver Architecture on eCos X-SW-Source: 2003-10/txt/msg00289.txt.bz2 Satish Kumar wrote: >Hi, > Could someone point any links about Device Driver Development manual >on eCos. well, i have got to develop some device drivers for some >sound components (Audio Data Interface/Inter-Ic sound, SSP,DMA..) on my >target board. > >could one some give me some links how the device driver architecture on >eCos looks like..or some kind of detail manual explaining the driver >architecture on eCos for different kind of devices..(Network,Char,Block..etc). > Look at eCos Reference manual - chapter 17. There is some info about the basic IO driver infrastructure. If you can work with read, write, get config, and set config, then that is the way to go. However if you need some other kind of interface to better suit your devices, then it is up to you to design and write the whole thing. This was done with network drivers. I don't know about any documentation wich explains this in detail. It is probably best to read the code and understand it. savin -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss