On Thu, Mar 14, 2002 at 02:21:15PM -0700, Ronald G Minnich wrote: > > I thought it was setting the MEM and IO bits in the COMMAND register on > PCI devices, but clearly in general it is not. > > Should it?
It used to. The tree I use turns on the MEM bit if a memory range was allocated, and the IO bit if an IO range was assigned. I believe I inherited this code from the old linuxbios PCI code, and in my opinion it's correct. I don't see any value in not setting the command bits; it just complicates the possible range of ways that hardware could be configured when the OS arrives and examines it.