Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Nov 2002 12:14:27 +0100
From:      Alexander Funcke <funcke@nano-system.com>
To:        freebsd-hackers@freebsd.org
Subject:   Correct way to get hold of a isab
Message-ID:  <20021126111427.GB1063@gothis.peppernet.se>

next in thread | raw e-mail | index | archive | help
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)) {

	.
	.
	.

		/* National Geode SCx200's ISA and GPIO/LPC bridge,
		   needs to be free so we can claim it later from
		   the GPIO-driver.  */

		case 0x0500100b:
			return(NULL);
		}
	
	.
	.
	.
}

This do work, but I guess this isn't the correct way, how should it 
be done?


TIA,
/Alexander

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021126111427.GB1063>