EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Linux Driver Problems
From: "Darrell Nineham" <[email protected]>
To: <[email protected]>
Date: Wed, 18 Jan 2006 17:59:27 -0000
Hi Tech Talkers,

I been trying to writes a Linux Driver for Redhat Enterprize 3 / Linux
2.4.21, but are getting loads of problems from the headers.

As its Linux 2.4 and not 2.6 we still need to use MOD_INC_USE_COUNT,
which is declared in module.h, but the module.h installed in our linux
has loads of mistakes such as self referencing members of
unions/structures (i.e. declared in the header itself) that don't
exsist, and calling makro (atomic_inc and atomic_dec) that don't exsist
anywhere on the system.

Also the gfp.h doesn't exsist on the linux installation, so there's no
define for GFP_KERNEL.

Is there something I forgot include / install ?



Darrell Nineham
Hytec Electronics Ltd.
Tel: +44 (0) 118 975 7770
Fax: +44 (0) 118 975 7566
Web: www.hytec-electronics.co.uk
 
++++++++++++++++++++++++++++++++++++++++++++
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error, please notify the
sender immediately. The views expressed in the message are those of the
individual author and may not necessarily represent the views of Hytec
Electronics Ltd.



Navigate by Date:
Prev: Modifications to caput and caget Walters, M (Malcolm)
Next: Driver for Hytec 8601 IP Motor Controller? Doug Murray
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Modifications to caput and caget Walters, M (Malcolm)
Next: Driver for Hytec 8601 IP Motor Controller? Doug Murray
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·