Date: Wed, 04 Feb 1998 21:26:55 -0800 From: Amancio Hasty <hasty@rah.star-gate.com> To: hackers@FreeBSD.ORG Subject: PCI LKM Drivers ? Message-ID: <199802050526.VAA00603@rah.star-gate.com>
next in thread | raw e-mail | index | archive | help
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) {}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802050526.VAA00603>