From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21547 invoked by alias); 20 Oct 2003 08:49:44 -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 21540 invoked from network); 20 Oct 2003 08:49:42 -0000 Received: from unknown (HELO lorien.elatec.si) (193.77.58.106) by sources.redhat.com with SMTP; 20 Oct 2003 08:49:42 -0000 Received: from elatec.si (onix [10.0.0.253]) by lorien.elatec.si (8.11.6/8.11.6) with ESMTP id h9K8qFx12327; Mon, 20 Oct 2003 10:52:15 +0200 Message-ID: <3F93A295.40905@elatec.si> Date: Mon, 20 Oct 2003 08:49: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 CC: ecos-discuss@sources.redhat.com Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: [ECOS] Re: ioctl support X-SW-Source: 2003-10/txt/msg00341.txt.bz2 Satish Kumar wrote: >Hi, > I m workin on developing this (Audio data Inerface)/I2S device >driver for my target board. i m not able to figure out how and were to >support IOCTL commands...could someone help me out. > Use cyg_io_get_config and cyg_io_set_config (assuming you are using the I/O subsystem). Look at chapter 15 of eCos reference manual for help. Also any new keys should go into 'io/common/current/include/config_keys.h'. 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