From owner-freebsd-stable Mon Mar 9 14:00:27 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA10354 for freebsd-stable-outgoing; Mon, 9 Mar 1998 14:00:27 -0800 (PST) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from gaia.coppe.ufrj.br (cisigw.coppe.ufrj.br [146.164.5.200]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA10106; Mon, 9 Mar 1998 13:59:43 -0800 (PST) (envelope-from jonny@coppe.ufrj.br) Received: (from jonny@localhost) by gaia.coppe.ufrj.br (8.8.8/8.8.8) id SAA12078; Mon, 9 Mar 1998 18:59:40 -0300 (EST) (envelope-from jonny) From: Joao Carlos Mendes Luis Message-Id: <199803092159.SAA12078@gaia.coppe.ufrj.br> Subject: Re: PCI LKM support added to -stable In-Reply-To: <3216.889455185@time.cdrom.com> from "Jordan K. Hubbard" at "Mar 9, 98 06:53:05 am" To: jkh@FreeBSD.ORG (Jordan K. Hubbard) Date: Mon, 9 Mar 1998 18:59:40 -0300 (EST) Cc: se@FreeBSD.ORG, jkh@FreeBSD.ORG, dg@FreeBSD.ORG, freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk #define quoting(Jordan K. Hubbard) // > How about the location of the file that maps PCI vendor/device IDs // > to module names. Should it reside with the LKMs, or be found in /etc ? // // That seems to be a reasonable candidate for living with the LKMs, // don't you think? While you're working with LKMs, what about creating some kind of version control, to avoid using LKMs incompatible with the kernel version used ? Every once in a while I forget to compile LKMs together with a new kernel. And when I remember compiling them, I forget saving a backup for using with the old kernel, in case of problems. A good approach would allow different versions of LKMs together, and they would be loaded (or not) accordingly to the kernel version they require. I'm not sure on how to do this. The first ideia I had was to use version control, like shared libs, but I could not fit it in a good way. I think that it's LKM function to detect the kernel it requires, and not otherwise. This will reduce the number of LKM versions needed. But an one-to-one approach would also make me happy. :) Jonny -- Joao Carlos Mendes Luis jonny@gta.ufrj.br +55 21 290-4698 jonny@coppe.ufrj.br Universidade Federal do Rio de Janeiro UFRJ/COPPE/CISI PGP fingerprint: 29 C0 50 B9 B6 3E 58 F2 83 5F E3 26 BF 0F EA 67 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message