Date: Fri, 08 May 1998 10:44:17 +0930 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: Robert_Wagner@dgii.com (Robert Wagner) Cc: freebsd-stable@FreeBSD.ORG Subject: Re: PCI lkm Device Driver Message-ID: <199805080114.KAA26869@cain.gsoft.com.au> In-Reply-To: Your message of "Thu, 07 May 1998 17:14:57 EST." <1998May07.151357.1839.2431657@msp-ln05.dgii.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> I am in the process of creating a PCI lkm Device Driver. I have read all the > information on how to write lkm drivers but they all show isa devices. I am > working on the load and unload. For loading the lkm, how do I go about > rescanning for pci devices on the pci bus. I see that in pci.c there is a Well, I wrote one for 2.2.5, and it would load, but unfortunatly you can't unload them :) The reason is that the PCI code doesn't support freeing the IRQ's/mapings etc that you allocate when you attach your device, which is kind of annoying. There was some effort to fix this, but it didn't seem to go far :( --------------------------------------------------------------------- |Daniel O'Connor software and network engineer for Genesis Software | |http://www.gsoft.com.au | |The nice thing about standards is that there are so many of them to| |choose from. -- Andrew Tanenbaum | --------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805080114.KAA26869>