[media] saa7164: basic definitions for -encoder.c

Add the skeleton file, update the build environment, copyrights.

Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Steven Toth 2010-07-31 14:39:44 -03:00 committed by Mauro Carvalho Chehab
parent 2e75bcea00
commit 9b8b0199b8
14 changed files with 39 additions and 15 deletions

View File

@ -1,6 +1,6 @@
saa7164-objs := saa7164-cards.o saa7164-core.o saa7164-i2c.o saa7164-dvb.o \ saa7164-objs := saa7164-cards.o saa7164-core.o saa7164-i2c.o saa7164-dvb.o \
saa7164-fw.o saa7164-bus.o saa7164-cmd.o saa7164-api.o \ saa7164-fw.o saa7164-bus.o saa7164-cmd.o saa7164-api.o \
saa7164-buffer.o saa7164-buffer.o saa7164-encoder.o
obj-$(CONFIG_VIDEO_SAA7164) += saa7164.o obj-$(CONFIG_VIDEO_SAA7164) += saa7164.o

View File

@ -1,7 +1,7 @@
/* /*
* Driver for the NXP SAA7164 PCIe bridge * Driver for the NXP SAA7164 PCIe bridge
* *
* Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* Driver for the NXP SAA7164 PCIe bridge * Driver for the NXP SAA7164 PCIe bridge
* *
* Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* Driver for the NXP SAA7164 PCIe bridge * Driver for the NXP SAA7164 PCIe bridge
* *
* Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* Driver for the NXP SAA7164 PCIe bridge * Driver for the NXP SAA7164 PCIe bridge
* *
* Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* Driver for the NXP SAA7164 PCIe bridge * Driver for the NXP SAA7164 PCIe bridge
* *
* Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* Driver for the NXP SAA7164 PCIe bridge * Driver for the NXP SAA7164 PCIe bridge
* *
* Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* Driver for the NXP SAA7164 PCIe bridge * Driver for the NXP SAA7164 PCIe bridge
* *
* Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -0,0 +1,23 @@
/*
* Driver for the NXP SAA7164 PCIe bridge
*
* Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "saa7164.h"

View File

@ -1,7 +1,7 @@
/* /*
* Driver for the NXP SAA7164 PCIe bridge * Driver for the NXP SAA7164 PCIe bridge
* *
* Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -25,10 +25,10 @@
#include "saa7164.h" #include "saa7164.h"
#define SAA7164_REV2_FIRMWARE "v4l-saa7164-1.0.2.fw" #define SAA7164_REV2_FIRMWARE "v4l-saa7164-1.0.2.fw"
#define SAA7164_REV2_FIRMWARE_SIZE 3978608 #define SAA7164_REV2_FIRMWARE_SIZE 4001008
#define SAA7164_REV3_FIRMWARE "v4l-saa7164-1.0.3.fw" #define SAA7164_REV3_FIRMWARE "v4l-saa7164-1.0.3.fw"
#define SAA7164_REV3_FIRMWARE_SIZE 3978608 #define SAA7164_REV3_FIRMWARE_SIZE 4001088
struct fw_header { struct fw_header {
u32 firmwaresize; u32 firmwaresize;

View File

@ -1,7 +1,7 @@
/* /*
* Driver for the NXP SAA7164 PCIe bridge * Driver for the NXP SAA7164 PCIe bridge
* *
* Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* Driver for the NXP SAA7164 PCIe bridge * Driver for the NXP SAA7164 PCIe bridge
* *
* Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* Driver for the NXP SAA7164 PCIe bridge * Driver for the NXP SAA7164 PCIe bridge
* *
* Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by

View File

@ -1,7 +1,7 @@
/* /*
* Driver for the NXP SAA7164 PCIe bridge * Driver for the NXP SAA7164 PCIe bridge
* *
* Copyright (c) 2009 Steven Toth <stoth@kernellabs.com> * Copyright (c) 2010 Steven Toth <stoth@kernellabs.com>
* *
* This program is free software; you can redistribute it and/or modify * This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
@ -86,6 +86,7 @@
#define DBGLVL_BUS 128 #define DBGLVL_BUS 128
#define DBGLVL_IRQ 256 #define DBGLVL_IRQ 256
#define DBGLVL_BUF 512 #define DBGLVL_BUF 512
#define DBGLVL_ENC 1024
enum port_t { enum port_t {
SAA7164_MPEG_UNDEFINED = 0, SAA7164_MPEG_UNDEFINED = 0,