diff options
author | Holger Waechtler <devnull@localhost> | 2003-06-21 13:02:02 +0000 |
---|---|---|
committer | Holger Waechtler <devnull@localhost> | 2003-06-21 13:02:02 +0000 |
commit | 71bc5163fa9945b71e86d22e3a4127a7ba1091fc (patch) | |
tree | a93a3d5491ee420715f99a2155d4cee26e1b8aa5 /linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c | |
parent | b7df7335fc0cd7132912b1148c602cd757b50353 (diff) | |
download | mediapointer-dvb-s2-71bc5163fa9945b71e86d22e3a4127a7ba1091fc.tar.gz mediapointer-dvb-s2-71bc5163fa9945b71e86d22e3a4127a7ba1091fc.tar.bz2 |
code review, use adap->num instead of card_num field, card_num and dev_num are deprecated -- to be removed.
register network device for bt8xx cards
Diffstat (limited to 'linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c')
-rw-r--r-- | linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c index 9490e0cb4..1d47f90da 100644 --- a/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c +++ b/linux/drivers/media/dvb/bt8xx/dvb-bt8xx.c @@ -279,7 +279,9 @@ static int __init dvb_bt8xx_load(unsigned int bttv_nr, char *card_name, u32 gpio return result; } - + + dvb_net_init(card->adapter, &card->dvbnet, &card->demux.dmx); + dvb_bt8xx_tasklet.data = (long)card; card->bt->tasklet = &dvb_bt8xx_tasklet; @@ -305,6 +307,7 @@ static void dvb_bt8xx_close(void) bt878_stop(card->bt); + dvb_net_release(&card->dvbnet); card->demux.dmx.remove_frontend(&card->demux.dmx, &card->fe_mem); card->demux.dmx.remove_frontend(&card->demux.dmx, &card->fe_hw); dvb_dmxdev_release(&card->dmxdev); |