Re: Correct way to get hold of a isab

2002-11-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : True enough I guess. You can go for it. :) OK. I will. Warner To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Correct way to get hold of a isab

2002-11-27 Thread John Baldwin
On 27-Nov-2002 M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > John Baldwin <[EMAIL PROTECTED]> writes: >: >: On 27-Nov-2002 M. Warner Losh wrote: >: > In message: <[EMAIL PROTECTED]> >: > John Baldwin <[EMAIL PROTECTED]> writes: >: >: Does this device have a cla

Re: Correct way to get hold of a isab

2002-11-27 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : : On 27-Nov-2002 M. Warner Losh wrote: : > In message: <[EMAIL PROTECTED]> : > John Baldwin <[EMAIL PROTECTED]> writes: : >: Does this device have a class of PCIC_BRIDGE and subclass of PCIS_BRIDGE_I

Re: Correct way to get hold of a isab

2002-11-27 Thread John Baldwin
On 27-Nov-2002 M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > John Baldwin <[EMAIL PROTECTED]> writes: >: Does this device have a class of PCIC_BRIDGE and subclass of PCIS_BRIDGE_ISA? >: (class of 0x0601zz where zz is any value). If so it is claiming to be a >: PCI-ISA brid

Re: Correct way to get hold of a isab

2002-11-27 Thread Alexander Funcke
On Tue, Nov 26, 2002 at 09:52:20PM -0700, M. Warner Losh wrote: > In message: <[EMAIL PROTECTED]> > John Baldwin <[EMAIL PROTECTED]> writes: > : Does this device have a class of PCIC_BRIDGE and subclass of PCIS_BRIDGE_ISA? > : (class of 0x0601zz where zz is any value). If so it is clai

Re: Correct way to get hold of a isab

2002-11-26 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> John Baldwin <[EMAIL PROTECTED]> writes: : Does this device have a class of PCIC_BRIDGE and subclass of PCIS_BRIDGE_ISA? : (class of 0x0601zz where zz is any value). If so it is claiming to be a : PCI-ISA bridge. If this device is not a PCI-ISA bridge,

Re: Correct way to get hold of a isab

2002-11-26 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Alexander Funcke <[EMAIL PROTECTED]> writes: : This do work, but I guess this isn't the correct way, how should it : be done? Have isab_probe return a negative number (say -20). Have your probe routine return a larger negative number (say -10). Warner

RE: Correct way to get hold of a isab

2002-11-26 Thread John Baldwin
On 26-Nov-2002 Alexander Funcke wrote: > Hi, > > > I've written a GPIO driver for the National Geode SCx200 processors. > While I was developing I added the following line in isab_match() > (sys/pci/pcisupport.c) so it wouldn't be identified as a isa-bridge. > > > isab_match(device_t dev) > {

Correct way to get hold of a isab

2002-11-26 Thread Alexander Funcke
Hi, I've written a GPIO driver for the National Geode SCx200 processors. While I was developing I added the following line in isab_match() (sys/pci/pcisupport.c) so it wouldn't be identified as a isa-bridge. isab_match(device_t dev) { switch(pci_get_devid(dev)) { . .