1PCI_WRITE_ROM(9) Hardware Interfaces PCI_WRITE_ROM(9)
2
3
4
6 pci_write_rom - used to enable access to the PCI ROM display
7
9 ssize_t pci_write_rom(struct file * filp, struct kobject * kobj,
10 struct bin_attribute * bin_attr, char * buf,
11 loff_t off, size_t count);
12
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 user input
25
26 off
27 file offset
28
29 count
30 number of byte in input
31
33 writing anything except 0 enables it
34
36Kernel Hackers Manual 3.10 June 2019 PCI_WRITE_ROM(9)