Re: Solaris DDI/DMA example driver
From: William D. Waddington (william.waddington_at_beezmo.com)
Date: 04/17/04
- Previous message: Alan Kilian: "Solaris DDI/DMA example driver"
- In reply to: Alan Kilian: "Solaris DDI/DMA example driver"
- Next in thread: Phil Brown: "Re: Solaris DDI/DMA example driver"
- Reply: Phil Brown: "Re: Solaris DDI/DMA example driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 17 Apr 2004 17:01:45 GMT
On Sat, 17 Apr 2004 16:21:44 GMT, kilian@raceme.UUCP (Alan Kilian) wrote:
>
>Does anyone have an example driver that uses the DDI/DDK driver routines to do
>DMA to a device on the PCI bus?
>
>I have DMA reads working, but I can't seem to get DMA writes working.
>
>I suspect something simple and a peek at another driver's xxxwrite() routine
>may be the bit I need.
>
>Thanks,
> -Alan
You are welcome to take a look at mine. The x86 versions do DMA chaining,
the SPARC versions don't. Take a look at the strategy() code. Unfortunately,
there is a whole lot of code here that supports compatibility with earlier versions,
so there may be too much to dig through. These are Sol 7 drivers that haven't
been re-compiled for 8, 9 or 10 (and probably won't w/out some cleanup) but the
binaries do run on 7, 8, 9 - and probably 10. They are for our DR11 and hardcopy
PLX-9080 based boards.
I don't know if Phil's generic base Pci driver includes DMA examples, but maybe
another of his drivers does. They are sure to be easier to read than mine :)
Waddington: http://www.tahomatech.com/downloads/drivers/solaris_7/pci/
Philip Brown: http://www.bolthole.com/solaris/drivers/
Good Luck,
Bill
--------------------------------------------
William D Waddington
Bainbridge Island, WA, USA
william.waddington@beezmo.com
--------------------------------------------
"Even bugs...are unexpected signposts on
the long road of creativity..." - Ken Burtch
- Previous message: Alan Kilian: "Solaris DDI/DMA example driver"
- In reply to: Alan Kilian: "Solaris DDI/DMA example driver"
- Next in thread: Phil Brown: "Re: Solaris DDI/DMA example driver"
- Reply: Phil Brown: "Re: Solaris DDI/DMA example driver"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|