(In reply to comment #2)
> Well, i feel that the full canonical path (@f2000000 and co) is not (at all or
> easily) available from the devfs representation of the devices.
It's true that working out the proper path to compare against involves more
code. However, I already added Pegasos support to ofpath, so we could use that.
> Naturally, we couldn't do this in debian, since debian was still supporting 2.4
> kernels, but this should be no major problem in ubuntu.
If it's necessary to do 2.6ish things in Debian they can always be guarded by a
simple test.
(In reply to comment #2)
> Well, i feel that the full canonical path (@f2000000 and co) is not (at all or
> easily) available from the devfs representation of the devices.
I was really just thinking of this:
lrwxrwxrwx 1 root root 12 2005-05-11 13:00 /proc/device- tree/pci -> pci@f0000000
It's true that working out the proper path to compare against involves more
code. However, I already added Pegasos support to ofpath, so we could use that.
> Naturally, we couldn't do this in debian, since debian was still supporting 2.4
> kernels, but this should be no major problem in ubuntu.
If it's necessary to do 2.6ish things in Debian they can always be guarded by a
simple test.