From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,ec69875713554a3c,start X-Google-Attributes: gidfee84,public From: "Bryan Kaine" Subject: Device Driver and DMA Date: 1999/12/02 Message-ID: <826iat$3vc$1@cti15.citenet.net>#1/1 X-Deja-AN: 555884035 X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Organization: CiteNet Telecom - Commercial Internet Service X-MSMail-Priority: Normal Newsgroups: comp.unix.osf.osf1 Hi, AlphaServer 1000A OS: OSF1 V4.0 564 alpha ( 64bits Digital Unix 4.0d) The PCI device I'm writing a driver for must be programmed with a list of 32bits physical addresses that are used for DMA read and writes ( initiated by the PCI device in bus master). The allocation of a pool of memory is done at initialization time (24k contiguous memory). That's also where I call dma_map_alloc() and dma_map_load() with the address of the MALLOC'ed buffer. Everything seems fine. The device is copying some data, but it's reading from the wrong place. Is it possible that the 32bits address gets mapped incorrectly by the DMA engine?? The PCI card works fine on 64 bit Solaris. I would really appreciate your help! Thanks, Bryan