Re: finding which pci device works as ide controller for root fs

From: Greg KH
Date: Thu Aug 14 2003 - 19:27:30 EST


On Thu, Aug 14, 2003 at 06:26:30PM +0200, Arkadiusz Miskiewicz wrote:
>
> [arekm@mobarm arekm]$ ls -l /sys/block/hda/device
> lrwxrwxrwx 1 root root 46 2003-08-14 00:49
> /sys/block/hda/device -> ../../devices/pci0000:00/0000:00:11.1/ide0/0.0
>
> Is it possible to get PCI ID from sysfs for specified device?

It's right there in the path to the ide device "0000:00:11.1"


greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/