linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* EXT_DIRECT IDE Mode
@ 2004-02-11 15:00 DavidHo
  2004-02-11 15:31 ` Steven Scholz
  0 siblings, 1 reply; 9+ messages in thread
From: DavidHo @ 2004-02-11 15:00 UTC (permalink / raw)
  To: steven.scholz; +Cc: linuxppc-embedded


Hi Steve,

My application needs a compactflash and a 1.8" disk drive connected to the
MPC852T.  Since the compact flash has already taken up the only PCMCIA
slot, the disk drive is directly attached to the PPC bus so I need to
enable EXT_DIRECT for the disk drive.

I haven't been able to make linux call the ide_init_hwif function.  I
looked at how ide.c works and it looks like it enables IDE interfaces on
the PCI first (ide_default_io_base returns non-zero).  I haven't yet been
able to find out where it call my function.

Would you be able to tell me how you got this mode working.

Regards,
David Ho




 >Subject: Re: MPC8xx IDE
 >From: Steven Scholz <steven.scholz@imc-berlin.de>
 >Date: Wed, 24 Oct 2001 14:02:33 +0200

 >> While trying to find an easy way to add non-volatile storage on a
 >> custion MPC860 board, I noticed that there was some support for IDE on
 >> the PCMCIA interface in the Linux kernel.

 >There are actually at least three ways for connecting an IDE HDD. See
 >ide-m8xx.c:

 >---
 >8xx_PCCARD uses the 8xx internal PCMCIA interface in combination
 >with a PC Card (e.g. ARGOSY portable Hard Disk Adapter),
 >ATA PC Card HDDs or ATA PC Flash Cards (example: TQM8xxL
 >systems)

 >8xx_DIRECT is used for directly connected IDE devices using the 8xx
 >internal PCMCIA interface (example: IVMS8 systems)

 >EXT_DIRECT is used for IDE devices directly connected to the 8xx
 >bus using some glue logic, but _not_ the 8xx internal
 >PCMCIA interface (example: IDIF860 systems)
 >---

 >I am probably the only one using EXT_DIRECT. ;-)

 >Drop me a line if you need schematics.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: EXT_DIRECT IDE Mode
@ 2004-02-12 18:00 DavidHo
  0 siblings, 0 replies; 9+ messages in thread
From: DavidHo @ 2004-02-12 18:00 UTC (permalink / raw)
  To: linuxppc-embedded


David,

> The EXT_DIRECT item is already there in the configuration menu.  I
thought
> it has been fully implemented in that version, until I saw the functions
> are not being called in platform_init.
>
> Base on your knowledge, which kernel version has this mode (MPC8xx IDE)
> fully working?
Hmm. I'd say it started somewhen at 2.4.20.

> And do you know the work involved in porting the support to 2.4.18?  I am
> gauging which is the easier route moving all the changes I have already
> made to 2.4.2x or porting the changes to 2.4.18.

I don't know how much changes you did. But I strongly recommend moving
to something newer! Otherwise you only get this advice later if you
run into some other problem and try to get help on the mailing list!

Steven


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 9+ messages in thread
[parent not found: <402B9456.7000007@imc-berlin.de>]

end of thread, other threads:[~2004-02-13 16:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-11 15:00 EXT_DIRECT IDE Mode DavidHo
2004-02-11 15:31 ` Steven Scholz
2004-02-11 18:54   ` DavidHo
2004-02-12  9:42     ` Steven Scholz
2004-02-12 18:00       ` DavidHo
2004-02-12 18:16         ` Jaap-Jan Boor
  -- strict thread matches above, loose matches on Subject: below --
2004-02-12 18:00 DavidHo
     [not found] <402B9456.7000007@imc-berlin.de>
2004-02-13 16:23 ` DavidHo
2004-02-13 16:32   ` Steven Scholz

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 NNTP newsgroup(s).