Date: Tue, 23 Sep 1997 09:03:50 +0200 (MEST) From: Christoph Kukulies <kuku@gilberto.physik.RWTH-Aachen.DE> To: freebsd-hardware@freebsd.org Subject: major/minor for industrial hw required Message-ID: <199709230703.JAA05426@gil.physik.rwth-aachen.de>
next in thread | raw e-mail | index | archive | help
I need to get assigned a major/minor number
for the following HW which I want to write a driver for:
Type: w-ie-ner CAN16-2 CAN-PC Interface
Mfgr: Plein&Baus GmbH Muellersbaum 20 D-51399 Burscheid Germany
Desc: CAN-BUS is being used as a medium speed serial bus in the
automobil and automotive industrie for addressing
various sensors and small peripheral devices in
an ethernet like manner. The protocol is collision detect
based.
The device has two channels, so I suspect it would require two minor
numbers (myself though owning the book 'Writing Device Drivers'
currently not being very familar with the matter). There maybe
approaches using one minor and doing it in the ioctl - maybe that's
better since the two channels are in one device.
The device doesn't have an i/o register. It just has a 16K memory
mapped region and is producing one interrupt. I think I would
start with something like the ed driver as a skeleton.
Who is responsible for the Maj/Min device numbering disposal
in FreeBSD?
--
Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709230703.JAA05426>
