Changes that were missed on the previous commit. Perhaps oddness
caused by doing git-update-index at the wrong time.
This commit is contained in:
parent
05f8b772ae
commit
eb95128f61
|
@ -44,11 +44,13 @@
|
||||||
#include "xf86.h"
|
#include "xf86.h"
|
||||||
#include "xf86Priv.h"
|
#include "xf86Priv.h"
|
||||||
#include "xf86Pci.h"
|
#include "xf86Pci.h"
|
||||||
|
#include "Pci.h"
|
||||||
|
#include "xf86_OSproc.h"
|
||||||
|
|
||||||
static void ScanPciDisplayPCICardInfo();
|
static void ScanPciDisplayPCICardInfo(void);
|
||||||
|
|
||||||
void
|
void
|
||||||
ScanPciDisplayPCICardInfo()
|
ScanPciDisplayPCICardInfo(void)
|
||||||
{
|
{
|
||||||
struct pci_id_match match;
|
struct pci_id_match match;
|
||||||
struct pci_device_iterator *iter;
|
struct pci_device_iterator *iter;
|
||||||
|
@ -88,13 +90,13 @@ ScanPciDisplayPCICardInfo()
|
||||||
& svendorname, & subsysname);
|
& svendorname, & subsysname);
|
||||||
|
|
||||||
if ((dev->subvendor_id != 0) || (dev->subdevice_id != 0)) {
|
if ((dev->subvendor_id != 0) || (dev->subdevice_id != 0)) {
|
||||||
xf86MsgVerb(X_NONE, 0, "%s %s (0x%04 / 0x%04) using ",
|
xf86MsgVerb(X_NONE, 0, "%s %s (0x%04x / 0x%04x) using ",
|
||||||
(svendorname == NULL) ? "unknown vendor" : svendorname,
|
(svendorname == NULL) ? "unknown vendor" : svendorname,
|
||||||
(subsysname == NULL) ? "unknown card" : subsysname,
|
(subsysname == NULL) ? "unknown card" : subsysname,
|
||||||
dev->subvendor_id, dev->subdevice_id);
|
dev->subvendor_id, dev->subdevice_id);
|
||||||
}
|
}
|
||||||
|
|
||||||
xf86MsgVerb(X_NONE, 0, "%s %s (0x%04 / 0x%04)\n",
|
xf86MsgVerb(X_NONE, 0, "%s %s (0x%04x / 0x%04x)\n",
|
||||||
(vendorname == NULL) ? "unknown vendor" : vendorname,
|
(vendorname == NULL) ? "unknown vendor" : vendorname,
|
||||||
(devicename == NULL) ? "unknown chip" : devicename,
|
(devicename == NULL) ? "unknown chip" : devicename,
|
||||||
dev->vendor_id, dev->device_id);
|
dev->vendor_id, dev->device_id);
|
||||||
|
|
Loading…
Reference in New Issue