Date: Thu, 21 Jan 1999 11:00:03 -0500 From: "David E. Cross" <crossd@cs.rpi.edu> To: hackers@FreeBSD.ORG Subject: device driver writing Message-ID: <199901211600.LAA28568@cs.rpi.edu>
next in thread | raw e-mail | index | archive | help
I am attempting to write a very simple device driver for the serial port (8250 only) as a KLD (this is for demonstration purposes to a class). I admit I have never written a UNIX device drvier before, but KLD makes it look so easy :). The problem that I am having is that I do not know how to hook in to the interupts. I have looked at sio.c and noticde the 'struct isa_device', that contains the information I want to set (I think), but I do not see where or how this information is registered with the kernel. Any pointers/sample code would be appreciated, thanks :) -- David Cross To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901211600.LAA28568>