From owner-freebsd-hackers Sat Dec 8 14: 5:33 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by hub.freebsd.org (Postfix) with ESMTP id 7398737B416 for ; Sat, 8 Dec 2001 14:05:30 -0800 (PST) Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.11.0/8.11.0) id fB8M5S417273; Sat, 8 Dec 2001 14:05:28 -0800 Date: Sat, 8 Dec 2001 14:05:28 -0800 From: Brooks Davis To: David Rowe Cc: hackers@freebsd.org Subject: Re: Newbie: Driver for PLX9050 Message-ID: <20011208140528.A16554@Odin.AC.HMC.Edu> References: <3C11C69B.F2898B1D@voicetronix.com.au> <20011208132933.A6980@Odin.AC.HMC.Edu> <3C128D82.CBF9DFB3@voicetronix.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="pWyiEgJYm5f9v55/" Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3C128D82.CBF9DFB3@voicetronix.com.au>; from david@voicetronix.com.au on Sun, Dec 09, 2001 at 08:30:34AM +1030 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --pWyiEgJYm5f9v55/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 09, 2001 at 08:30:34AM +1030, David Rowe wrote: >=20 > > The chip driver is entierly bogus and only claims things that nothing > > else does. This generally means that your probe code isn't working > > correctly because if it were your driver would have claimed this device. >=20 > As I am installing my driver after boot time (using KLD), the chip > driver has already claimed the PLX device, and mydriver_probe is not > presented with the device id for the PLX device. >=20 > Does this mean I can only install my driver as part of the kernel, not > using KLD? No, you can claim PCI devices after boot. It works fine. Stick some printfs in your probe code to be sure it's being called correctly and what it's being called on. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --pWyiEgJYm5f9v55/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE8Eo6nXY6L6fI4GtQRAgNYAKDPfNZhTWc50z1GuPC9FV1n+/ECngCfdGKe Hu4rSzzRNMKjDRP9JqjkCOM= =F52Y -----END PGP SIGNATURE----- --pWyiEgJYm5f9v55/-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message