All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Enrico Bartky" <DOSProfi@web.de>
To: <linux-kernel@vger.kernel.org>
Subject: lspci != scanpci !?
Date: Fri, 14 Jan 2005 21:57:00 +0100	[thread overview]
Message-ID: <003d01c4fa7b$983b21b0$0c00a8c0@amd64> (raw)

Hello,

I have a Gigabyte GA-5AA Board with ALi Aladdin IV Chipset ( 1533, 1541 ). I
tried to get the smbus to work, but Gigabyte have disabled it and I can't
activate it in the BIOS. I use kernel 2.6.10 and looked at the m7101-hotplug
for kernel 2.4-module from lm_sensors. I added the following to
drivers/pci/quirks.c:

....
/* ALi 1533 fixup to enable the M7101 SMBus Controller
* ported from prog/hotplug of the lm_sensors
* package
*/
static void __devinit quirk_ali1533_smbus(struct pci_dev *dev)
{
u8 val = 0;

pci_read_config_byte ( dev, 0x5F, &val );
if ( val & 0x4 )
{
pci_write_config_byte ( dev, 0x5F, val & 0xFB );
}
}
DECLARE_PCI_FIXUP_HEADER(PCI_VENDOR_ID_AL, PCI_DEVICE_ID_AL_M1533,
quirk_ali1533_smbus );
....

Now the scanpci command shows the M7101 BUT lspci and /proc/pci,
/proc/bus/pci, /sys/bus/pci NOT. What can I do? Is there anything like a
"update_pci" command?

Thanx,
EnricoB


             reply	other threads:[~2005-01-14 20:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-14 20:57 Enrico Bartky [this message]
2005-01-14 22:37 ` lspci != scanpci !? Matthew Dharm
2005-01-15 12:35 ` Martin Mares
2005-01-15 15:54   ` Enrico Bartky
  -- strict thread matches above, loose matches on Subject: below --
2005-01-14 23:01 Enrico Bartky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003d01c4fa7b$983b21b0$0c00a8c0@amd64' \
    --to=dosprofi@web.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.