how to register ISR for PCI slot???


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users how to register ISR for PCI slot???
# 1  
Old 09-27-2011
Wrench how to register ISR for PCI slot???

SmilieSmilieSmiliehow to register ISR for PCI slot using callback registery (in c programing)
i am using fedora 10 os.SmilieSmilieSmilieSmilieSmilie

Last edited by Scott; 09-27-2011 at 02:42 AM.. Reason: Double post. Closed.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Programming

How to register ISR for PCI slot???

how to register callback function in unix?? (0 Replies)
Discussion started by: powyama
0 Replies

2. Solaris

Q:x4270_m2 reconfigure PCI card to slot 5?

Hello all, I have a problem with my x4270_m2 server. I have a GBE lan built into the back of my server and I have a QGE pci card in slot 2 to be used as a redundant. My server is not picking up the QGE lan card in slot2. From investigation of the /etc/path_to_inst, which shows: #grep e1000... (2 Replies)
Discussion started by: kerrygold
2 Replies

3. UNIX for Dummies Questions & Answers

Linux Device Driver: how can an ISR wake up a user-thread?

Hi all, Is it possible to do the following in Linux (kernel 2.6.x): - A user-space thread goes to "sleep". Using any call/mechanism - On a hardware generated interrupt, the Interrupt handler (ISR) "wakes" the sleeping user-thread. I have seen wait_event() and wake_up() but it appears... (1 Reply)
Discussion started by: agaurav
1 Replies

4. Filesystems, Disks and Memory

cantidad de slot de memoria

Alguien me puede ayudar, necesito saber cuantos slot de memoria disponibles tiene un RS/6000 AIX (1 Reply)
Discussion started by: ivan.estay
1 Replies

5. Solaris

AGP slot in my server ?

hi all, i have a sunfire v440 server , someone can tell me if this server contains a AGP slots ? thanx (4 Replies)
Discussion started by: lid-j-one
4 Replies

6. Solaris

PCI slot info on V480/V490

Hi, How can I know slot wise info on a sun v480 box. I want to have the details like which slot has which card (slot 1- HBA, slot 2 - quad NIC) .. I know that sysdef, prtconf or prtdiag outputs will help to get this. But I dont know how to conclude from those outputs. Can anybody help me to... (4 Replies)
Discussion started by: vasu2020
4 Replies

7. UNIX for Dummies Questions & Answers

bad pci slot?

Hi, im having a problem installing my pci wireless card. Im using knoppix, but my problem is with the mobo i think. im using an older laptop, toshiba satellite 2540 and when i plug in the card i get lights on sometimes. this means its getting power right. so then to install the card into the... (0 Replies)
Discussion started by: jestra
0 Replies

8. UNIX for Advanced & Expert Users

device - > slot

Hi all.. I have a Sun Ultra 450 with a lot of drives and scsi controllers installed and i have one bad internal disk.. How can "map" ex /dev/dsk/c3t2d0s0 to a slot in the internal cabinet? Any good ideas? I dont want to remove the wrong disk :) thanks in advance.. (3 Replies)
Discussion started by: s93366
3 Replies
Login or Register to Ask a Question
PCI(3)							   BSD Library Functions Manual 						    PCI(3)

NAME
pci -- library interface for PCI bus access LIBRARY
PCI Bus Access Library (libpci, -lpci) SYNOPSIS
#include <pci.h> int pcibus_conf_read(int pcifd, u_int bus, u_int dev, u_int func, u_int reg, pcireg_t *valp); int pcibus_conf_write(int pcifd, u_int bus, u_int dev, u_int func, u_int reg, pcireg_t val); int pcidev_conf_read(int devfd, u_int reg, pcireg_t *valp); int pcidev_conf_write(int devfd, u_int reg, pcireg_t val); char * pci_findvendor(pcireg_t id_reg); void pci_devinfo(pcireg_t id_reg, pcireg_t class_reg, char *devinfo, size_t len); void pci_conf_print(int pcifd, u_int bus, u_int dev, u_int func); DESCRIPTION
The pci library provides support for accessing the PCI bus by user programs. These functions are available in the libpci library. Programs should be linked with -lpci. CONFIGURATION SPACE FUNCTIONS
The following functions are used to access PCI configuration space: pcibus_conf_read() Access the PCI configuration register reg on the device located at bus, dev, func, and place the result in *valp. pcifd must be an open file descriptor to a PCI bus within the target PCI domain. pcibus_conf_write() Write the value specified by val into the PCI configuration register reg on the device located at bus, dev, func. pcifd must be an open file descriptor to a PCI bus within the target PCI domain. pcidev_conf_read() Access the PCI configuration register reg on the device associated with the open file descriptor devfd and place the result in *valp. pcidev_conf_write() Write the value specified by val into the PCI configuration register reg on the device associated with the open file descriptor devfd. MISCELLANEOUS FUNCTIONS
The following miscellaneous functions are available: pci_findvendor() Return an ASCII description of the PCI vendor in the PCI ID register id_reg. pci_devinfo() Return an ASCII description of the PCI vendor, PCI product, and PCI class specified by the PCI ID register id_reg and PCI class ID reg- ister class_reg. The description is placed into the buffer pointed to by devinfo; the size of that buffer is specified in len. pci_conf_print() Print the PCI configuration information for the device located at bus, dev, func. pcifd must be an open file descriptor to a PCI bus within the target PCI domain. RETURN VALUES
The pcibus_conf_read(), pcibus_conf_write(), pcidev_conf_read(), and pcidev_conf_write() functions return 0 on success and -1 on failure. The pci_findvendor() function returns NULL if the PCI vendor description cannot be found. SEE ALSO
pci(4) HISTORY
The pcibus_conf_read(), pcibus_conf_write(), pcidev_conf_read(), pcidev_conf_write(), pci_findvendor(), pci_devinfo(), and pci_conf_print() functions first appeared in NetBSD 1.6. BSD
April 24, 2004 BSD