提交 a8a1f8cc 编写于 作者: D Devin Heitmueller 提交者: Mauro Carvalho Chehab

V4L/DVB (8018): Add em2860 chip ID

em28xx-cards.c
em28xx-reg.h
 - Add em2860 chip ID (seen on Pointnix Intra-Oral Camera)
   http://www.pointnix.com/ENG/dental/product_02.aspSigned-off-by: NDevin Heitmueller <devin.heitmueller@gmail.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@infradead.org>
上级 df619181
...@@ -525,6 +525,9 @@ void em28xx_pre_card_setup(struct em28xx *dev) ...@@ -525,6 +525,9 @@ void em28xx_pre_card_setup(struct em28xx *dev)
rc = em28xx_read_reg(dev, EM28XX_R0A_CHIPID); rc = em28xx_read_reg(dev, EM28XX_R0A_CHIPID);
if (rc > 0) { if (rc > 0) {
switch (rc) { switch (rc) {
case CHIP_ID_EM2860:
em28xx_info("chip ID is em2860\n");
break;
case CHIP_ID_EM2883: case CHIP_ID_EM2883:
em28xx_info("chip ID is em2882/em2883\n"); em28xx_info("chip ID is em2882/em2883\n");
dev->wait_after_write = 0; dev->wait_after_write = 0;
......
...@@ -84,5 +84,6 @@ ...@@ -84,5 +84,6 @@
/* 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_EM2860 = 34,
CHIP_ID_EM2883 = 36, CHIP_ID_EM2883 = 36,
}; };
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册