lkml.org 
[lkml]   [1998]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: new /proc/pci stuff
    On Tue, 27 Jan 1998, Geert Uytterhoeven wrote:
    >/proc/pci is only available if you enable CONFIG_PCI_OLD_PROC. It's being
    >obsoleted by the new /proc/bus/pci.
    Yes, but the problem is that /proc/pci exists even if
    CONFIG_PCI_OLD_PROC is not set:
    [root@manjak /root]# ls -l /proc/pc*
    -r--r--r-- 1 root root 0 Jan 27 21:11 /proc/pci

    But you can't access the file:

    [root@manjak /root]# cat /proc/pci
    cat: /proc/pci: Bad file descriptor

    [root@manjak linux]# grep PCI .config
    CONFIG_PCI=y
    CONFIG_PCI_BIOS=y
    CONFIG_PCI_DIRECT=y
    CONFIG_PCI_OPTIMIZE=y
    # CONFIG_PCI_OLD_PROC is not set
    CONFIG_BLK_DEV_IDEPCI=y

    IMHO /proc/pci should have been removed if CONFIG_PCI_OLD_PROC is
    disabled. I don't know if it is a bug or feature ?!

    >To use /proc/bus/pci, you may want to install Martin Mares' pciutils (announced
    >earlier today):
    Ok, I haven't been reading linux-kernel for 36 hours. It's a loong
    time in kernel development, isn't it ? ;-)

    Cheers,
    Kris
    --
    Krzysztof G. Baranowski - President of the Harmless Manyacs' Club
    "Smith & Wesson - The original point and click interface..."
    http://www.knm.org.pl/ <prezes@manjak.knm.org.pl>


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