V4L/DVB (13749): [Mantis CA] CA_SLAVE: Do not change Slave Configuration setup
authorManu Abraham <abraham.manu@gmail.com>
Fri, 4 Dec 2009 08:15:10 +0000 (05:15 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:55:35 +0000 (11:55 -0200)
(Need to sanitize this cleanly for different Slaves)

Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/mantis_hif.c

index 9e058be..d18fe41 100644 (file)
@@ -171,9 +171,11 @@ int mantis_hif_write_iom(struct mantis_ca *ca, u32 addr, u8 data)
 
 int mantis_hif_init(struct mantis_ca *ca)
 {
+       struct mantis_slot *slot = ca->slot;
        struct mantis_pci *mantis = ca->ca_priv;
        u32 irqcfg;
 
+       slot[0].slave_cfg = 0x70773028;
        dprintk(verbose, MANTIS_ERROR, 1, "Adapter(%d) Initializing Mantis Host Interface", mantis->num);
        init_waitqueue_head(&ca->hif_data_wq);
        init_waitqueue_head(&ca->hif_opdone_wq);