Move xf86FindPciDeviceVendor and xf86FindPciClass from xf86pciBus.c to

xf86int10.c.  Refactor common code from those functions to do_find.
This commit is contained in:
Ian Romanick 2006-08-02 10:54:41 -07:00
commit a0f2e1cae4
4 changed files with 65 additions and 81 deletions

View file

@ -151,10 +151,6 @@ memType xf86ChkConflict(resRange *rgp, int entityIndex);
ScrnInfoPtr xf86FindScreenForEntity(int entityIndex);
Bool xf86NoSharedResources(int screenIndex, resType res);
resPtr xf86FindIntersectOfLists(resPtr l1, resPtr l2);
struct pci_device * xf86FindPciDeviceVendor(CARD16 vendorID, CARD16 deviceID,
char n, const struct pci_device * pvp_exclude);
struct pci_device * xf86FindPciClass(CARD8 intf, CARD8 subClass, CARD16 class,
char n, const struct pci_device * pvp_exclude);
void xf86RegisterStateChangeNotificationCallback(xf86StateChangeNotificationCallbackFunc func, pointer arg);
Bool xf86DeregisterStateChangeNotificationCallback(xf86StateChangeNotificationCallbackFunc func);