[bttv patch] AVEC InterCapture support

Adam Fritzler (mid@auk.cx)
Thu, 3 Jun 1999 05:08:50 +0000 (UTC)


This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

---1513193453-313779406-928386530=:13420
Content-Type: TEXT/PLAIN; charset=US-ASCII

This patch adds support for the Alps TSBH1 tuner and the bt848-based AVEC
InterCapture board, including very limited support for the TEA6320 audio
fader/mux.

Patch is against the 2.3.5 kernel.

mid

---
  Adam Fritzler
  { mid@auk.cx, afritz@iname.com}
    http://www.auk.cx/~mid/
   "Behold the power of cheese."  -- National Dairy Council

---1513193453-313779406-928386530=:13420 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="avecpatch-2.3.5.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.LNX.4.10.9906030508500.13420@auk.cx> Content-Description: Content-Disposition: attachment; filename="avecpatch-2.3.5.patch"

ZGlmZiAtciAtdSBsaW51eC1pYTMyLzIuMy41LmNsZWFuL2RyaXZlcnMvY2hh ci9idHR2LmMgbGludXgvZHJpdmVycy9jaGFyL2J0dHYuYw0KLS0tIGxpbnV4 LWlhMzIvMi4zLjUuY2xlYW4vZHJpdmVycy9jaGFyL2J0dHYuYwlXZWQgSnVu ICAyIDIyOjE0OjQ4IDE5OTkNCisrKyBsaW51eC9kcml2ZXJzL2NoYXIvYnR0 di5jCVdlZCBKdW4gIDIgMjI6MDU6MzYgMTk5OQ0KQEAgLTEsMyArMSw0IEBA DQorDQogLyogDQogICAgIGJ0dHYgLSBCdDg0OCBmcmFtZSBncmFiYmVyIGRy aXZlcg0KIA0KQEAgLTU0NSw2ICs1NDYsOCBAQA0KICAgICAgICAgeyAzLCA0 LCAwLCAyLCAweDAxZTAwMCwgeyAyLCAwLCAxLCAxfSwgezB4MDFjMDAwLCAw LCAweDAxODAwMCwgMHgwMTQwMDAsIDB4MDAyMDAwLCAwIH19LA0KICAgICAg ICAgLyogIkxlYWR0ZW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I2RlZmlu ZSBCVFRWX1dJTlZJRVdfNjAxICAgMHgxMQ0KKyNkZWZpbmUgQlRUVl9BVkVD X0lOVEVSQ0FQIDB4MTINCiANCiAjZGVmaW5lIEFVRElPX1RVTkVSICAgICAg ICAweDAwDQogI2RlZmluZSBBVURJT19SQURJTyAgICAgICAgMHgwMQ0KQEAg LTIyNSw2ICsyMjYsNyBAQA0KICNkZWZpbmUgVERBODQyNSAgICAgICAgICAg IDB4MDINCiAjZGVmaW5lIFREQTk4NDAgICAgICAgICAgICAweDAzDQogI2Rl ZmluZSBURUE2MzAwICAgICAgICAgICAgMHgwNA0KKyNkZWZpbmUgVEVBNjMy MCAgICAgICAgICAgIDB4MDUNCiANCiAjZGVmaW5lIEkyQ19UU0E1NTIyICAg ICAgICAweGMyDQogI2RlZmluZSBJMkNfVERBOTg0MAkgICAweDg0DQpAQCAt MjMzLDcgKzIzNSw3IEBADQogI2RlZmluZSBJMkNfSEFVUEVFICAgICAgICAg MHhhMA0KICNkZWZpbmUgSTJDX1NUQkVFICAgICAgICAgIDB4YWUNCiAjZGVm aW5lIEkyQ19WSFggCSAgIDB4YzANCi0jZGVmaW5lIEkyQ19URUE2MzAwICAg ICAgICAweDgwDQorI2RlZmluZSBJMkNfVEVBNjMwMCAgICAgICAgMHg4MCAv KiBzYW1lIGFzIFRFQTYzMjAgKi8NCiANCiAjZGVmaW5lIFREQTk4NDBfU1cJ ICAgMHgwMA0KICNkZWZpbmUgVERBOTg0MF9MVkFESgkgICAweDAyDQpAQCAt MjYwLDYgKzI2MiwyMiBAQA0KICNkZWZpbmUgVEVBNjMwMF9UUiAgICAgICAg IDB4MDMJCS8qIHRyZWJsZSBjb250cm9sICovDQogI2RlZmluZSBURUE2MzAw X0ZBICAgICAgICAgMHgwNAkJLyogZmFkZXIgY29udHJvbCAqLw0KICNkZWZp bmUgVEVBNjMwMF9TVyAgICAgICAgIDB4MDUJCS8qIG11dGUgYW5kIHNvdXJj ZSBzd2l0Y2ggKi8NCisNCisNCisjZGVmaW5lIFRFQTYzMjBfViAgICAgICAg ICAweDAwDQorI2RlZmluZSBURUE2MzIwX0ZGUiAgICAgICAgMHgwMSAgLyog dm9sdW1lIGZyb250IHJpZ2h0ICovDQorI2RlZmluZSBURUE2MzIwX0ZGTCAg ICAgICAgMHgwMiAgLyogdm9sdW1lIGZyb250IGxlZnQgKi8NCisjZGVmaW5l IFRFQTYzMjBfRlJSICAgICAgICAweDAzICAvKiB2b2x1bWUgcmVhciByaWdo dCAqLw0KKyNkZWZpbmUgVEVBNjMyMF9GUkwgICAgICAgIDB4MDQgIC8qIHZv bHVtZSByZWFyIGxlZnQgKi8NCisjZGVmaW5lIFRFQTYzMjBfQkEgICAgICAg ICAweDA1ICAvKiBiYXNzICovDQorI2RlZmluZSBURUE2MzIwX1RSICAgICAg ICAgMHgwNiAgLyogdHJlYmxlICovDQorI2RlZmluZSBURUE2MzIwX1MgICAg ICAgICAgMHgwNyAgLyogc3dpdGNoIHJlZ2lzdGVyICovDQorICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgLyogdmFsdWVzIGZvciB0aG9zZSBy ZWdpc3RlcnM6ICovDQorI2RlZmluZSBURUE2MzIwX1NfU0EgICAgICAgMHgw MSAgLyogc3RlcmVvIEEgaW5wdXQgKi8NCisjZGVmaW5lIFRFQTYzMjBfU19T QiAgICAgICAweDAyICAvKiBzdGVyZW8gQiAqLw0KKyNkZWZpbmUgVEVBNjMy MF9TX1NDICAgICAgIDB4MDQgIC8qIHN0ZXJlbyBDICovDQorI2RlZmluZSBU RUE2MzIwX1NfR01VICAgICAgMHg4MCAgLyogZ2VuZXJhbCBtdXRlICovDQor DQogDQogI2RlZmluZSBQVDIyNTRfTF9DSEFORUwgMHgxMA0KICNkZWZpbmUg UFQyMjU0X1JfQ0hBTkVMIDB4MDgNCmRpZmYgLXIgLXUgbGludXgtaWEzMi8y LjMuNS5jbGVhbi9kcml2ZXJzL2NoYXIvdHVuZXIuYyBsaW51eC9kcml2ZX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51eC9k cml2ZXJzL2NoYXIvdHVuZXIuaAlXZWQgSnVuICAyIDIwOjUxOjI1IDE5OTkN CkBAIC0zMSw2ICszMSw3IEBADQogI2RlZmluZSBUVU5FUl9URU1JQ19OVFND ICAgIDYNCiAjZGVmaW5lIFRVTkVSX1RFTUlDX1BBTF9JICAgNw0KICNkZWZp bmUgVFVORVJfVEVNSUNfNDAzNkZZNV9OVFNDCTgNCisjZGVmaW5lIFRVTkVS X0FMUFNfVFNCSDFfTlRTQyA5DQogDQogI2RlZmluZSBOT1RVTkVSIDANCiAj ZGVmaW5lIFBBTCAgICAgMQ0K ---1513193453-313779406-928386530=:13420--

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/