--- agpgart_be.c 2005-03-28 17:20:42.000000000 +0300 +++ agpgart_be.c.new 2005-03-28 17:21:54.000000000 +0300 @@ -7081,7 +7081,7 @@ if ( agp_bridge.capndx ) { printk(KERN_INFO PFX "Detected HP ZX1 AGP " - "chipset at %s\n", dev->slot_name); + "chipset at %s\n", pci_name(dev)); agp_bridge.type = HP_ZX1; agp_bridge.dev = dev; /* fill in the mode register */ @@ -7147,7 +7147,7 @@ if( cap_ptr ) { printk(KERN_INFO PFX "Detected a Via Apollo KT400 chipset in AGP v3 mode " - "at %s\n", dev->slot_name); + "at %s\n", pci_name(dev)); agp_bridge.type = VIA_APOLLO_KT400; agp_bridge.dev = dev; @@ -7167,12 +7167,12 @@ if( cap_ptr ) { printk(KERN_DEBUG PFX "Detected a Via Apollo KT400 chipset in AGP v2 compat mode " - "at %s\n", dev->slot_name); + "at %s\n", pci_name(dev)); } else { printk(KERN_ERR PFX "Detected a Via Apollo KT400 chipset but no AGPv2/v3 caps found " - "at %s\n", dev->slot_name); + "at %s\n", pci_name(dev)); } } break; @@ -7198,7 +7198,7 @@ if( cap_ptr ) { printk(KERN_INFO PFX "Detected a Via P4X400 chipset in AGP v3 mode " - "at %s\n", dev->slot_name); + "at %s\n", pci_name(dev)); agp_bridge.type = VIA_APOLLO_P4X400; agp_bridge.dev = dev; @@ -7218,7 +7218,7 @@ if( cap_ptr ) { printk(KERN_INFO PFX "Detected a Via P4X400 chipset with AGP v3.x caps in AGP v2 compatibility mode " - "at %s\n", dev->slot_name); + "at %s\n", pci_name(dev)); agp_bridge.type = VIA_APOLLO_P4X400; agp_bridge.dev = dev; @@ -7238,12 +7238,12 @@ if( cap_ptr ) { printk(KERN_DEBUG PFX "Detected a Via P4X400 chipset with AGP v2 caps in true AGP v2 mode " - "at %s\n", dev->slot_name); + "at %s\n", pci_name(dev)); } else { printk(KERN_ERR PFX "Detected a Via P4X400 chipset but no AGPv2/v3 caps found " - "at %s\n", dev->slot_name); + "at %s\n", pci_name(dev)); } } break;