[lkml]   [2003]   [Jun]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    SubjectRe: [RFC] pci_name()
    On Thu, Jun 26, 2003 at 03:50:57AM +0100, Matthew Wilcox wrote:
    > This patch introduces pci_name() and converts slot_name into a pointer to
    > dev.bus_id.

    Here's the compatibility patch for 2.4:

    --- linux/include/linux/pci.h 2003-05-21 05:21:29.000000000 -0400
    +++ linux-acpi/include/linux/pci.h 2003-06-26 06:39:58.000000000 -0400
    @@ -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
    "It's not Hollywood. War is real, war is primarily not about defeat or
    victory, it is about death. I've seen thousands and thousands of dead bodies.
    Do you think I want to have an academic debate on this subject?" -- Robert Fisk
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:36    [W:0.020 / U:47.008 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site