Date: Tue, 21 Jan 1997 11:19:56 +1030 (CST) From: Michael Smith <msmith@atrad.adelaide.edu.au> To: hackers@freebsd.org Subject: Kernel driver source installer? Message-ID: <199701210049.LAA03575@genesis.atrad.adelaide.edu.au>
next in thread | raw e-mail | index | archive | help
One of the things that has always bugged me about installing kernel drivers that aren't part of a 'stock' distribution is working out where to put what, and those trivial edits of files.i386 etc. So I've automated it (about time 8). cain:~/work/misc/kdrv>./KernelDriver add mdsio ./sys cain:~/work/misc/kdrv>./KernelDriver list ./sys mdsio : Multidrop RS-422/485 driver cain:~/work/misc/kdrv>./KernelDriver delete mdsio ./sys cain:~/work/misc/kdrv>./KernelDriver list ./sys cain:~/work/misc/kdrv>cat mdsio/mdsio.drvinfo # Driver Info file for multidrop serial driver driver mdsio description {Multidrop RS-422/485 driver} file i386/isa/ mdsio.c file i386/include mdsio.h linttext # device mdsio0 at isa? port "IO_COM3" irq 10 vector mdsiointr end excerpt from ./sys/i386/conf/files.i386 (while installed): ## driver: mdsio # Multidrop RS-422/485 driver # file: i386/isa/mdsio.c i386/isa/mdsio.c optional mdsio device-driver # file: i386/include/mdsio.h ## enddriver (no, it doesn't sort its entries) Would this be another src/tools/tools candidate? Any suggestions (add stuff to other .i386 files like options, etc?) -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199701210049.LAA03575>