public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] SPI/SSI driver for EDB7XXX
@ 2001-09-12 11:46 Trenton D. Adams
  2001-09-12 13:55 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Trenton D. Adams @ 2001-09-12 11:46 UTC (permalink / raw)
  To: eCos Discussion

I'm going to be writing a driver for the SSI2 interface on my EDB7111-2
board.  Would it be safe to assume that the layout for the RS232 serial
driver would be a good start?  If so, does anyone know off hand if all
the EBD7XXX boards have the same SSI2 interface?  I think most of those
boards have the same CPUs right - EP7211?  If so, then they must all
have the same SSI interface because I think it's internal to the CPU.

I would also like to know where I should put this driver!
devs\serial\arm\edb7xxx\ already has a current directory.  Is it ok to
put another directory called "ssi2" under there?  If so, maybe current
should be put into a directory called rs232 or serial or something?

Before I start, is anyone out there that's already done this and is
planning on contributing it to the eCos repository?

Trenton D. Adams
Extreme Engineering
#17, 6025 - 12 St. SE
Calgary, Alberta, Canada
T2H 2K1

Phone: 403 640 9494 ext-208
Fax: 403 640 9599

http://www.extremeeng.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] SPI/SSI driver for EDB7XXX
  2001-09-12 11:46 [ECOS] SPI/SSI driver for EDB7XXX Trenton D. Adams
@ 2001-09-12 13:55 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2001-09-12 13:55 UTC (permalink / raw)
  To: Trenton D. Adams; +Cc: eCos Discussion

"Trenton D. Adams" wrote:
> 
> I'm going to be writing a driver for the SSI2 interface on my EDB7111-2
> board.  Would it be safe to assume that the layout for the RS232 serial
> driver would be a good start?  If so, does anyone know off hand if all
> the EBD7XXX boards have the same SSI2 interface?  I think most of those
> boards have the same CPUs right - EP7211?

Or EP7212, EP7209 and hopefully EP7312 if anyone ever manages to contribute
it!

>  If so, then they must all
> have the same SSI interface because I think it's internal to the CPU.

Probably the same on all the CPUs. Probably :).

> I would also like to know where I should put this driver!
> devs\serial\arm\edb7xxx\ already has a current directory.  Is it ok to
> put another directory called "ssi2" under there?  If so, maybe current
> should be put into a directory called rs232 or serial or something?

You could change the structure to be:

devs/serial/arm/edb7xxx/async/current
devs/serial/arm/edb7xxx/ssi2/current

and adjust the entry in ecos.db appropriately.

Or you could actually just do both of them within
devs/serial/arm/edb7xxx/current, and just separate all the async serial
stuff into it's own cdl_package under the top CYGPKG_IO_SERIAL_ARM_EDB7XXX
cdl_package. They would both have CYGPKG_IO_SERIAL_DEVICES as a parent etc.
presumably. I think this is probably preferable really.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-12 13:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-12 11:46 [ECOS] SPI/SSI driver for EDB7XXX Trenton D. Adams
2001-09-12 13:55 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).