From c3f9d0063ff07423d968ce80d144d0be5f99691d Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Mon, 19 Dec 2005 14:30:52 +0000 Subject: Correctly attribute Bernard Leach as the (C) holder for code taken from ipodlinux. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8264 a1c6a512-1295-4272-9138-f99709370657 --- firmware/drivers/button.c | 6 ++++++ firmware/drivers/i2c-pp5020.c | 9 ++++++++- firmware/drivers/lcd-ipod.c | 9 ++++++--- firmware/drivers/lcd-ipodvideo.c | 9 ++++++--- firmware/drivers/pcf50605.c | 9 +++++++-- firmware/drivers/wm8975.c | 9 +++++++-- firmware/export/wm8975.h | 1 + 7 files changed, 41 insertions(+), 11 deletions(-) (limited to 'firmware') diff --git a/firmware/drivers/button.c b/firmware/drivers/button.c index 15276a985e..983941c048 100644 --- a/firmware/drivers/button.c +++ b/firmware/drivers/button.c @@ -9,6 +9,12 @@ * * Copyright (C) 2002 by Daniel Stenberg * + * iPod driver based on code from the ipodlinux project - http://ipodlinux.org + * Adapted for Rockbox in December 2005 + * Original file: linux/arch/armnommu/mach-ipod/keyboard.c + * Copyright (c) 2003-2005 Bernard Leach (leachbj@bouncycastle.org) + * + * * All files in this archive are subject to the GNU General Public License. * See the file COPYING in the source tree root for full license agreement. * diff --git a/firmware/drivers/i2c-pp5020.c b/firmware/drivers/i2c-pp5020.c index ec6bcef0cd..fccaffc571 100644 --- a/firmware/drivers/i2c-pp5020.c +++ b/firmware/drivers/i2c-pp5020.c @@ -7,7 +7,14 @@ * \/ \/ \/ \/ \/ * $Id$ * - * Copyright (C) 2005 by Dave Chapman + * PP5020 I2C driver + * + * Based on code from the ipodlinux project - http://ipodlinux.org/ + * Adapted for Rockbox in November 2005 + * + * Original file: linux/arch/armnommu/mach-ipod/hardware.c + * + * Copyright (c) 2003-2005 Bernard Leach (leachbj@bouncycastle.org) * * All files in this archive are subject to the GNU General Public License. * See the file COPYING in the source tree root for full license agreement. diff --git a/firmware/drivers/lcd-ipod.c b/firmware/drivers/lcd-ipod.c index 8aa5130c86..154158c6ad 100644 --- a/firmware/drivers/lcd-ipod.c +++ b/firmware/drivers/lcd-ipod.c @@ -7,11 +7,14 @@ * \/ \/ \/ \/ \/ * $Id$ * - * Copyright (C) 2005 by Dave Chapman - * * Rockbox driver for iPod LCDs * - * Based on code from ipodlinux - http://ipodlinux.org + * Based on code from the ipodlinux project - http://ipodlinux.org/ + * Adapted for Rockbox in November 2005 + * + * Original file: linux/arch/armnommu/mach-ipod/fb.c + * + * Copyright (c) 2003-2005 Bernard Leach (leachbj@bouncycastle.org) * * All files in this archive are subject to the GNU General Public License. * See the file COPYING in the source tree root for full license agreement. diff --git a/firmware/drivers/lcd-ipodvideo.c b/firmware/drivers/lcd-ipodvideo.c index 519f185311..096e8edd71 100644 --- a/firmware/drivers/lcd-ipodvideo.c +++ b/firmware/drivers/lcd-ipodvideo.c @@ -7,11 +7,14 @@ * \/ \/ \/ \/ \/ * $Id$ * - * Copyright (C) 2005 by Dave Chapman + * LCD driver for iPod Video + * + * Based on code from the ipodlinux project - http://ipodlinux.org/ + * Adapted for Rockbox in December 2005 * - * Rockbox driver for iPod Video LCDs + * Original file: linux/arch/armnommu/mach-ipod/fb.c * - * Based on code from ipodlinux - http://ipodlinux.org + * Copyright (c) 2003-2005 Bernard Leach (leachbj@bouncycastle.org) * * All files in this archive are subject to the GNU General Public License. * See the file COPYING in the source tree root for full license agreement. diff --git a/firmware/drivers/pcf50605.c b/firmware/drivers/pcf50605.c index 87ef9576b6..c7a8db5941 100644 --- a/firmware/drivers/pcf50605.c +++ b/firmware/drivers/pcf50605.c @@ -7,9 +7,14 @@ * \/ \/ \/ \/ \/ * $Id$ * - * Copyright (C) 2005 by Dave Chapman + * Driver for pcf50605 PMU and RTC * - * Based on code from the iPodLinux project (C) 2004-2005 Bernard Leach + * Based on code from the ipodlinux project - http://ipodlinux.org/ + * Adapted for Rockbox in December 2005 + * + * Original file: linux/arch/armnommu/mach-ipod/pcf50605.c + * + * Copyright (c) 2003-2005 Bernard Leach (leachbj@bouncycastle.org) * * All files in this archive are subject to the GNU General Public License. * See the file COPYING in the source tree root for full license agreement. diff --git a/firmware/drivers/wm8975.c b/firmware/drivers/wm8975.c index 18a81fb6ba..802bcfa72b 100644 --- a/firmware/drivers/wm8975.c +++ b/firmware/drivers/wm8975.c @@ -7,9 +7,14 @@ * \/ \/ \/ \/ \/ * $Id$ * - * Copyright (C) 2005 by Dave Chapman + * Driver for WM8975 audio codec * - * Based on code from the iPodLinux project (C) 2003-2005 Bernard Leach + * Based on code from the ipodlinux project - http://ipodlinux.org/ + * Adapted for Rockbox in December 2005 + * + * Original file: linux/arch/armnommu/mach-ipod/audio.c + * + * Copyright (c) 2003-2005 Bernard Leach (leachbj@bouncycastle.org) * * All files in this archive are subject to the GNU General Public License. * See the file COPYING in the source tree root for full license agreement. diff --git a/firmware/export/wm8975.h b/firmware/export/wm8975.h index c2dcee2a2c..832500445c 100644 --- a/firmware/export/wm8975.h +++ b/firmware/export/wm8975.h @@ -24,6 +24,7 @@ extern void wm8975_reset(void); extern int wm8975_init(void); extern void wm8975_enable_output(bool enable); extern int wm8975_set_master_vol(int vol_l, int vol_r); +extern void wm8975_get_master_vol(int* vol_l, int* vol_r); extern int wm8975_set_mixer_vol(int channel1, int channel2); extern void wm8975_set_bass(int value); extern void wm8975_set_treble(int value); -- cgit v1.2.3