git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
drivers
/
message
/
i2o
/
i2o_proc.c
diff --git
a/drivers/message/i2o/i2o_proc.c
b/drivers/message/i2o/i2o_proc.c
index
b176d0e
..
a61cb17
100644
(file)
--- a/
drivers/message/i2o/i2o_proc.c
+++ b/
drivers/message/i2o/i2o_proc.c
@@
-28,7
+28,7
@@
*/
#define OSM_NAME "proc-osm"
*/
#define OSM_NAME "proc-osm"
-#define OSM_VERSION "
$Rev$
"
+#define OSM_VERSION "
1.316
"
#define OSM_DESCRIPTION "I2O ProcFS OSM"
#define I2O_MAX_MODULES 4
#define OSM_DESCRIPTION "I2O ProcFS OSM"
#define I2O_MAX_MODULES 4
@@
-56,7
+56,7
@@
typedef struct _i2o_proc_entry_t {
char *name; /* entry name */
mode_t mode; /* mode */
typedef struct _i2o_proc_entry_t {
char *name; /* entry name */
mode_t mode; /* mode */
-
struct file_operations *fops;
/* open function */
+
const struct file_operations *fops;
/* open function */
} i2o_proc_entry;
/* global I2O /proc/i2o entry */
} i2o_proc_entry;
/* global I2O /proc/i2o entry */
@@
-163,7
+163,7
@@
static int print_serial_number(struct seq_file *seq, u8 * serialno, int max_len)
* i2o_get_class_name - do i2o class name lookup
* @class: class number
*
* i2o_get_class_name - do i2o class name lookup
* @class: class number
*
- * Return a descriptive string for an i2o class
+ * Return a descriptive string for an i2o class
.
*/
static const char *i2o_get_class_name(int class)
{
*/
static const char *i2o_get_class_name(int class)
{
@@
-228,7
+228,7
@@
static const char *i2o_get_class_name(int class)
case I2O_CLASS_FLOPPY_DEVICE:
idx = 12;
break;
case I2O_CLASS_FLOPPY_DEVICE:
idx = 12;
break;
- case I2O_CLASS_BUS_ADAPTER
_PORT
:
+ case I2O_CLASS_BUS_ADAPTER:
idx = 13;
break;
case I2O_CLASS_PEER_TRANSPORT_AGENT:
idx = 13;
break;
case I2O_CLASS_PEER_TRANSPORT_AGENT:
@@
-490,7
+490,7
@@
static int i2o_seq_show_lct(struct seq_file *seq, void *v)
seq_printf(seq, ", Unknown Device Type");
break;
seq_printf(seq, ", Unknown Device Type");
break;
- case I2O_CLASS_BUS_ADAPTER
_PORT
:
+ case I2O_CLASS_BUS_ADAPTER:
if (lct->lct_entry[i].sub_class < BUS_TABLE_SIZE)
seq_printf(seq, ", %s",
bus_ports[lct->lct_entry[i].
if (lct->lct_entry[i].sub_class < BUS_TABLE_SIZE)
seq_printf(seq, ", %s",
bus_ports[lct->lct_entry[i].