Re: PCI question and tulip wierdness

Martin Mares (mj@ucw.cz)
Sun, 3 Jan 1999 21:51:02 +0100


Hello,

> When you modify the data in /proc/bus/pci/*/*, any
> changes do not get reflected in /proc/bus/pci/drivers.
> Is this because:
> 1) It was felt to be unnessesary
> 2) It was forgotten about
> 3) It will get fixed later
> 4) You're not supposed to be able to change that

All of them :-)

With the current PCI code, users are not expected to change either the
base addresses or IRQs [4] and it doesn't make sense to change them by just
writing to the configuration space [1] -- remember [2] that kernel-visible
and bus-visible values of these quantities are often different. I plan
to add a new ioctl for /proc/bus/pci files which would allow to change
all such information, but it's probably a 2.3 issue [3].

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"A. G. Bell is alive and well in New York and still waiting for the dial tone."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/