From owner-freebsd-hackers Wed Feb 4 21:27:08 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA02192 for hackers-outgoing; Wed, 4 Feb 1998 21:27:08 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.178]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA02174 for ; Wed, 4 Feb 1998 21:26:56 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Received: from rah (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id VAA00603 for ; Wed, 4 Feb 1998 21:26:55 -0800 (PST) (envelope-from hasty@rah.star-gate.com) Message-Id: <199802050526.VAA00603@rah.star-gate.com> X-Mailer: exmh version 2.0gamma 1/27/96 To: hackers@FreeBSD.ORG Subject: PCI LKM Drivers ? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 04 Feb 1998 21:26:55 -0800 From: Amancio Hasty Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe hackers" Curious, what is the correct way to load an LKM PCI driver? What I would like to have is a Bt848 LKM . Tnks, Amancio ----------------------- static char* lkm_probe (pcici_t tag, pcidi_t type); static void lkm_attach (pcici_t tag, int unit); static u_long lkm_count; static struct pci_device lkm_device = { "lkm", lkm_probe, lkm_attach, &lkm_count, NULL }; DATA_SET (pcidevice_set, lkm_device); static char* lkm_probe (pcici_t tag, pcidi_t type) { /* ** Not yet! ** (Should try to load a matching driver) */ return ((char*)0); } static void lkm_attach (pcici_t tag, int unit) {}