~ubuntu-branches/ubuntu/maverick/libvirt/maverick

« back to all changes in this revision

Viewing changes to src/pci.c

Tags: upstream-0.6.4
Import upstream version 0.6.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#include "util.h"
39
39
#include "virterror_internal.h"
40
40
 
 
41
/* avoid compilation breakage on some systems */
 
42
#ifndef MODPROBE
 
43
#define MODPROBE "modprobe"
 
44
#endif
 
45
 
41
46
#define PCI_SYSFS "/sys/bus/pci/"
42
47
#define PCI_ID_LEN 10   /* "XXXX XXXX" */
43
48
#define PCI_ADDR_LEN 13 /* "XXXX:XX:XX.X" */