ia64/xen-unstable

changeset 1021:695dac3ac125

bitkeeper revision 1.661 (3ff30d48qn0UJdw28uFYaO5EgbzFHQ)

compatibility fix to remove a warning in tg3 driver.
author iap10@labyrinth.cl.cam.ac.uk
date Wed Dec 31 17:54:16 2003 +0000 (2003-12-31)
parents d8941770d7a7
children 18dbe6d9d3dc
files BitKeeper/etc/ignore xen/include/xeno/pci.h
line diff
     1.1 --- a/BitKeeper/etc/ignore	Wed Dec 31 17:44:09 2003 +0000
     1.2 +++ b/BitKeeper/etc/ignore	Wed Dec 31 17:54:16 2003 +0000
     1.3 @@ -534,3 +534,4 @@ xen/drivers/scsi/sym53c8xx_2/sym_hipd.o
     1.4  xen/drivers/scsi/sym53c8xx_2/sym_malloc.o
     1.5  xen/drivers/scsi/sym53c8xx_2/sym_misc.o
     1.6  xen/drivers/scsi/sym53c8xx_2/sym_nvram.o
     1.7 +xen/arch/i386/flushtlb.o
     2.1 --- a/xen/include/xeno/pci.h	Wed Dec 31 17:44:09 2003 +0000
     2.2 +++ b/xen/include/xeno/pci.h	Wed Dec 31 17:54:16 2003 +0000
     2.3 @@ -775,6 +775,11 @@ static inline void pci_set_drvdata (stru
     2.4  	pdev->driver_data = data;
     2.5  }
     2.6  
     2.7 +static inline char *pci_name(struct pci_dev *pdev)
     2.8 +{
     2.9 +        return pdev->slot_name;
    2.10 +}
    2.11 +
    2.12  /*
    2.13   *  The world is not perfect and supplies us with broken PCI devices.
    2.14   *  For at least a part of these bugs we need a work-around, so both