Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Sep 1999 22:07:09 +0100 (BST)
From:      Karl Pielorz <kpielorz@caladan.tdx.co.uk>
To:        hackers@freebsd.org
Subject:   Drivers, templates and beyond 2.2.X
Message-ID:  <Pine.BSF.4.05.9909302200080.38384-100000@caladan.tdx.co.uk>

next in thread | raw e-mail | index | archive | help
Hi All,

It's now getting to the point where I _have_ to port my old, 2.2.X custom
driver to run under 3.X/4.X.

I'm a reasnably competant programmer, and creating the driver under 2.2.X
wasn't too hard, thanks to help from friends, a ~10 year old book - and
the files in /usr/share/examples/drivers

A lot has changed since 2.2.X (i.e. probes, handlers, the way ISA drivers
are attached etc. - and God knows what else).

My questions are:

1. Has anyone got any updated 'skeleton drivers' for ISA devices under
3.X/4.X? (i.e. more up to date files than those in
/usr/share/examples/drivers?)

2. Failing #1, which driver is the best driver to print out, and pull
apart as an example of "How writing a simple port-mapped ISA card driver"
should be done?. I've looked at things like the joystick driver, and some
of the sound code etc. - there seems to be a lot of difference in the way
the drivers are set out etc. (At least, that seems to be the case to me!).

This leaves me a little confused, if I'm going to model my driver on one
of the existing ones - which is best?

Thanks in advance for any info,

Regards,

Karl Pielorz



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?Pine.BSF.4.05.9909302200080.38384-100000>