LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   how the pci device drivers works internally (https://www.linuxquestions.org/questions/linux-kernel-70/how-the-pci-device-drivers-works-internally-4175432455/)

durgam anil 10-16-2012 05:50 AM

how the pci device drivers works internally
 
i written device drivers code for to trace the pci device tree but i got the information of the vendor id ,devie id ,subsystem id .i have doubt at how it read the the subsytem vendor id i not understand.please any one help me to detect the sub sytem how it is reading...

sundialsvcs 10-16-2012 09:29 AM

You ought to be able to surf through a virtual-directory tree, perhaps /proc, to find the information that you need, without writing a driver just to obtain configuration information about the system. Therefore, perhaps I do not fully understand your question. Can you please briefly describe what existing PCI driver source-code you have already investigated, and what specific piece of logic you need help with?

durgam anil 11-02-2012 01:25 AM

Which is the correct contexts in which callouts run from the following?

What is the operation of following kernel interface? rw_lock_held(lock pointer);

Which of the buffer structure fields specifies the direction of IO transfer, the transfer size and the virtual address of the data in a solaris machine?

Which of the debuggers allow extensive customization and supports user written pluggable debugging modules in their specific debuggers?

What firmware command causes a kernel core file to be dumped to the dump device like external hard disk or disk tape?


Can it be possible to take a core dump of a system which is live?

Which of the following correct method of initializing a mutex on solaris?

Which one of the following register set of a calling function is passed on as input registers to the called function, on a sparc system?


Which of the structures keeps track of the positional offset within the file where the next IO is to be performed in a solaris machine?

In what situations does the solaris kernel handle interrupts?

Which one is true of memory allocated by kmem_alloc from the given below options?

Which is the basic mutex operations supported by the solaris operating system running on a sparc machine?

The OS gives guaranty that a thread which has been blocked on a cv through a cv_wait call does not comes alive wrongly and so does not need to re-check for the reason for blocking. State whether true or false.

Among the filesystems which implement the mmap interface, which is the correct locking hierarchy?

The kmem_alloc is paged and allocated the memory. Validate this statement.


Which one of kadb/adb macros can be used to find out about the stack traces of all the kernel threads?

Which one of the adb/kadb commands can be used to examine the function which caused the panic in the system?

What will occur if a driver running on a sparc processor lined up on a 16 bit boundary efforts to access a 32 bit quantity?

What interface is the same as acquiring a lock ?

any one...........please send answers ........

sundialsvcs 11-02-2012 09:04 AM

Quote:

Originally Posted by durgam anil (Post 4820205)
any one...........please send answers ........

Hey, pal, back in the day, I did my homework myself! (And graduated with highest honors, so there!)

The entire point of education is that you dig for the answers and that in so doing you not only learn those answers but also learn how to find them. For yourself. If you're not willing to do that, then you're wasting your time and perhaps a considerable amount of money, and no one, anywhere in the world, wants to hire a lazy programmer.


All times are GMT -5. The time now is 08:15 PM.