Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 233369 Details for
Bug 301321
app-misc/lirc-0.8.6-r2 fails to compile with kernel 2.6.33-rc4 and gentoo-sources-2.6.33
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fixed lirc-0.8.6-i2c.patch
lirc-0.8.6-i2c.patch (text/plain), 2.04 KB, created by
Keith Harrison
on 2010-05-29 07:14:26 UTC
(
hide
)
Description:
Fixed lirc-0.8.6-i2c.patch
Filename:
MIME Type:
Creator:
Keith Harrison
Created:
2010-05-29 07:14:26 UTC
Size:
2.04 KB
patch
obsolete
>--- drivers/lirc_i2c/lirc_i2c.c 2009/08/30 16:59:53 1.70 >+++ drivers/lirc_i2c/lirc_i2c.c 2009/12/28 15:29:03 1.72 >@@ -399,8 +399,8 @@ > .name = "i2c ir driver", > }, > #endif >- .id = I2C_DRIVERID_EXP3, /* FIXME */ > #if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 31) >+ .id = I2C_DRIVERID_EXP3, /* FIXME */ > .attach_adapter = ir_probe, > .detach_client = ir_remove, > #else >@@ -492,20 +492,23 @@ > ir->l.add_to_buf = add_to_buf_pv951; > break; > case 0x71: >-#ifdef I2C_HW_B_CX2341X >- if (adap->id == (I2C_ALGO_BIT | I2C_HW_B_BT848) || >- adap->id == (I2C_ALGO_BIT | I2C_HW_B_CX2341X)) { >-#else >- if (adap->id == (I2C_ALGO_BIT | I2C_HW_B_BT848)) { >+ >+ >+ >+#ifdef I2C_HW_B_CX2388x >+ /* Leadtek Winfast PVR2000 or Hauppauge HVR-1300 */ >+ if (adap->id == (I2C_ALGO_BIT | I2C_HW_B_CX2388x)) >+ strlcpy(ir->c.name, "Hauppauge HVR1300", I2C_NAME_SIZE); >+ else > #endif >+ { > /* > * The PVR150 IR receiver uses the same protocol as > * other Hauppauge cards, but the data flow is > * different, so we need to deal with it by its own. > */ > strlcpy(ir->c.name, "Hauppauge PVR150", I2C_NAME_SIZE); >- } else /* I2C_HW_B_CX2388x */ >- strlcpy(ir->c.name, "Hauppauge HVR1300", I2C_NAME_SIZE); >+ } > ir->l.code_length = 13; > ir->l.add_to_buf = add_to_buf_haup_pvr150; > break; >@@ -516,19 +519,18 @@ > break; > case 0x18: > case 0x1a: >-#ifdef I2C_HW_B_CX2341X >- if (adap->id == (I2C_ALGO_BIT | I2C_HW_B_BT848) || >- adap->id == (I2C_ALGO_BIT | I2C_HW_B_CX2341X)) { >+#ifdef I2C_HW_B_CX2388x >+ if (adap->id == (I2C_ALGO_BIT | I2C_HW_B_CX2388x)) { >+ strlcpy(ir->c.name, "Leadtek IR", I2C_NAME_SIZE); >+ ir->l.code_length = 8; >+ ir->l.add_to_buf = add_to_buf_pvr2000; >+ } else { > #else >- if (adap->id == (I2C_ALGO_BIT | I2C_HW_B_BT848)) { >+ { > #endif > strlcpy(ir->c.name, "Hauppauge IR", I2C_NAME_SIZE); > ir->l.code_length = 13; > ir->l.add_to_buf = add_to_buf_haup; >- } else { /* I2C_HW_B_CX2388x */ >- strlcpy(ir->c.name, "Leadtek IR", I2C_NAME_SIZE); >- ir->l.code_length = 8; >- ir->l.add_to_buf = add_to_buf_pvr2000; > } > break; > case 0x30: >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 301321
:
221379
|
222423
|
226723
|
226725
|
228091
|
232391
| 233369 |
242641
|
243301