Blame xserver-1.3.0-rom-search.patch
|
|
115cc5d |
--- xorg-server-1.2.99.905/hw/xfree86/os-support/bus/linuxPci.c.jx 2007-04-09 16:15:43.000000000 -0400
|
|
|
115cc5d |
+++ xorg-server-1.2.99.905/hw/xfree86/os-support/bus/linuxPci.c 2007-04-09 17:37:28.000000000 -0400
|
|
|
115cc5d |
@@ -778,8 +778,8 @@
|
|
|
115cc5d |
bus = PCI_BUS_NO_DOMAIN(PCI_BUS_FROM_TAG(Tag));
|
|
|
115cc5d |
dev = PCI_DEV_FROM_TAG(Tag);
|
|
|
115cc5d |
func = PCI_FUNC_FROM_TAG(Tag);
|
|
|
115cc5d |
- sprintf(file, "/sys/devices/pci%04x:%02x/%04x:%02x:%02x.%1x/rom",
|
|
|
115cc5d |
- dom, bus, dom, bus, dev, func);
|
|
|
115cc5d |
+ sprintf(file, "/sys/bus/pci/devices/%04x:%02x:%02x.%1x/rom",
|
|
|
115cc5d |
+ dom, bus, dev, func);
|
|
|
115cc5d |
|
|
|
115cc5d |
/*
|
|
|
115cc5d |
* If the caller wants the ROM and the sysfs rom interface exists,
|