36 #define DRIVER_NAME "B2C2 FlexcopII/II(b)/III digital TV receiver chip"
39 #ifdef CONFIG_DVB_B2C2_FLEXCOP_DEBUG
42 #define DEBSTATUS " (debugging is not enabled)"
49 "set debug level (1=info,2=tuner,4=i2c,8=ts,"
50 "16=sram,32=reg (|-able))."
59 static int flexcop_dvb_start_feed(
struct dvb_demux_feed *dvbdmxfeed)
65 static int flexcop_dvb_stop_feed(
struct dvb_demux_feed *dvbdmxfeed)
74 "FlexCop Digital TV device", fc->
owner,
77 err(
"error registering DVB adapter");
86 fc->
demux.start_feed = flexcop_dvb_start_feed;
87 fc->
demux.stop_feed = flexcop_dvb_stop_feed;
92 err(
"dvb_dmx failed: error %d", ret);
100 fc->
dmxdev.capabilities = 0;
103 err(
"dvb_dmxdev_init failed: error %d", ret);
109 err(
"adding hw_frontend to dmx failed: error %d", ret);
110 goto err_dmx_add_hw_frontend;
116 err(
"adding mem_frontend to dmx failed: error %d", ret);
117 goto err_dmx_add_mem_frontend;
122 err(
"connect frontend failed: error %d", ret);
123 goto err_connect_frontend;
128 err(
"dvb_net_init failed: error %d", ret);
136 fc->
demux.dmx.disconnect_frontend(&fc->
demux.dmx);
137 err_connect_frontend:
139 err_dmx_add_mem_frontend:
141 err_dmx_add_hw_frontend:
163 deb_info(
"deinitialized dvb stuff\n");
269 ret = flexcop_dvb_init(fc);
282 info(
"MAC address = %pM", b);
286 warn(
"reading of MAC address failed.\n");
305 flexcop_dvb_exit(fc);
309 static int flexcop_module_init(
void)
315 static void flexcop_module_cleanup(
void)