07-04-2007
I like andryk's solution! But here is an old post with my old solution...
Ram structure
I just played with cstm until I got it to work. The output from the map command is actually interesting by itself.
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What is the components of semaphore? (1 Reply)
Discussion started by: dearanik
1 Replies
2. Hardware
Hi Everyone
I'm looking for a recommended Laptop Hardware compatible list.
I know nowadays most distribs just work with most hardware but possibly a list of current laptops that don't work well with unix / Linux. (1 Reply)
Discussion started by: LaptopACPower
1 Replies
3. Solaris
Hi folk,
I have this hardware faunty message, but dont know which hardware is this ? can you guide me ?
--------------- ------------------------------------ -------------- ---------
TIME EVENT-ID MSG-ID SEVERITY
---------------... (9 Replies)
Discussion started by: dehetoxic
9 Replies
4. Solaris
i want to know the system components of solaris 11.
for SLES11 system components are
Linux Kernel 2.6.27.8rc1
GCC 4.3.2
glibc 2.9
X.Org 7.4
XEN 3.3.1
KVM 78
i need those components for solaris 11 (4 Replies)
Discussion started by: snreddy_gopu
4 Replies
5. Hardware
Hi guys,
I want to buy a lenovo Z500 laptop and install fedora 19 on it. I want to know if there would be any problem with drivers. I looked at specification. it says for wireless communication it uses Intel Centrino Wireless N-2230. according to this link kernel supports it. The problem is... (3 Replies)
Discussion started by: majid.merkava
3 Replies
6. Shell Programming and Scripting
Hi Folks ,
I have the below script that will start the components one by one by giving an interval of few seconds that if first component is started then there is interval of
few seconds and then the second component is started , but by this way it takes time, i want to make the process faster... (8 Replies)
Discussion started by: punpun66
8 Replies
7. HP-UX
Hi, I am new to the Unix world and in my current project i have to work on HP MPE/iX and MF-COBOL. They do not have a Change management and version controller till now. Can you please help me with the name of the product which can fit well in this purpose. Please advice. Ty. (1 Reply)
Discussion started by: mohbaig
1 Replies
LEARN ABOUT CENTOS
pci_create_slot
PCI_CREATE_SLOT(9) Hardware Interfaces PCI_CREATE_SLOT(9)
NAME
pci_create_slot - create or increment refcount for physical PCI slot
SYNOPSIS
struct pci_slot * pci_create_slot(struct pci_bus * parent, int slot_nr, const char * name, struct hotplug_slot * hotplug);
ARGUMENTS
parent
struct pci_bus of parent bridge
slot_nr
PCI_SLOT(pci_dev->devfn) or -1 for placeholder
name
user visible string presented in /sys/bus/pci/slots/<name>
hotplug
set if caller is hotplug driver, NULL otherwise
DESCRIPTION
PCI slots have first class attributes such as address, speed, width, and a struct pci_slot is used to manage them. This interface will
either return a new struct pci_slot to the caller, or if the pci_slot already exists, its refcount will be incremented.
Slots are uniquely identified by a pci_bus, slot_nr tuple.
There are known platforms with broken firmware that assign the same name to multiple slots. Workaround these broken platforms by renaming
the slots on behalf of the caller. If firmware assigns name N to
MULTIPLE SLOTS
The first slot is assigned N The second slot is assigned N-1 The third slot is assigned N-2 etc.
PLACEHOLDER SLOTS
In most cases, pci_bus, slot_nr will be sufficient to uniquely identify a slot. There is one notable exception - pSeries (rpaphp), where
the slot_nr cannot be determined until a device is actually inserted into the slot. In this scenario, the caller may pass -1 for slot_nr.
The following semantics are imposed when the caller passes slot_nr == -1. First, we no longer check for an existing struct pci_slot, as
there may be many slots with slot_nr of -1. The other change in semantics is user-visible, which is the 'address' parameter presented in
sysfs will
CONSIST SOLELY OF A DDDD
bb tuple, where dddd is the PCI domain of the struct pci_bus and bb is the bus number. In other words, the devfn of the 'placeholder' slot
will not be displayed.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 PCI_CREATE_SLOT(9)