public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Solaris developer wants a Linux Mentor for drivers.
@ 2004-10-06 18:21 Alan Kilian
  2004-10-06 21:33 ` Greg KH
  0 siblings, 1 reply; 5+ messages in thread
From: Alan Kilian @ 2004-10-06 18:21 UTC (permalink / raw)
  To: linux-kernel

Forwarded message:
> From: Greg KH <greg@kroah.com>
> 
> Why not 2.6?  No new Linux distros are shipping 2.4 kernels anymore...

  Well, I down loaded and installed RedHat-9 5 weeks ago, and it
  is a 2.4 kernel, so I thought that would be fine.
  (See what a novice I am?)

> And a PCI bus driver?  
> What kind of hardware is this?  
> Is this a driver for a pci card, or a pci bus controller?

  This is a driver for talking to my hardware which is a PCI bus card.

  This card has 5 large FPGAs, SRAM and dram on it which is used to
  accelerate bioinformatics search algorithms.

  The card works under Sun Solaris and Windows/2000, and of course,
  we would like to add Linux to the list.

  Eventually, I'll need to support DMA to and from the card, but
  I can get by for a while just doing single-dword I/O.

  

  I just hacked in dev->bus->ops->read_dword(dev,1,&retval);
  and I can read memory on the card! (Well, things don't crash anyway)

  If this is absolutely the wrong way to do this, please let me know!

  Note: I have no idea what the second parameter to read_dword() is!

                            -Alan

-- 
- Alan Kilian <kilian(at)timelogic.com> 
Director of Bioinformatics, TimeLogic Corporation 763-449-7622

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Solaris developer wants a Linux Mentor for drivers.
@ 2004-10-06 16:25 Alan Kilian
  2004-10-06 17:10 ` Neil Horman
  2004-10-06 17:22 ` Greg KH
  0 siblings, 2 replies; 5+ messages in thread
From: Alan Kilian @ 2004-10-06 16:25 UTC (permalink / raw)
  To: linux-kernel



  Kernel folks,

    I am in the process of porting a Sun Solaris PCI bus driver
    that I wrote over to a 2.4 kernel, and I could use a mentor
    just to get me over the initial bumps.

    I have a module that can be loaded, and detects my card, and
    responds to ioctl() calls properly, so I'm moving right along,
    but I do have some problems now.

    1) If I "oops" in my module, I cannot unload it with:
       # /sbin/rmmod sse    
       sse: Device or resource busy

       I have only figured out that a reboot cleans things up again.

    2) An example of using pci_ops read_dword() would be superb.

    By the way, this development environment is really slick
    compared to Solaris. When I "oops" in Solaris, the kernel
    panics and I'm in for a messy fsck on the way back up. This
    is a great improvement.

    Thanks in advance for any help any of you may provide.

    After this, there will be one more Linux PCI bus driver developer
    in the world, and that can't be a bad thing.

                          -Alan

-- 
- Alan Kilian <kilian(at)timelogic.com> 
Director of Bioinformatics, TimeLogic Corporation 763-449-7622

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-10-06 21:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-06 18:21 Solaris developer wants a Linux Mentor for drivers Alan Kilian
2004-10-06 21:33 ` Greg KH
  -- strict thread matches above, loose matches on Subject: below --
2004-10-06 16:25 Alan Kilian
2004-10-06 17:10 ` Neil Horman
2004-10-06 17:22 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox