Magellan Linux

Contents of /trunk/ati-drivers/patches/fglrx-2.6.12-pci_name.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years ago) by niro
File size: 2807 byte(s)
-import

1 --- build_mod.orig/agpgart_be.c 2005-06-19 15:59:55.000000000 +0200
2 +++ build_mod/agpgart_be.c 2005-06-19 15:58:59.000000000 +0200
3 #if (LINUX_VERSION_CODE >= 0x020400)
4 #define FGL_PM_PRESENT
5 #else
6 @@ -7083,7 +7087,7 @@
7 if ( agp_bridge.capndx )
8 {
9 printk(KERN_INFO PFX "Detected HP ZX1 AGP "
10 - "chipset at %s\n", dev->slot_name);
11 + "chipset at %s\n", pci_name(dev));
12 agp_bridge.type = HP_ZX1;
13 agp_bridge.dev = dev;
14 /* fill in the mode register */
15 @@ -7149,7 +7153,7 @@
16 if( cap_ptr )
17 {
18 printk(KERN_INFO PFX "Detected a Via Apollo KT400 chipset in AGP v3 mode "
19 - "at %s\n", dev->slot_name);
20 + "at %s\n", pci_name(dev));
21
22 agp_bridge.type = VIA_APOLLO_KT400;
23 agp_bridge.dev = dev;
24 @@ -7169,12 +7173,12 @@
25 if( cap_ptr )
26 {
27 printk(KERN_DEBUG PFX "Detected a Via Apollo KT400 chipset in AGP v2 compat mode "
28 - "at %s\n", dev->slot_name);
29 + "at %s\n", pci_name(dev));
30 }
31 else
32 {
33 printk(KERN_ERR PFX "Detected a Via Apollo KT400 chipset but no AGPv2/v3 caps found "
34 - "at %s\n", dev->slot_name);
35 + "at %s\n", pci_name(dev));
36 }
37 }
38 break;
39 @@ -7200,7 +7204,7 @@
40 if( cap_ptr )
41 {
42 printk(KERN_INFO PFX "Detected a Via P4X400 chipset in AGP v3 mode "
43 - "at %s\n", dev->slot_name);
44 + "at %s\n", pci_name(dev));
45
46 agp_bridge.type = VIA_APOLLO_P4X400;
47 agp_bridge.dev = dev;
48 @@ -7220,7 +7224,7 @@
49 if( cap_ptr )
50 {
51 printk(KERN_INFO PFX "Detected a Via P4X400 chipset with AGP v3.x caps in AGP v2 compatibility mode "
52 - "at %s\n", dev->slot_name);
53 + "at %s\n", pci_name(dev));
54
55 agp_bridge.type = VIA_APOLLO_P4X400;
56 agp_bridge.dev = dev;
57 @@ -7240,12 +7244,12 @@
58 if( cap_ptr )
59 {
60 printk(KERN_DEBUG PFX "Detected a Via P4X400 chipset with AGP v2 caps in true AGP v2 mode "
61 - "at %s\n", dev->slot_name);
62 + "at %s\n", pci_name(dev));
63 }
64 else
65 {
66 printk(KERN_ERR PFX "Detected a Via P4X400 chipset but no AGPv2/v3 caps found "
67 - "at %s\n", dev->slot_name);
68 + "at %s\n", pci_name(dev));
69 }
70 }
71 break;

Properties

Name Value
svn:executable *