Age | Commit message (Collapse) | Author |
|
- coding style / formatting fixes (mostly whitespace)
|
|
- retab
|
|
- av7110.c: initialization and demux stuff
- av7110_hw.c: lowlevel hardware access and firmware interface
- av7110_ca.c: CI and ECD
- av7110_av.c: audio/video MPEG decoder and remuxing stuff
- av7110_v4l.c: v4l interface
It's all still ugly and needs lots of namespace and coding-style
cleanups. It's probably broken, too. But it's a start.
(My main motivation is easier porting to the V4 API).
|
|
|
|
into the driver. Saves 220KB vmem.
|
|
strucure, not the kernel version number
|
|
firmware again
- move fdump.c utility from "ttusb-dec" to "ttpci", it's not need by
"ttusb-dec" anymore, but by "ttpci" now
|
|
the firmware is still compiled into the driver for 2.4 by default,
the necessary files are created dynamically from the firmware file.
get it from http://www.linuxtv.org/download/dvb/dvb-ttpci-01.fw
- revamp fdump utility to be smarter when the source file isn't there
|
|
is a payload unit start or not.
|
|
|
|
|
|
- add "new" saa7146_wait_for_debi_done() function, remove other versions
from av7110 and budget.ci
- make budget-ci use this gpio function and the new wait_...() function,
therefore fix
BORROWED_FROM_AV7110_H_BUT_REALLY_BELONGS_IN_SAA7146_DEFS_H remark
|
|
|
|
- hopefully fix field handling for DVB-S cards with progressive mpeg
|
|
|
|
this automatically) as suggested by Linus Torvalds.
|
|
|
|
includes around) -- I don't care much about this...
|
|
|
|
- janitorial fixes (mostly return code handling)
- spelling fixes in Kconfig files
- line breaks to re-formatting
|
|
vbi experiments. This should fix the gargabe lines at the top
of the picture with the analog module. Sorry!
|
|
- fix init/exit of vbi capable devices
- add new flag SAA7146_USE_PORT_B_FOR_VBI, so we can distinguish
on which video port to apply the vbi workaround
- add del_timer(...) for vbi capture queue and vbi_read timers,
otherwise the kernel timer schedule oopses
- add vbi device handling for dvb-c cards with analog module
(does not work yet, have to setup the saa7113 decoder differently)
|
|
|
|
required, instead of parsing the subsystem id all the time.
The dvb-c detection has to be fixed nevertheless...
|
|
for spotting this!
|
|
- experimentally fix frequency offset
- initialize msp3400 for analog TV sound
|
|
|
|
by complete i-frames or partial p-frames. In any case, the av7110 needs
about 400kB of video data, before the internal video decoder starts
displaying anything. for stillframes, this is bad, so we *always*
loop writing the frame until the magic amount is reached. stupid, but
works...
|
|
to "dvb-kernel", change the av7110 driver accordingly.
|
|
check for the selected tuner, not if the currently selected channel
has a tuner.
|
|
|
|
|
|
of a per-extension information. This is needed for the DVB-C cards,
which seem to have swapped field order and need to propagate some
video4linux specific stuff for the analog module to work.
|
|
|
|
are deprecated -- to be removed.
register network device for bt8xx cards
|
|
Alan Cox reformatted the code to follow his coding style when
he fixed the merge bugs.
This patch now introduces these coding style changes, so
that we don't wipe out his changes with the next patchset.
|
|
(patch by Andrew de Quincey)
|
|
|
|
|
|
see DVB for tested version)
|
|
|
|
the picture is looking good now, although it seems that the fields
are still swapped. strange...
|
|
- if the analog module is detected, the saa7113 is initialized and
some more v4l2 ioctls are available. you can use "xawtv" now to
switch between "dvb" and "analog" input. when you are one the
"analog" input, you can tune in analog channels with the cursor
keys via v4l2.
currently, this is a big hack -- tuning is not mutually exclusive,
so "szap" and v4l2 tuning can interfere with each other. the
demodulator address is hardcoded to 0x09.
Other changes:
- changed the saa7146 ioctl parameters, give out the data of the
current device open "fh" (=> "file handle"), not the pointer to the
device structure "dev". It is "dev = fh->dev".
Some stuff does not work:
- analog audio does not work. does the msp3400 need to be reprogrammed?
- one field is "missing", so the picture is very bad and
capturing does not work neither. this needs to be investigated by
looking at the programming the windows driver uses for the saa7146
|
|
- change some includes
|
|
"kernel shape":
I mainly changed all "typedef struct foo_s {...} foo_t"
to "struct foo {}". Please don't start a policy war, I know the pros
cons of typedefs and structures.
We should, however, stick to the coding rules of the kernel: typedefed
structs are only used for opaque data types, where the internal
representation is irrelevant and we have get()/set() functions for
accessing them (ie. spinlock_t)
|
|
- void* arguments can only be casted safely to unsigned long
- some debug print fixes where types did not match
But: the debi stuff in av7110 needs to be rewritten, because
u32 arguments are used as pointers, too... 8-/
|
|
|
|
|
|
| if (crystal chip present)
| av7110->adac_type = DVB_ADAC_CRYSTAL;
| else if (MSP34xx chip present)
| av7110->adac_type = DVB_ADAC_MSP;
| else if (av7110->saa->device->subsystem_vendor == 0x110a)
| av7110->adac_type = DVB_ADAC_NONE;
| else
| av7110->adac_type = adac;
The adac parameter will only be used if the card cannot be
autodetected.
|
|
with DMX_OUT_TS_TAP (recording); return EBUSY instead
|