gnewsense-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gNewSense-users] KFV: possible firmware


From: Peter and Jesse
Subject: [gNewSense-users] KFV: possible firmware
Date: Thu, 19 Jun 2008 10:32:11 -0700

I found the following function in linux-ubuntu-modules
ubuntu/media/cx88/cx88-blackbird.c. Is this nonfree?
Also, are we only looking for tables like this? For example, I've also
found things like:
#define P1_MDATAO 0x390000

Thanks
 Peter

static void dvico_fusionhdtv_hybrid_init(struct cx88_core *core)
{
        struct i2c_msg msg = { .addr = 0x45, .flags = 0 };
        int i, err;
        static u8 init_bufs[13][5] = {
                { 0x10, 0x00, 0x20, 0x01, 0x03 },
                { 0x10, 0x10, 0x01, 0x00, 0x21 },
                { 0x10, 0x10, 0x10, 0x00, 0xCA },
                { 0x10, 0x10, 0x12, 0x00, 0x08 },
                { 0x10, 0x10, 0x13, 0x00, 0x0A },
                { 0x10, 0x10, 0x16, 0x01, 0xC0 },
                { 0x10, 0x10, 0x22, 0x01, 0x3D },
                { 0x10, 0x10, 0x73, 0x01, 0x2E },
                { 0x10, 0x10, 0x72, 0x00, 0xC5 },
                { 0x10, 0x10, 0x71, 0x01, 0x97 },
                { 0x10, 0x10, 0x70, 0x00, 0x0F },
                { 0x10, 0x10, 0xB0, 0x00, 0x01 },
                { 0x03, 0x0C },
        };

        for (i = 0; i < ARRAY_SIZE(init_bufs); i++) {
                msg.buf = init_bufs[i];
                msg.len = (i != 12 ? 5 : 2);
                err = i2c_transfer(&core->i2c_adap, &msg, 1);
                if (err != 1) {
                        printk("dvico_fusionhdtv_hybrid_init buf %d failed (err 
= %d)!\n", i,
err);
                        return;
                }
        }
}






reply via email to

[Prev in Thread] Current Thread [Next in Thread]