1PCI_READ_ROM(9)               Hardware Interfaces              PCI_READ_ROM(9)
2
3
4

NAME

6       pci_read_rom - read a PCI ROM
7

SYNOPSIS

9       ssize_t pci_read_rom(struct file * filp, struct kobject * kobj,
10                            struct bin_attribute * bin_attr, char * buf,
11                            loff_t off, size_t count);
12

ARGUMENTS

14       filp
15           sysfs file
16
17       kobj
18           kernel object handle
19
20       bin_attr
21           struct bin_attribute for this file
22
23       buf
24           where to put the data we read from the ROM
25
26       off
27           file offset
28
29       count
30           number of bytes to read
31

DESCRIPTION

33       Put count bytes starting at off into buf from the ROM in the PCI device
34       corresponding to kobj.
35
37Kernel Hackers Manual 3.10         June 2019                   PCI_READ_ROM(9)
Impressum