This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Driver interface to eCos


"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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]