pci_read_rom (9) Linux Manual Page
pci_read_rom – read a PCI ROM
Synopsis
-
ssize_t pci_read_rom(struct filefilp* , struct kobjectkobj* , struct bin_attributebin_attr* , charbuf* , loff_toff, size_tcount);
Arguments
filp
-
- sysfs file
kobj
- kernel object handle
bin_attr
- struct bin_attribute for this file
buf
- where to put the data we read from the ROM
off
- file offset
count
- number of bytes to read
Description
Put count bytes starting at off into buf from the ROM in the PCI device corresponding to kobj.
