Index: [thread] [date] [subject] [author]
  From: Jon M. Taylor <taylorj@gaia.ecs.csus.edu>
  To  : ggi-develop@eskimo.com
  Date: Thu, 12 Aug 1999 15:03:11 -0700 (PDT)

Re: [KGI] Detection of PCI device

On Thu, 12 Aug 1999, Andreas Beck wrote:

> > > 
> > > I have one user for the Cirrus Logic 546x driver which had problems
> > > with the PCI device detection the driver does. It seems the way
> > > I did it is now rather deprecated (I use the pcibios_find_device(...)
> > > function). But this is a guess; could you tell me what is the right
> > 
> > don't use pcibios_find_device, use pci_find_device instead.
> > (include/linux/pci.h:1229 in 2.2.10)
> > perhaps he has disabled pci-bios-access and hits the pci-bus directly.
> 
> Use neither of them. You are using Linux functionality from with a KGI
> driver itself, which is evil. 

	Yes, but IMHO this is OK for KGIcon (which is currently
Linux-specific anyway) to use until KGI/KGIcon 0.9 is up and running.  KGI
0.9 has a 'system' driver which can abstract the OS and I/O interfaces
properly, which is what should be used.  Although, it might not be so 
hard to hack the system driver into KGIcon as it stands right now.  Hm....

Jon

---
'Cloning and the reprogramming of DNA is the first serious step in 
becoming one with God.'
	- Scientist G. Richard Seed

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