PCI_GET_SUBSYS(9) Hardware Interfaces PCI_GET_SUBSYS(9)NAME
pci_get_subsys - begin or continue searching for a PCI device by vendor/subvendor/device/subdevice id
SYNOPSIS
struct pci_dev * pci_get_subsys(unsigned int vendor, unsigned int device, unsigned int ss_vendor, unsigned int ss_device,
struct pci_dev * from);
ARGUMENTS
vendor
PCI vendor id to match, or PCI_ANY_ID to match all vendor ids
device
PCI device id to match, or PCI_ANY_ID to match all device ids
ss_vendor
PCI subsystem vendor id to match, or PCI_ANY_ID to match all vendor ids
ss_device
PCI subsystem device id to match, or PCI_ANY_ID to match all device ids
from
Previous PCI device found in search, or NULL for new search.
DESCRIPTION
Iterates through the list of known PCI devices. If a PCI device is found with a matching vendor, device, ss_vendor and ss_device, a pointer
to its device structure is returned, and the reference count to the device is incremented. Otherwise, NULL is returned. A new search is
initiated by passing NULL as the from argument. Otherwise if from is not NULL, searches continue from next device on the global list. The
reference count for from is always decremented if it is not NULL.
COPYRIGHT Kernel Hackers Manual 2.6. July 2010 PCI_GET_SUBSYS(9)
Check Out this Related Man Page
PCITWEAK(1) General Commands Manual PCITWEAK(1)NAME
pcitweak - read/write PCI config space
SYNOPSIS
pcitweak -l
pcitweak -r PCI-ID [-b|-h] offset
pcitweak -w PCI-ID [-b|-h] offset value
DESCRIPTION
Pcitweak is a utility that can be used to examine or change registers in the PCI configuration space. On most platforms pcitweak can only
be run by the root user.
OPTIONS -l Probe the PCI buses and print a line for each detected device. Each line contains the bus location (bus:device:function), chip
vendor/device, card (subsystem) vendor/card, revision, class and header type. All values printed are in hexadecimal.
-r PCI-ID
Read the PCI configuration space register at offset for the PCI device at bus location PCI-ID. PCI-ID should be given in the form
bus:device:function, with each value in hexadecimal. By default, a 32-bit register is read.
-w PCI-ID
Write value to the PCI configuration space register at offset for the PCI device at bus location PCI-ID. PCI-ID should be given in
the form bus:device:function, with each value in hexadecimal. By default, a 32-bit register is written.
-b Read or write an 8-bit value (byte).
-h Read or write a 16-bit value (halfword).
SEE ALSO scanpci(1)AUTHORS
David Dawes (dawes@xfree86.org).
XFree86 Version 4.7.0 PCITWEAK(1)
Hi all,
I want to create a new user and grant him ONLY transfer files access to a specific directory where he can only upload and read the files. He should be restricted to this activity only.
Regards (6 Replies)
Hi everyone,
I know the following questions are noobish questions but I am asking them because I am confused about the basics of history behind UNIX and LINUX.
Ok onto business, my questions are-:
Was/Is UNIX ever an open source operating system ?
If UNIX was... (21 Replies)
Hi,
Last 2 weeks I have searched many forums and i haven't found the answer for the question:
How to get all command output to Putty title?
Needed it for other programs to know when some jobs on a server is done and is it done right or wrong. Plink stdout and stdin wasn't working, i used many... (1 Reply)
anyone have any idea how do to this with auth_attr?
I suspect if I grant him
solaris.device.:RO::Device Allocation::help=DevAllocHeader.html
that will work but I'm unsure. Just looking for a second opinion. (10 Replies)
I am looking for a stable, reliable system to replace my current Windows systems in the home. These are simple systems that I purchased from the local Big Box store.
I have heard many good things about Unix and it's various children and it sounds like a good option to me. I have worked... (2 Replies)
We have a lot of scripts using cut as :
cut -c 0-8 --works for cut (GNU coreutils) 5.97, but does not work for cut (GNU coreutils) 8.4.
Gives error -
cut: fields and positions are numbered from 1
Try `cut --help' for more information.
The position needs to start with 1 for later... (6 Replies)
I've got a problem with a proxy configuration. We have an LDAP group that lists all users who are authorised to use the proxy to FTP (usually Filezilla) out to the world, and by implication those not in the group should be denied. My users are delighted that this has been enabled and those that... (9 Replies)
hi folks,
how to using tar with exclude directory and compress it using tar.Z
i only know how to exclude dir only with this command below:
tar -cvf /varios/restore/test.tar -X excludefile.txt /jfma/test1/
how to compress it using 1 command?
Thanx
Please use CODE tags as... (6 Replies)
Hello All,
I had recently learnt a bit of Docker(which provides containerization process).
Here are some of my learning points from it.
Let us start first with very basic question:
What is Docker:
Docker is a platform for sysadmins and developers to DEPLOY, DEVELOP and RUN applications ... (7 Replies)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
Hello for all,
I am testing the behavior of a 32 bit application running on Solaris 5.10 (SPARC), and realize it reaches 4GB of memory and then crashes.
It doesn't matter the amount of used memory as application is intended to perform many transactions; rather, what I want to achieve is to... (2 Replies)