Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* SkyStar S2 PCI DVB-S/S2 card based on Conexant cx24120/cx24118 */
- #if FE_SUPPORTED(CX24120) && FE_SUPPORTED(ISL6421)
- static const struct cx24120_config skystar2_rev3_3_cx24120_config = {
- .i2c_addr = 0x55,
- .request_firmware = flexcop_fe_request_firmware,
- };
- static int skystarS2_rev33_attach(struct flexcop_device *fc, struct i2c_adapter *i2c)
- {
- // struct dvb_frontend_ops *ops;
- fc->fe = dvb_attach(cx24120_attach, &skystar2_rev3_3_cx24120_config, i2c);
- if (fc->fe == NULL) return 0;
- fc->dev_type = FC_SKYS2_REV33;
- fc->fc_i2c_adap[2].no_base_addr = 1;
- if ( (dvb_attach(isl6421_attach, fc->fe, &fc->fc_i2c_adap[2].i2c_adap, 0x08, 0, 0) == NULL) ) {
- err("ISL6421 could NOT be attached!");
- return 0;
- }
- info("ISL6421 successfully attached.");
- // ops = &fc->fe->ops;
- return 1;
- }
- #else
- #define skystarS2_rev33_attach NULL
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement