*BSD News Article 62836


Return to BSD News archive

#! rnews 1553 bsd
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!news.mtu.edu!newsxfer.itd.umich.edu!news.mathworks.com!news.kei.com!nntp.coast.net!news2.acs.oakland.edu!newshub.gmr.com!hobbes.tad.eds.com!maverick.tad.eds.com!usenet.bzn.vlt.eds.com!not-for-mail
From: carlson@olympus.bzn.vlt.eds.com (Brent Carlson)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: FreeBSD Device Drvr problem
Date: 23 Feb 1996 12:19:33 -0700
Organization: Video Lottery Consultants, Bozeman MT.
Lines: 19
Message-ID: <4gl405$1pts@olympus.bzn.vlt.eds.com>
NNTP-Posting-Host: olympus.bzn.vlt.eds.com

We've written a custom ISA device driver for a product we manufacturer.
The driver works great when compiled into the kernel (on 2.0.5 & 2.1.0).
The driver uses ioctl calls to write data to the board and there is an
intr handler.  We've recently experimented with loadable kernel modules
and the driver again loads/seems normal.  The problem is all the ioctl
calls timeout (using a select statement).  It seems the driver isn't
getting interrupts from the board.  Any suggestions?

The driver code is exactly the same when compiled with the kernel
or without.  The lkm code has an additional C file for the load/unload
functions.

Thanks for any suggestions/help.

-- 
                           \_     \_  \_     \_\_\_\_\_
Brent Carlson               \_   \_   \_         \_    VLT Info Services/EDS
(406) 585-6600 ext. 5123     \_ \_    \_         \_    2311 South 7th Avenue
carlson@bzn.vlt.eds.com       \_      \_\_\_\_   \_    Bozeman, MT  59715