Re: PCI Driver - Read/Write to Base Address
- From: "gil_hamilton@xxxxxxxxxxx" <gil_hamilton@xxxxxxxxxxx>
- Date: 25 Aug 2006 11:33:54 -0700
elliotng.ee@xxxxxxxxx wrote:
Can you utilize ioctl for a pci device driver? I know it can be used
for a char driver.
Is there a sample code with ioctl being utilized for a pci device
driver?
Yes. "PCI driver" and "char driver" are largely orthogonal. "PCI
driver" refers to how the driver interfaces to the device. "Char
driver" refers to how the driver interfaces with user programs and the
rest of the operating system.
To find some samples, cd to /usr/src/linux and type
grep -l pci_dev drivers/char/*.c | xargs grep ioctl
GH
.
- References:
- PCI Driver - Read/Write to Base Address
- From: elliotng . ee
- Re: PCI Driver - Read/Write to Base Address
- From: gil_hamilton@xxxxxxxxxxx
- Re: PCI Driver - Read/Write to Base Address
- From: elliotng . ee
- Re: PCI Driver - Read/Write to Base Address
- From: elliotng . ee
- Re: PCI Driver - Read/Write to Base Address
- From: David Schwartz
- Re: PCI Driver - Read/Write to Base Address
- From: elliotng . ee
- PCI Driver - Read/Write to Base Address
- Prev by Date: Re: PCI Driver - Read/Write to Base Address
- Next by Date: Re: accessing files, devices, in kernel modules
- Previous by thread: Re: PCI Driver - Read/Write to Base Address
- Next by thread: socket communication and DNS
- Index(es):
Relevant Pages
|