ATA/IDE disk access using PIO and interrupt

Yan Luo yan_luo at uml.edu
Thu Jun 1 20:03:26 UTC 2006


Hello Thomas,

I still have a question. When you said "works like a charm", do you mean it 
works for powerpc/gen5200?

I don't see any irq.h or irq.c under c/src/lib/libbsp/i386/pc386. The 
interrupt vector BSP_SIU_IRQ_ATA is defined for powerpc/gen5200 in its 
irq.h, but NOT for i386. I don't think I can use that irq number for i386.

Any suggestions?

Thanks,
Yan


----- Original Message ----- 
From: "Thomas Doerfler" <Thomas.Doerfler at imd-systems.de>
To: "Eugeny S. Mints" <emints at ru.mvista.com>
Cc: "Yan Luo" <yan_luo at uml.edu>; <rtems-users at rtems.com>
Sent: Monday, May 29, 2006 10:11 AM
Subject: Re: ATA/IDE disk access using PIO and interrupt


> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Eugeny,
>
>
> Eugeny S. Mints schrieb:
>> Hello Yan,
> ...
>>
>> you mentioned you are on 4.6.2 but you could check 4.6.99.3 and take a
>> look at powerpc/gen5200 bsp. ide/idecfg.c in this bsp has 'int_driven'
>> flag set under 'ifdef ATA_USE_INT'. Since ATA_USE_INT is undefined in
>> bsp.h for this bsp I have no idea whether anybody gives this a try but I
>> guess Thomas could shed a light on this :)
>
> Yes, ok, we found that aswell. And in our current patched sources
> ATA_USE_INT is defined (and works like a charm :-)
>
> wkr,
> Thomas.
>
>
> - --
> - --------------------------------------------
> IMD Ingenieurbuero fuer Microcomputertechnik
> Thomas Doerfler           Herbststrasse 8
> D-82178 Puchheim          Germany
> email:    Thomas.Doerfler at imd-systems.de
> PGP public key available at:
>     http://www.imd-systems.de/pgpkey_en.html
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEewERwHyg4bDtfjQRArX5AKCOnx2NYnyuZMErdCVEUMtAr6VQbgCdF4uN
> ZreVWiQwd1nS/BfX753/9ZY=
> =+zla
> -----END PGP SIGNATURE-----
> 




More information about the users mailing list