The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* PCI configuration changes getting lost.
@ 2004-07-15 19:25 Max T. Woodbury
  2004-07-15 19:49 ` Martin Mares
  0 siblings, 1 reply; 2+ messages in thread
From: Max T. Woodbury @ 2004-07-15 19:25 UTC (permalink / raw)
  To: linux-kernel

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.]

max@mtew.isa-geek.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: PCI configuration changes getting lost.
  2004-07-15 19:25 PCI configuration changes getting lost Max T. Woodbury
@ 2004-07-15 19:49 ` Martin Mares
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Mares @ 2004-07-15 19:49 UTC (permalink / raw)
  To: Max T. Woodbury; +Cc: linux-kernel

Hello!

> 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
-- 
Martin `MJ' Mares   <mj@ucw.cz>   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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-07-15 19:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-15 19:25 PCI configuration changes getting lost Max T. Woodbury
2004-07-15 19:49 ` Martin Mares

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox