This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Driver interface to eCos
- To: "Trenton D. Adams" <tadams at extremeeng dot com>
- Subject: Re: [ECOS] Driver interface to eCos
- From: Jonathan Larmour <jlarmour at redhat dot com>
- Date: Tue, 19 Jun 2001 17:11:00 +0100
- Cc: 'eCos' <ecos-discuss at sources dot redhat dot com>
- Organization: Red Hat UK Ltd.
- References: <000a01c0f8da$1567ff70$090110ac@TRENT>
"Trenton D. Adams" wrote:
>
> Is the following CDL sufficient?
> cdl_package CYGPKG_DEVS_PCMCIA_EDB7xxx {
> display "CL-PS6700/EDB7xxx PCMCIA support"
>
> parent CYGPKG_IO_PCMCIA
> active_if CYGPKG_IO_PCMCIA
> active_if CYGPKG_HAL_ARM_EDB7XXX
>
> implements CYGHWR_IO_PCMCIA_DEVICE
>
> include_dir .
> include_files ; # none _exported_ whatsoever
> description "PCMCIA device support for CL-PS6700/EDB7xxx"
> compile edb7xxx_pcmcia.c
> }
>
> I basically used the same directory structure as the assabet pcmcia
> driver and modified all the files for my driver. My driver isn't ready,
> but I want to make sure it's selectable as a package in the Config Tool.
> How do I make it appear in the tool?
Looks fine. You need to add an ecos.db entry for the package and list it in
the "target edb7xxx" section of ecos.db.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions http://www.redhat-techworld.com/