diff options
-rw-r--r-- | drivers/media/video/saa7164/Makefile | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164-api.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164-buffer.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164-bus.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164-cards.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164-cmd.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164-core.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164-dvb.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164-encoder.c | 23 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164-fw.c | 6 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164-i2c.c | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164-reg.h | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164-types.h | 2 | ||||
-rw-r--r-- | drivers/media/video/saa7164/saa7164.h | 3 |
14 files changed, 39 insertions, 15 deletions
diff --git a/drivers/media/video/saa7164/Makefile b/drivers/media/video/saa7164/Makefile index 4b329fd42add..e2b748007dbb 100644 --- a/drivers/media/video/saa7164/Makefile +++ b/drivers/media/video/saa7164/Makefile | |||
@@ -1,6 +1,6 @@ | |||
1 | saa7164-objs := saa7164-cards.o saa7164-core.o saa7164-i2c.o saa7164-dvb.o \ | 1 | saa7164-objs := saa7164-cards.o saa7164-core.o saa7164-i2c.o saa7164-dvb.o \ |
2 | saa7164-fw.o saa7164-bus.o saa7164-cmd.o saa7164-api.o \ | 2 | saa7164-fw.o saa7164-bus.o saa7164-cmd.o saa7164-api.o \ |
3 | saa7164-buffer.o | 3 | saa7164-buffer.o saa7164-encoder.o |
4 | 4 | ||
5 | obj-$(CONFIG_VIDEO_SAA7164) += saa7164.o | 5 | obj-$(CONFIG_VIDEO_SAA7164) += saa7164.o |
6 | 6 | ||
diff --git a/drivers/media/video/saa7164/saa7164-api.c b/drivers/media/video/saa7164/saa7164-api.c index 3f1262b00cc0..1702baad4f09 100644 --- a/drivers/media/video/saa7164/saa7164-api.c +++ b/drivers/media/video/saa7164/saa7164-api.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
3 | * | 3 | * |
4 | * Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/saa7164/saa7164-buffer.c b/drivers/media/video/saa7164/saa7164-buffer.c index ddd25d32723d..7a5c7d05c15a 100644 --- a/drivers/media/video/saa7164/saa7164-buffer.c +++ b/drivers/media/video/saa7164/saa7164-buffer.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
3 | * | 3 | * |
4 | * Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/saa7164/saa7164-bus.c b/drivers/media/video/saa7164/saa7164-bus.c index 83a04640a25a..49414c814859 100644 --- a/drivers/media/video/saa7164/saa7164-bus.c +++ b/drivers/media/video/saa7164/saa7164-bus.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
3 | * | 3 | * |
4 | * Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/saa7164/saa7164-cards.c b/drivers/media/video/saa7164/saa7164-cards.c index a3c299405f46..bd04ae0ce7d7 100644 --- a/drivers/media/video/saa7164/saa7164-cards.c +++ b/drivers/media/video/saa7164/saa7164-cards.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
3 | * | 3 | * |
4 | * Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/saa7164/saa7164-cmd.c b/drivers/media/video/saa7164/saa7164-cmd.c index 9c1d3ac43869..f33c0b533841 100644 --- a/drivers/media/video/saa7164/saa7164-cmd.c +++ b/drivers/media/video/saa7164/saa7164-cmd.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
3 | * | 3 | * |
4 | * Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/saa7164/saa7164-core.c b/drivers/media/video/saa7164/saa7164-core.c index e6aa0fbd1e91..1bd1e62f9896 100644 --- a/drivers/media/video/saa7164/saa7164-core.c +++ b/drivers/media/video/saa7164/saa7164-core.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
3 | * | 3 | * |
4 | * Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/saa7164/saa7164-dvb.c b/drivers/media/video/saa7164/saa7164-dvb.c index cf099c59b38e..4bae74567c92 100644 --- a/drivers/media/video/saa7164/saa7164-dvb.c +++ b/drivers/media/video/saa7164/saa7164-dvb.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
3 | * | 3 | * |
4 | * Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/saa7164/saa7164-encoder.c b/drivers/media/video/saa7164/saa7164-encoder.c new file mode 100644 index 000000000000..eae0e1b8a03e --- /dev/null +++ b/drivers/media/video/saa7164/saa7164-encoder.c | |||
@@ -0,0 +1,23 @@ | |||
1 | /* | ||
2 | * Driver for the NXP SAA7164 PCIe bridge | ||
3 | * | ||
4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or modify | ||
7 | * it under the terms of the GNU General Public License as published by | ||
8 | * the Free Software Foundation; either version 2 of the License, or | ||
9 | * (at your option) any later version. | ||
10 | * | ||
11 | * This program is distributed in the hope that it will be useful, | ||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | * | ||
15 | * GNU General Public License for more details. | ||
16 | * | ||
17 | * You should have received a copy of the GNU General Public License | ||
18 | * along with this program; if not, write to the Free Software | ||
19 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
20 | */ | ||
21 | |||
22 | #include "saa7164.h" | ||
23 | |||
diff --git a/drivers/media/video/saa7164/saa7164-fw.c b/drivers/media/video/saa7164/saa7164-fw.c index 270245d275ab..e09b1310edbc 100644 --- a/drivers/media/video/saa7164/saa7164-fw.c +++ b/drivers/media/video/saa7164/saa7164-fw.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
3 | * | 3 | * |
4 | * Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
@@ -25,10 +25,10 @@ | |||
25 | #include "saa7164.h" | 25 | #include "saa7164.h" |
26 | 26 | ||
27 | #define SAA7164_REV2_FIRMWARE "v4l-saa7164-1.0.2.fw" | 27 | #define SAA7164_REV2_FIRMWARE "v4l-saa7164-1.0.2.fw" |
28 | #define SAA7164_REV2_FIRMWARE_SIZE 3978608 | 28 | #define SAA7164_REV2_FIRMWARE_SIZE 4001008 |
29 | 29 | ||
30 | #define SAA7164_REV3_FIRMWARE "v4l-saa7164-1.0.3.fw" | 30 | #define SAA7164_REV3_FIRMWARE "v4l-saa7164-1.0.3.fw" |
31 | #define SAA7164_REV3_FIRMWARE_SIZE 3978608 | 31 | #define SAA7164_REV3_FIRMWARE_SIZE 4001088 |
32 | 32 | ||
33 | struct fw_header { | 33 | struct fw_header { |
34 | u32 firmwaresize; | 34 | u32 firmwaresize; |
diff --git a/drivers/media/video/saa7164/saa7164-i2c.c b/drivers/media/video/saa7164/saa7164-i2c.c index e1ae9b01bf0f..b5167d33650a 100644 --- a/drivers/media/video/saa7164/saa7164-i2c.c +++ b/drivers/media/video/saa7164/saa7164-i2c.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
3 | * | 3 | * |
4 | * Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/saa7164/saa7164-reg.h b/drivers/media/video/saa7164/saa7164-reg.h index 06be4c13d5b1..89af6d0ccbec 100644 --- a/drivers/media/video/saa7164/saa7164-reg.h +++ b/drivers/media/video/saa7164/saa7164-reg.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
3 | * | 3 | * |
4 | * Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/saa7164/saa7164-types.h b/drivers/media/video/saa7164/saa7164-types.h index 99093f23aae5..294ec35f1819 100644 --- a/drivers/media/video/saa7164/saa7164-types.h +++ b/drivers/media/video/saa7164/saa7164-types.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
3 | * | 3 | * |
4 | * Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/media/video/saa7164/saa7164.h b/drivers/media/video/saa7164/saa7164.h index 42660b546f0e..c4c62b0b83a0 100644 --- a/drivers/media/video/saa7164/saa7164.h +++ b/drivers/media/video/saa7164/saa7164.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* | 1 | /* |
2 | * Driver for the NXP SAA7164 PCIe bridge | 2 | * Driver for the NXP SAA7164 PCIe bridge |
3 | * | 3 | * |
4 | * Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> | 4 | * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com> |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
@@ -86,6 +86,7 @@ | |||
86 | #define DBGLVL_BUS 128 | 86 | #define DBGLVL_BUS 128 |
87 | #define DBGLVL_IRQ 256 | 87 | #define DBGLVL_IRQ 256 |
88 | #define DBGLVL_BUF 512 | 88 | #define DBGLVL_BUF 512 |
89 | #define DBGLVL_ENC 1024 | ||
89 | 90 | ||
90 | enum port_t { | 91 | enum port_t { |
91 | SAA7164_MPEG_UNDEFINED = 0, | 92 | SAA7164_MPEG_UNDEFINED = 0, |