Subject: is it possible to find out where a device is attached?
To: None <firstname.lastname@example.org>
From: David Laight <email@example.com>
Date: 02/15/2003 12:15:57
I was looking at the code used to tie together the bios drive numbers
for hard disks with the netbsd device driver/unit name.
The PCI bios will (bugs excepted) tell us where it found a particular
disk - eg ATA on pci bus 0 device 5 function 1.
However I can't spot a way of getting the same information out of
the netbsd device tree - eg starting from alldevs.
The 'bus type' and 'locators' seem to be absent from the referenced
What have I missed?
David Laight: firstname.lastname@example.org