mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
more UTF-8 conversions
Signed-off-by: Adrian Bunk <bunk@kernel.org>
This commit is contained in:
parent
96de0e252c
commit
db955170d4
12 changed files with 16 additions and 16 deletions
|
@ -68,7 +68,7 @@ We have found some I2C devices that needs the following modifications:
|
||||||
|
|
||||||
Flags I2C_M_IGNORE_NAK
|
Flags I2C_M_IGNORE_NAK
|
||||||
Normally message is interrupted immediately if there is [NA] from the
|
Normally message is interrupted immediately if there is [NA] from the
|
||||||
client. Setting this flag treats any [NA] as [A], and all of
|
client. Setting this flag treats any [NA] as [A], and all of
|
||||||
message is sent.
|
message is sent.
|
||||||
These messages may still fail to SCL lo->hi timeout.
|
These messages may still fail to SCL lo->hi timeout.
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ static void __cpuinit check_cx686_slop(struct cpuinfo_x86 *c)
|
||||||
|
|
||||||
local_irq_save(flags);
|
local_irq_save(flags);
|
||||||
ccr3 = getCx86(CX86_CCR3);
|
ccr3 = getCx86(CX86_CCR3);
|
||||||
setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10); /* enable MAPEN */
|
setCx86(CX86_CCR3, (ccr3 & 0x0f) | 0x10); /* enable MAPEN */
|
||||||
ccr5 = getCx86(CX86_CCR5);
|
ccr5 = getCx86(CX86_CCR5);
|
||||||
if (ccr5 & 2)
|
if (ccr5 & 2)
|
||||||
setCx86(CX86_CCR5, ccr5 & 0xfd); /* reset SLOP */
|
setCx86(CX86_CCR5, ccr5 & 0xfd); /* reset SLOP */
|
||||||
|
|
|
@ -196,10 +196,10 @@ static int i2c_senddata(struct saa5246a_device *t, ...)
|
||||||
return i2c_sendbuf(t, buf[0], ct-1, buf+1);
|
return i2c_sendbuf(t, buf[0], ct-1, buf+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get count number of bytes from I²C-device at address adr, store them in buf.
|
/* Get count number of bytes from I²C-device at address adr, store them in buf.
|
||||||
* Start & stop handshaking is done by this routine, ack will be sent after the
|
* Start & stop handshaking is done by this routine, ack will be sent after the
|
||||||
* last byte to inhibit further sending of data. If uaccess is 'true', data is
|
* last byte to inhibit further sending of data. If uaccess is 'true', data is
|
||||||
* written to user-space with put_user. Returns -1 if I²C-device didn't send
|
* written to user-space with put_user. Returns -1 if I²C-device didn't send
|
||||||
* acknowledge, 0 otherwise
|
* acknowledge, 0 otherwise
|
||||||
*/
|
*/
|
||||||
static int i2c_getdata(struct saa5246a_device *t, int count, u8 *buf)
|
static int i2c_getdata(struct saa5246a_device *t, int count, u8 *buf)
|
||||||
|
|
|
@ -291,10 +291,10 @@ static int i2c_senddata(struct saa5249_device *t, ...)
|
||||||
return i2c_sendbuf(t, buf[0], ct-1, buf+1);
|
return i2c_sendbuf(t, buf[0], ct-1, buf+1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Get count number of bytes from I²C-device at address adr, store them in buf. Start & stop
|
/* Get count number of bytes from I²C-device at address adr, store them in buf. Start & stop
|
||||||
* handshaking is done by this routine, ack will be sent after the last byte to inhibit further
|
* handshaking is done by this routine, ack will be sent after the last byte to inhibit further
|
||||||
* sending of data. If uaccess is 'true', data is written to user-space with put_user.
|
* sending of data. If uaccess is 'true', data is written to user-space with put_user.
|
||||||
* Returns -1 if I²C-device didn't send acknowledge, 0 otherwise
|
* Returns -1 if I²C-device didn't send acknowledge, 0 otherwise
|
||||||
*/
|
*/
|
||||||
|
|
||||||
static int i2c_getdata(struct saa5249_device *t, int count, u8 *buf)
|
static int i2c_getdata(struct saa5249_device *t, int count, u8 *buf)
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
*
|
*
|
||||||
* Copyright (C) 2005 Narayanan R S <nars@kadamba.org>
|
* Copyright (C) 2005 Narayanan R S <nars@kadamba.org>
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001-2002 Alcôve <www.alcove.com>
|
* Copyright (C) 2001-2002 Alcôve <www.alcove.com>
|
||||||
*
|
*
|
||||||
* Copyright (C) 2001 Michael Ashley <m.ashley@unsw.edu.au>
|
* Copyright (C) 2001 Michael Ashley <m.ashley@unsw.edu.au>
|
||||||
*
|
*
|
||||||
|
|
|
@ -23,8 +23,8 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
* Thomas Hellström <thomas-at-tungstengraphics-dot-com>
|
* Thomas Hellström <thomas-at-tungstengraphics-dot-com>
|
||||||
* Michel Dänzer <michel-at-tungstengraphics-dot-com>
|
* Michel Dänzer <michel-at-tungstengraphics-dot-com>
|
||||||
* Alan Hourihane <alanh-at-tungstengraphics-dot-com>
|
* Alan Hourihane <alanh-at-tungstengraphics-dot-com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
*
|
*
|
||||||
* Authors:
|
* Authors:
|
||||||
* Thomas Hellström <thomas-at-tungstengraphics-dot-com>
|
* Thomas Hellström <thomas-at-tungstengraphics-dot-com>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _VERMILION_H_
|
#ifndef _VERMILION_H_
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
* published by the Free Software Foundation; either version 2 of
|
* published by the Free Software Foundation; either version 2 of
|
||||||
* the License, or (at your option) any later version.
|
* the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* Neither Dag Brattli nor University of Tromsø admit liability nor
|
* Neither Dag Brattli nor University of Tromsø admit liability nor
|
||||||
* provide warranty for any of this software. This material is
|
* provide warranty for any of this software. This material is
|
||||||
* provided "AS-IS" and at no charge.
|
* provided "AS-IS" and at no charge.
|
||||||
*
|
*
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
* published by the Free Software Foundation; either version 2 of
|
* published by the Free Software Foundation; either version 2 of
|
||||||
* the License, or (at your option) any later version.
|
* the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* Neither Dag Brattli nor University of Tromsø admit liability nor
|
* Neither Dag Brattli nor University of Tromsø admit liability nor
|
||||||
* provide warranty for any of this software. This material is
|
* provide warranty for any of this software. This material is
|
||||||
* provided "AS-IS" and at no charge.
|
* provided "AS-IS" and at no charge.
|
||||||
*
|
*
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
* published by the Free Software Foundation; either version 2 of
|
* published by the Free Software Foundation; either version 2 of
|
||||||
* the License, or (at your option) any later version.
|
* the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* Neither Dag Brattli nor University of Tromsø admit liability nor
|
* Neither Dag Brattli nor University of Tromsø admit liability nor
|
||||||
* provide warranty for any of this software. This material is
|
* provide warranty for any of this software. This material is
|
||||||
* provided "AS-IS" and at no charge.
|
* provided "AS-IS" and at no charge.
|
||||||
*
|
*
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
* published by the Free Software Foundation; either version 2 of
|
* published by the Free Software Foundation; either version 2 of
|
||||||
* the License, or (at your option) any later version.
|
* the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* Neither Dag Brattli nor University of Tromsø admit liability nor
|
* Neither Dag Brattli nor University of Tromsø admit liability nor
|
||||||
* provide warranty for any of this software. This material is
|
* provide warranty for any of this software. This material is
|
||||||
* provided "AS-IS" and at no charge.
|
* provided "AS-IS" and at no charge.
|
||||||
*
|
*
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/* (C) 1999 Jérôme de Vivie <devivie@info.enserb.u-bordeaux.fr>
|
/* (C) 1999 Jérôme de Vivie <devivie@info.enserb.u-bordeaux.fr>
|
||||||
* (C) 1999 Hervé Eychenne <eychenne@info.enserb.u-bordeaux.fr>
|
* (C) 1999 Hervé Eychenne <eychenne@info.enserb.u-bordeaux.fr>
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or modify
|
* This program is free software; you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License version 2 as
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
|
Loading…
Reference in a new issue