diff options
Diffstat (limited to 'linux/drivers/media/dvb/b2c2/flexcop-common.h')
-rw-r--r-- | linux/drivers/media/dvb/b2c2/flexcop-common.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/linux/drivers/media/dvb/b2c2/flexcop-common.h b/linux/drivers/media/dvb/b2c2/flexcop-common.h index 6a910ad42..534876d61 100644 --- a/linux/drivers/media/dvb/b2c2/flexcop-common.h +++ b/linux/drivers/media/dvb/b2c2/flexcop-common.h @@ -2,7 +2,7 @@ * This file is part of linux driver the digital TV devices equipped with B2C2 FlexcopII(b)/III * * flexcop-common.h - common header file for device-specific source files also. - * + * * see flexcop.c for copyright information. */ #ifndef __FLEXCOP_COMMON_H__ @@ -57,13 +57,12 @@ struct flexcop_device { int init_state; /* device information */ - u8 mac_address[6]; int has_32_hw_pid_filter; flexcop_revision_t rev; flexcop_device_type_t dev_type; flexcop_bus_t bus_type; - - /* dvb stuff */ + + /* dvb stuff */ struct dvb_adapter dvb_adapter; struct dvb_frontend *fe; struct dvb_net dvbnet; @@ -72,22 +71,22 @@ struct flexcop_device { struct dmx_frontend hw_frontend; struct dmx_frontend mem_frontend; int (*fe_sleep) (struct dvb_frontend *); - + struct i2c_adapter i2c_adap; struct semaphore i2c_sem; /* options and status */ int feedcount; int pid_filtering; - + /* bus specific callbacks */ flexcop_ibi_value (*read_ibi_reg) (struct flexcop_device *, flexcop_ibi_register); int (*write_ibi_reg) (struct flexcop_device *, flexcop_ibi_register, flexcop_ibi_value); - + int (*i2c_request) (struct flexcop_device*, flexcop_access_op_t, flexcop_i2c_port_t, u8 chipaddr, u8 addr, u8 *buf, u16 len); int (*stream_control) (struct flexcop_device*, int); - + int (*get_mac_addr) (struct flexcop_device *fc, int extended); void *bus_specific; @@ -123,7 +122,7 @@ int flexcop_eeprom_check_mac_addr(struct flexcop_device *fc, int extended); /* from flexcop-i2c.c */ /* the PCI part uses this a i2c_request callback, whereas the usb part has its own * one. We have it in flexcop-i2c.c, because it is going via the actual - * I2C-channel of the flexcop. + * I2C-channel of the flexcop. */ int flexcop_i2c_request(struct flexcop_device*, flexcop_access_op_t, flexcop_i2c_port_t, u8 chipaddr, u8 addr, u8 *buf, u16 len); |