Index: [thread] [date] [subject] [author]
  From: Johan Karlberg <wlfshmn@failure.ml.org>
  To  : ggi-develop@eskimo.com
  Date: Tue, 11 Aug 1998 17:07:04 +0200 (CEST)

Re: Matrox BIOS upgrades (fwd)

On Tue, 11 Aug 1998, Marcus Sundberg wrote:

> > > I haven't added it to the Makefile, as I'm very busy with libggi right
> > > now and don't know dialog very very. But please everyone, cd into the
> > > degas/kgicon/kgi directory and run ../util/detectcard and see if the
> > > resulting .config file is correct for your card.
> > > 
> > 
> > There seem to be a few issues here, first, PCI probe assumes 2.0.x style
> > proc/pci interfacem while 2.1 nowdays use a /proc/bus/pci/ to keep trac of
> > PCI devices...
> 
> Good point. As kgicon only runs on 2.1.107+ anyway we should switch to use
> /proc/bus/pci/devices instead of /proc/pci.
> 
for my own config, i just replaced the cat /proc/pci with lspci, this
solves the problem if you only have ONE PCI card, if you have more, it
will detect the first grep that matches in the pci/main script.. but on
the other hand, the old one did this too... well, anyway, this requires
pcitools, which isn't in the standard set of tools people keep (unless
they work alot with pci, as some of us) and we can't really realy on them
having it since it's quite Linux specific, (ie. only works on Linux 2.1.84
or higher I think... or whenever /proc/pci was changed

also, there IS a compatibility mode in the kernel, I'm just alergic to
that kind of bloat (well.. it's probably even 100bytes or so! :)

> //Marcus
> 

Index: [thread] [date] [subject] [author]