Commit 22cfc772 authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman

staging: comedi: das16: remove 'i8254_offset' from boardinfo

All the boards supported by this driver have an 8254 timer at offset
0x0c. Remove this unused information from the boardinfo.
Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: default avatarIan Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 46399a84
...@@ -247,7 +247,6 @@ struct das16_board { ...@@ -247,7 +247,6 @@ struct das16_board {
unsigned int has_ao:1; unsigned int has_ao:1;
unsigned int i8255_offset; unsigned int i8255_offset;
unsigned int i8254_offset;
unsigned int size; unsigned int size;
unsigned int id; unsigned int id;
...@@ -261,7 +260,6 @@ static const struct das16_board das16_boards[] = { ...@@ -261,7 +260,6 @@ static const struct das16_board das16_boards[] = {
.ai_pg = das16_pg_none, .ai_pg = das16_pg_none,
.has_ao = 1, .has_ao = 1,
.i8255_offset = 0x10, .i8255_offset = 0x10,
.i8254_offset = 0x0c,
.size = 0x14, .size = 0x14,
.id = 0x00, .id = 0x00,
}, { }, {
...@@ -271,7 +269,6 @@ static const struct das16_board das16_boards[] = { ...@@ -271,7 +269,6 @@ static const struct das16_board das16_boards[] = {
.ai_pg = das16_pg_none, .ai_pg = das16_pg_none,
.has_ao = 1, .has_ao = 1,
.i8255_offset = 0x10, .i8255_offset = 0x10,
.i8254_offset = 0x0c,
.size = 0x14, .size = 0x14,
.id = 0x00, .id = 0x00,
}, { }, {
...@@ -281,7 +278,6 @@ static const struct das16_board das16_boards[] = { ...@@ -281,7 +278,6 @@ static const struct das16_board das16_boards[] = {
.ai_pg = das16_pg_none, .ai_pg = das16_pg_none,
.has_ao = 1, .has_ao = 1,
.i8255_offset = 0x10, .i8255_offset = 0x10,
.i8254_offset = 0x0c,
.size = 0x14, .size = 0x14,
.id = 0x00, .id = 0x00,
}, { }, {
...@@ -291,7 +287,6 @@ static const struct das16_board das16_boards[] = { ...@@ -291,7 +287,6 @@ static const struct das16_board das16_boards[] = {
.ai_pg = das16_pg_none, .ai_pg = das16_pg_none,
.has_ao = 1, .has_ao = 1,
.i8255_offset = 0x10, .i8255_offset = 0x10,
.i8254_offset = 0x0c,
.size = 0x14, .size = 0x14,
.id = 0x80, .id = 0x80,
}, { }, {
...@@ -301,7 +296,6 @@ static const struct das16_board das16_boards[] = { ...@@ -301,7 +296,6 @@ static const struct das16_board das16_boards[] = {
.ai_pg = das16_pg_none, .ai_pg = das16_pg_none,
.has_ao = 1, .has_ao = 1,
.i8255_offset = 0x10, .i8255_offset = 0x10,
.i8254_offset = 0x0c,
.size = 0x14, .size = 0x14,
.id = 0x80, .id = 0x80,
}, { }, {
...@@ -310,7 +304,6 @@ static const struct das16_board das16_boards[] = { ...@@ -310,7 +304,6 @@ static const struct das16_board das16_boards[] = {
.ai_speed = 7692, .ai_speed = 7692,
.ai_pg = das16_pg_16jr, .ai_pg = das16_pg_16jr,
.i8255_offset = 0, .i8255_offset = 0,
.i8254_offset = 0x0c,
.size = 0x10, .size = 0x10,
.id = 0x00, .id = 0x00,
}, { }, {
...@@ -319,7 +312,6 @@ static const struct das16_board das16_boards[] = { ...@@ -319,7 +312,6 @@ static const struct das16_board das16_boards[] = {
.ai_speed = 3300, .ai_speed = 3300,
.ai_pg = das16_pg_16jr, .ai_pg = das16_pg_16jr,
.i8255_offset = 0, .i8255_offset = 0,
.i8254_offset = 0x0c,
.size = 0x10, .size = 0x10,
.id = 0x00, .id = 0x00,
}, { }, {
...@@ -328,7 +320,6 @@ static const struct das16_board das16_boards[] = { ...@@ -328,7 +320,6 @@ static const struct das16_board das16_boards[] = {
.ai_speed = 10000, .ai_speed = 10000,
.ai_pg = das16_pg_16jr_16, .ai_pg = das16_pg_16jr_16,
.i8255_offset = 0, .i8255_offset = 0,
.i8254_offset = 0x0c,
.size = 0x10, .size = 0x10,
.id = 0x00, .id = 0x00,
}, { }, {
...@@ -337,7 +328,6 @@ static const struct das16_board das16_boards[] = { ...@@ -337,7 +328,6 @@ static const struct das16_board das16_boards[] = {
.ai_speed = 10000, .ai_speed = 10000,
.ai_pg = das16_pg_16jr_16, .ai_pg = das16_pg_16jr_16,
.i8255_offset = 0, .i8255_offset = 0,
.i8254_offset = 0x0c,
.size = 0x10, .size = 0x10,
.id = 0x00, .id = 0x00,
}, { }, {
...@@ -346,7 +336,6 @@ static const struct das16_board das16_boards[] = { ...@@ -346,7 +336,6 @@ static const struct das16_board das16_boards[] = {
.ai_speed = 20000, .ai_speed = 20000,
.ai_pg = das16_pg_none, .ai_pg = das16_pg_none,
.i8255_offset = 0x400, .i8255_offset = 0x400,
.i8254_offset = 0x0c,
.size = 0x408, .size = 0x408,
.id = 0x20, .id = 0x20,
}, { }, {
...@@ -355,7 +344,6 @@ static const struct das16_board das16_boards[] = { ...@@ -355,7 +344,6 @@ static const struct das16_board das16_boards[] = {
.ai_speed = 10000, .ai_speed = 10000,
.ai_pg = das16_pg_none, .ai_pg = das16_pg_none,
.i8255_offset = 0x400, .i8255_offset = 0x400,
.i8254_offset = 0x0c,
.size = 0x408, .size = 0x408,
.id = 0x20, .id = 0x20,
}, { }, {
...@@ -364,7 +352,6 @@ static const struct das16_board das16_boards[] = { ...@@ -364,7 +352,6 @@ static const struct das16_board das16_boards[] = {
.ai_speed = 10000, .ai_speed = 10000,
.ai_pg = das16_pg_1601, .ai_pg = das16_pg_1601,
.i8255_offset = 0x0, .i8255_offset = 0x0,
.i8254_offset = 0x0c,
.size = 0x408, .size = 0x408,
.id = 0xc0, .id = 0xc0,
}, { }, {
...@@ -373,7 +360,6 @@ static const struct das16_board das16_boards[] = { ...@@ -373,7 +360,6 @@ static const struct das16_board das16_boards[] = {
.ai_speed = 10000, .ai_speed = 10000,
.ai_pg = das16_pg_1602, .ai_pg = das16_pg_1602,
.i8255_offset = 0x0, .i8255_offset = 0x0,
.i8254_offset = 0x0c,
.size = 0x408, .size = 0x408,
.id = 0xc0, .id = 0xc0,
}, { }, {
...@@ -383,7 +369,6 @@ static const struct das16_board das16_boards[] = { ...@@ -383,7 +369,6 @@ static const struct das16_board das16_boards[] = {
.ai_pg = das16_pg_1601, .ai_pg = das16_pg_1601,
.has_ao = 1, .has_ao = 1,
.i8255_offset = 0x400, .i8255_offset = 0x400,
.i8254_offset = 0x0c,
.size = 0x408, .size = 0x408,
.id = 0xc0, .id = 0xc0,
}, { }, {
...@@ -393,7 +378,6 @@ static const struct das16_board das16_boards[] = { ...@@ -393,7 +378,6 @@ static const struct das16_board das16_boards[] = {
.ai_pg = das16_pg_1602, .ai_pg = das16_pg_1602,
.has_ao = 1, .has_ao = 1,
.i8255_offset = 0x400, .i8255_offset = 0x400,
.i8254_offset = 0x0c,
.size = 0x408, .size = 0x408,
.id = 0xc0, .id = 0xc0,
}, { }, {
...@@ -402,7 +386,6 @@ static const struct das16_board das16_boards[] = { ...@@ -402,7 +386,6 @@ static const struct das16_board das16_boards[] = {
.ai_speed = 6250, .ai_speed = 6250,
.ai_pg = das16_pg_1601, .ai_pg = das16_pg_1601,
.i8255_offset = 0, .i8255_offset = 0,
.i8254_offset = 0x0c,
.size = 0x408, .size = 0x408,
.id = 0xc0, .id = 0xc0,
}, { }, {
...@@ -411,7 +394,6 @@ static const struct das16_board das16_boards[] = { ...@@ -411,7 +394,6 @@ static const struct das16_board das16_boards[] = {
.ai_speed = 6250, .ai_speed = 6250,
.ai_pg = das16_pg_1602, .ai_pg = das16_pg_1602,
.i8255_offset = 0, .i8255_offset = 0,
.i8254_offset = 0x0c,
.size = 0x408, .size = 0x408,
.id = 0xc0, .id = 0xc0,
}, { }, {
...@@ -420,7 +402,6 @@ static const struct das16_board das16_boards[] = { ...@@ -420,7 +402,6 @@ static const struct das16_board das16_boards[] = {
.ai_speed = 10000, .ai_speed = 10000,
.ai_pg = das16_pg_1602, .ai_pg = das16_pg_1602,
.i8255_offset = 0, .i8255_offset = 0,
.i8254_offset = 0x0c,
.size = 0x408, .size = 0x408,
.id = 0xc0, .id = 0xc0,
}, { }, {
...@@ -430,7 +411,6 @@ static const struct das16_board das16_boards[] = { ...@@ -430,7 +411,6 @@ static const struct das16_board das16_boards[] = {
.ai_pg = das16_pg_1601, .ai_pg = das16_pg_1601,
.has_ao = 1, .has_ao = 1,
.i8255_offset = 0x400, .i8255_offset = 0x400,
.i8254_offset = 0x0c,
.size = 0x408, .size = 0x408,
.id = 0xc0, .id = 0xc0,
}, { }, {
...@@ -440,7 +420,6 @@ static const struct das16_board das16_boards[] = { ...@@ -440,7 +420,6 @@ static const struct das16_board das16_boards[] = {
.ai_pg = das16_pg_1602, .ai_pg = das16_pg_1602,
.has_ao = 1, .has_ao = 1,
.i8255_offset = 0x400, .i8255_offset = 0x400,
.i8254_offset = 0x0c,
.size = 0x408, .size = 0x408,
.id = 0xc0, .id = 0xc0,
}, { }, {
...@@ -450,7 +429,6 @@ static const struct das16_board das16_boards[] = { ...@@ -450,7 +429,6 @@ static const struct das16_board das16_boards[] = {
.ai_pg = das16_pg_1602, .ai_pg = das16_pg_1602,
.has_ao = 1, .has_ao = 1,
.i8255_offset = 0x400, .i8255_offset = 0x400,
.i8254_offset = 0x0c,
.size = 0x408, .size = 0x408,
.id = 0xc0, .id = 0xc0,
}, { }, {
...@@ -459,7 +437,6 @@ static const struct das16_board das16_boards[] = { ...@@ -459,7 +437,6 @@ static const struct das16_board das16_boards[] = {
.ai_speed = 3030, .ai_speed = 3030,
.ai_pg = das16_pg_16jr, .ai_pg = das16_pg_16jr,
.i8255_offset = 0, .i8255_offset = 0,
.i8254_offset = 0x0c,
.size = 0x14, .size = 0x14,
.id = 0xf0, .id = 0xf0,
}, },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment