Skip to contentSkip to conversation

PCI configuration changes getting lost.

DISCUSSION Max T. Woodbury 2 participants 2 messages Jul 15, 2004

lore
Share & tools
lore
#0 lore raw

I'm having trouble with an old Thinkpad 760 ED.

The BIOS puts junk (0xFF) in the INTERRUPT_LINE register of the PCMCIA configuration registers. I can put the correct value (0x05) in with 'setpci', but the information is not propagated to the /proc space. The information is not preserved after an 'init 6'.

(There is at least one other BIOS induced problem with this machine and PCI configuration registers but it is a bit less serious. I do have the latest BIOS.)

What would be involved in updating the /proc information when 'setpci' is used to change the configuration?

Does the other pci 'fixer' 'pcitweak' do a better job?

[Don't remove PCI from the subject line. I'm using it to keep track of interesting things in this otherwise very noisy mailing list.]

[email protected]

#1 lore raw

Hello!

Quoted 4 lines

The BIOS puts junk (0xFF) in the INTERRUPT_LINE register of the PCMCIA configuration registers. I can put the correct value (0x05) in with 'setpci', but the information is not propagated to the /proc space. The information is not preserved after an 'init 6'.

The INTERRUPT_LINE register doesn't affect interrupt routing a single bit, it's merely a scratch pad register used for passing the interrupt number from BIOS to the drivers (or Linux kernel in this case).

BTW which kernel do you use?

What do the boot-up messages say?

Have a nice fortnight

Signature · 3 lines
Martin `MJ' Mares   <[email protected]>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Lottery -- a tax on people who can't do math.