提交 f57b17c3 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB (13328): em28xx: Add chip ID for em2800

Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 fc099f0e
...@@ -2532,6 +2532,9 @@ static int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev, ...@@ -2532,6 +2532,9 @@ static int em28xx_init_dev(struct em28xx **devhandle, struct usb_device *udev,
dev->chip_id = retval; dev->chip_id = retval;
switch (dev->chip_id) { switch (dev->chip_id) {
case CHIP_ID_EM2800:
em28xx_info("chip ID is em2800\n");
break;
case CHIP_ID_EM2710: case CHIP_ID_EM2710:
em28xx_info("chip ID is em2710\n"); em28xx_info("chip ID is em2710\n");
break; break;
......
...@@ -192,6 +192,7 @@ ...@@ -192,6 +192,7 @@
/* FIXME: Need to be populated with the other chip ID's */ /* FIXME: Need to be populated with the other chip ID's */
enum em28xx_chip_id { enum em28xx_chip_id {
CHIP_ID_EM2800 = 7,
CHIP_ID_EM2710 = 17, CHIP_ID_EM2710 = 17,
CHIP_ID_EM2820 = 18, /* Also used by some em2710 */ CHIP_ID_EM2820 = 18, /* Also used by some em2710 */
CHIP_ID_EM2840 = 20, CHIP_ID_EM2840 = 20,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册