patch-2.4.22 linux-2.4.22/include/linux/pci.h

Next file: linux-2.4.22/include/linux/pci_ids.h
Previous file: linux-2.4.22/include/linux/pagemap.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/linux/pci.h linux-2.4.22/include/linux/pci.h
@@ -773,6 +773,11 @@
 	pdev->driver_data = data;
 }
 
+static inline char *pci_name(struct pci_dev *pdev)
+{
+	return pdev->slot_name;
+}
+
 /*
  *  The world is not perfect and supplies us with broken PCI devices.
  *  For at least a part of these bugs we need a work-around, so both

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)