Scroll to navigation

PCI_WRITE_ROM(9) Hardware Interfaces PCI_WRITE_ROM(9)

NAME

pci_write_rom - used to enable access to the PCI ROM display

SYNOPSIS

ssize_t pci_write_rom(struct file * filp, struct kobject * kobj, struct bin_attribute * bin_attr, char * buf, loff_t off, size_t count);

ARGUMENTS

struct file * filp

sysfs file

struct kobject * kobj

kernel object handle

struct bin_attribute * bin_attr

struct bin_attribute for this file

char * buf

user input

loff_t off

file offset

size_t count

number of byte in input

DESCRIPTION

writing anything except 0 enables it

COPYRIGHT

June 2017 Kernel Hackers Manual 4.11