Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
janz.h
Go to the documentation of this file.
1 /*
2  * Common Definitions for Janz MODULbus devices
3  *
4  * Copyright (c) 2010 Ira W. Snyder <[email protected]>
5  *
6  * This program is free software; you can redistribute it and/or modify it
7  * under the terms of the GNU General Public License as published by the
8  * Free Software Foundation; either version 2 of the License, or (at your
9  * option) any later version.
10  */
11 
12 #ifndef JANZ_H
13 #define JANZ_H
14 
16  /* MODULbus Module Number */
17  unsigned int modno;
18 };
19 
20 /* PLX bridge chip onboard registers */
23 
24  /*
25  * Read access: interrupt status
26  * Write access: interrupt disable
27  */
30 
31  /*
32  * Read access: MODULbus number (hex switch)
33  * Write access: interrupt enable
34  */
37 
38  /* write-only */
41 
42  /* write-only */
45 
46  /* read-write access to serial EEPROM */
49 
50  /* write-only access to EEPROM chip select */
52 };
53 
54 #endif /* JANZ_H */