Find the answer to your Linux question:
Results 1 to 7 of 7
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Re: Read/Write fns in linux

    are there any fns for Read/Write involving PCI Devices in Linux?

  2. #2
    Linux Engineer
    Join Date
    Nov 2004
    Montreal, Canada
    Could you be more specific on your needs

    And also read the rules of the forum conserning cross post
    \"Meditative mind\'s is like a vast ocean... whatever strikes the surface, the bottom stays calm\" - Dalai Lama
    \"Competition ultimatly comes down to one thing... a loser and a winner.\" - Ugo Deschamps

  3. #3
    Just Joined!
    Join Date
    Jan 2005
    Toronto, ON, Canada
    If FNS stands for functions

    You van write a kernel module using some of the functions in <linux/pci.h>.


  4. $spacer_open
  5. #4

    Re: Read/Write fns in linux

    PROJECT :To write a generic device driver for pci device.

    I have detected the chip for which i hav to write the driver.It is a pci device(Plx 9054).
    I found out the address bars as well using the fns in pci.h

    I found fns for read/write in config area which is not what i want.
    I want to know if there are any fns in linux i can use to read/write in user mem space.(32-bit data to be read/written)

  6. #5
    Just Joined!
    Join Date
    Jan 2005
    Toronto, ON, Canada
    Actually that is the task of the driver you want to implement no?
    The kernel module should be capable of interact with pci functions in kernel and send back and forth to user space in order to be useful to some user space program. You can do this by implementing :

    ioctl's in kernel modules :

    proc file inkernel modules:

    Implementing your own syscalls (Not recomended):

  7. #6

    Some help needed

    Hi, I am new to the world of linux and right now I have been asked to write a device driver for a Multi-port PCI card on linux. I have just managed to identify the device and assign(block) some memory for this device. I wanted help regarding what other functions can be implemented for a Multi-Port Serial PCI card and any hints on how to go about doing them.
    Any help is welcome.

  8. #7

    Required driver for PLX 9054 pci bridge there on my ISP1761 philips USB card

    > I am working Philips ISP1761 card. I am running
    > RH-9
    > and FC4. But the kernel could not detect the
    > PLX9054
    > pci bridge chip. There are no drivers for it. Does
    > any one have some information regarding this. did
    > any
    > body wrote the driver.
    > Can any one can guide me to modify the existing PCI
    > driver to suit this chip.
    > Thanks a million.

Posting Permissions

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