View topic - Determine DMA channels in use?

Determine DMA channels in use?

For the old QNX2 and QNX4 RTOS

Determine DMA channels in use?

Postby audiodeck » Fri Mar 02, 2007 9:43 am

Dear All,

I am just wondering if there is any way to check the DMA Channels that are allocated during runtime on a QNX 4.25 machine. Something like sin irq would be fine but I can't find anything in that direction...

Any information will be appreciated 8)

Thanks,
Jens Schirmer
audiodeck
New Member
 
Posts: 9
Joined: Wed Mar 24, 2004 9:24 am

RE: Determine DMA channels in use?

Postby mario » Fri Mar 02, 2007 3:39 pm

No it's not possible.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

RE: Determine DMA channels in use?

Postby mario » Fri Mar 02, 2007 6:02 pm

Hum not entirely true, you can use show_pci to check which PCI devices have request DMA channel ( master card) but that' about it.
mario
QNX Master
 
Posts: 4132
Joined: Sun Sep 01, 2002 1:04 am

Postby audiodeck » Mon Mar 05, 2007 2:11 pm

Hi Mario,

thanks for your quick response. Unfortunately, we are using a legacy ISA Card, so it won't show up on the show_pci command

Cheers,
Jens
audiodeck
New Member
 
Posts: 9
Joined: Wed Mar 24, 2004 9:24 am

Postby rgallen » Tue Mar 06, 2007 10:30 pm

audiodeck wrote:Hi Mario,

thanks for your quick response. Unfortunately, we are using a legacy ISA Card, so it won't show up on the show_pci command

Cheers,
Jens


Jens,

Check out rsrcdbmgr_query(). Of course, it is a cooperative system, so as long as the ISA driver used rsrcdbmgr_attach() to reserve the DMA resource you're in luck...

Rennie
rgallen
QNX Master
 
Posts: 671
Joined: Thu Jul 11, 2002 6:48 pm

Postby audiodeck » Fri Mar 09, 2007 8:34 am

Hi Rennie,

nope, the ISA driver does not use rsrcdbmgr_attach(), so this not an option for us. I assume this would be QNX 6.x thing? We're using 4.25...

But thanks for the hint, gonna have to migrate anyway some day :-)

Cheers,
Jens
audiodeck
New Member
 
Posts: 9
Joined: Wed Mar 24, 2004 9:24 am


Return to QNX2 and QNX4

Who is online

Users browsing this forum: No registered users and 3 guests

cron