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
- Lines: 12
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/include/linux/pci.h
- Orig date:
2003-06-13 07:51:39.000000000 -0700
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)