
how to get a new card going with saa7134
----------------------------------------

Whereas the saa713x chip is exactly the same on every card, there are
a number of different ways how the other stuff on the TV card can be
designed and wired, which tuner is installed, ...

Thus the driver has a list of known cards where that kind of
information is recorded.  It is in the saa7134-cards.c file.
Picking the matching entry works either by the PCI Subsystem ID (if
present) or by card=<n> insmod option.

If your card isn't known to the driver, you might have to add a new
entry.  You can also check first if one of the existing entries works.
Chances are not that bad that "card=1" will give reasonable results,
because that is the reference design from philips, i.e. what philips
hands out to TV cards developers as sample.  You can also overwrite
the tuner type via insmod option (tuner=<n>).

If nothing else works, you have to add a new entry to the card list.
Unfortunaly there is no general rule how to do that, it is mostly a
"trial-and-error" job.  If another card entry works partly for your
card you can use that one as starting point to simplify your work.


data structures
---------------

saa7134_boards[]
	this array has the actual config info.

	.audio_clock
		can beeither 0x00187de7 or 0x00200000.
	.tuner_type
		tuner type of that card.
	.gpiomask
		gpio register mask
	.inputs
		inputs of the card
	.input.vmux
		video mux value
	.input.amux
		audio mux value
	.input.tv
		this one is the tuner input
	.input.gpio
		gpio register value

	You might need the gpio stuff of there is some external mux
	chip connected to the gpio pins.

saa7134_pci_tbl[]
	this array has the PCI Subsystem IDs (for autodetecting cards).


mailing me changes
------------------

As unified diff please.  See "man diff" for details.  Really quick
guide: "diff -ur <original-dir> <modified-dir>".


HTH,

  Gerd

-- 
Gerd Knorr <kraxel@bytesex.org>
