This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: How to implement block device drivers?
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: Re: [ECOS] How to implement block device drivers?
- From: Nick Garnett <nickg at cygnus dot co dot uk>
- Date: 09 Aug 2000 11:35:32 +0100
- Newsgroups: cygnus.sourceware.ecos.d
- Organization: Cygnus Solutions, a Red Hat company (Cambridge, UK)
- References: <KPELJMHOJELACGAAJKHEKEBJCBAA.muranaka@sennet.co.jp>
"MURANAKA Masaki" <muranaka@sennet.co.jp> writes:
> I'm trying to implement IDE disk driver for eCOS(i386).
> It seem that some samples in the eCOS package are character device driver.
> I read documents and I guess the driver interface on eCOS is for character
> device only.
> Is this right? Is there any information for block device drivers?
>
There is going to be rudimentary support for block devices in the next
eCos release, which will turn up in the anoncvs repository any time soon.
Essentially we have added block read and write functions to the device
table. However, this is currently little more than a place holder and
we have not yet defined precisely how these will be used.
--
Nick Garnett, eCos Kernel Architect
Red Hat, Cambridge, UK