Results 1 to 1 of 1

Thread: PCI Driver for Lubuntu

  1. #1
    Join Date
    Aug 2014
    Beans
    5

    PCI Driver for Lubuntu

    Hey guys

    I am tasked with writing a PCI driver for lubuntu or any linux really but I thought where better to start with a lightweight Ubuntu.

    No what I am suppose to do with the PCI driver for is literally just latch onto a piece of RAM and dump all of the content to a file.
    Im using the PLX PCI9054.

    I am having trouble finding the libraries to do this though. I thought that using the libraries in /usr/include/linux/pci.h would give me some functions to work with like attaching the devices and attach the device handler too like "pci_attach_device() but I cant find any of these functions. Also mmap_device_memory();

    Keep in mind that I dont need to do any PCI configuration. Everything is done on startup with an FPGA!
    So I will be accessing the already set block or RAM.

    The functions above are QNX functions and they work fine but I need Linux equivalents.

    Anybody have any idea on where I can start looking to get this going ?

    Thanks and regards
    Cart
    Last edited by cart2; August 14th, 2014 at 02:01 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •