This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: eCos and SCSI drivers?
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: John Clark <j1clark at ucsd dot edu>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 14 Apr 2003 19:17:12 +0100
- Subject: Re: [ECOS] eCos and SCSI drivers?
- References: <BC1AB00E-6EA2-11D7-A04F-0050E420D957@ucsd.edu>
John Clark wrote:
Am Montag, 14.04.03, um 08:45 Uhr (US/Pacific) schrieb Jonathan Larmour:
John Clark wrote:
The question is pretty simple, are there any scsi drivers for eCos?
Not in the main sources, nor that I've heard from anyone else.
Is there anything of an IDE driver? My interaction with eCos has
been only via Redboot, and I recall something of reference to an
IDE piece of code for booting.
But an IDE driver might give me an idea on how I can do a SCSI
driver.
RedBoot has a simple IDE interface, but it isn't for generic use - just
for RedBoot. You can obviously munge the code to do what you want, but it
isn't really there, and it's really the structure that you want for SCSI,
not the IDE-ness.
eCos unfortunately doesn't yet have a proper block device abstraction in
the manner that would be found in other OS's.
io/common/current/include/devtab.h defines a BLOCK_DEVIO_TABLE but there's
much that is unspecified like the generic properties of block devices like
device size, block size, etc.etc. never mind disk specific layer things
like partitions and cylinders/heads/sectors. So there's much to do here.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss