Re: [PATCH] b44: fix eeprom endianess issue

2006-08-23 Thread Michael Buesch
On Wednesday 23 August 2006 18:55, Jeff Garzik wrote: > Michael Buesch wrote: > >> Please note that this test is only compile tested, as > >> I don't have a b44 device. > > >> @@ -2055,7 +2055,7 @@ > >>u16 *ptr = (u16 *) data; > >> > >>for (i = 0; i < 128; i += 2) > >> - ptr[i /

Re: [PATCH] b44: fix eeprom endianess issue

2006-08-23 Thread Jeff Garzik
Michael Buesch wrote: Please note that this test is only compile tested, as I don't have a b44 device. @@ -2055,7 +2055,7 @@ u16 *ptr = (u16 *) data; for (i = 0; i < 128; i += 2) - ptr[i / 2] = readw(bp->regs + 4096 + i); + ptr[i / 2] = cpu_to_le16(read

Re: [PATCH] b44: fix eeprom endianess issue

2006-08-23 Thread Michael Buesch
Oh, I think I should have CCed Jeff ;) Sorry. On Wednesday 23 August 2006 12:32, Michael Buesch wrote: > Hi Andrew, > > Please apply this patch to -mm for testing. > I think in the long term we want to convert b44 to use the > new ssb backend driver, which would also fix the issue, but > for now

[PATCH] b44: fix eeprom endianess issue

2006-08-23 Thread Michael Buesch
Hi Andrew, Please apply this patch to -mm for testing. I think in the long term we want to convert b44 to use the new ssb backend driver, which would also fix the issue, but for now I think this small fix is best. Please note that this test is only compile tested, as I don't have a b44 device. -