From 0aec00ae1c39b0adaa6e958a4e0119cfc12d884b Mon Sep 17 00:00:00 2001 From: "John W. Linville" Date: Tue, 12 Jun 2007 22:11:42 -0400 Subject: [PATCH] [PATCH] rtl8187: add header blocks and indicate origin of magic values Add top-of-file comment blocks to rtl818x headers and attribute origin of magic values to original r8187 driver. Signed-off-by: John W. Linville --- drivers/net/wireless/rtl8187.h | 14 ++++++++++++++ drivers/net/wireless/rtl8187_dev.c | 4 ++-- drivers/net/wireless/rtl8187_rtl8225.c | 5 +++-- drivers/net/wireless/rtl8187_rtl8225.h | 14 ++++++++++++++ drivers/net/wireless/rtl818x.h | 14 ++++++++++++++ 5 files changed, 47 insertions(+), 4 deletions(-) diff --git a/drivers/net/wireless/rtl8187.h b/drivers/net/wireless/rtl8187.h index 41d0aac3e2..6124e467b1 100644 --- a/drivers/net/wireless/rtl8187.h +++ b/drivers/net/wireless/rtl8187.h @@ -1,3 +1,17 @@ +/* + * Definitions for RTL8187 hardware + * + * Copyright 2007 Michael Wu + * Copyright 2007 Andrea Merello + * + * Based on the r8187 driver, which is: + * Copyright 2005 Andrea Merello , et al. + * + * 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 + * published by the Free Software Foundation. + */ + #ifndef RTL8187_H #define RTL8187_H diff --git a/drivers/net/wireless/rtl8187_dev.c b/drivers/net/wireless/rtl8187_dev.c index 83656107b9..cea85894b7 100644 --- a/drivers/net/wireless/rtl8187_dev.c +++ b/drivers/net/wireless/rtl8187_dev.c @@ -1,4 +1,3 @@ - /* * Linux device driver for RTL8187 * @@ -8,7 +7,8 @@ * Based on the r8187 driver, which is: * Copyright 2005 Andrea Merello , et al. * - * Thanks to Realtek for their support! + * Magic delays and register offsets below are taken from the original + * r8187 driver sources. Thanks to Realtek for their support! * * 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 diff --git a/drivers/net/wireless/rtl8187_rtl8225.c b/drivers/net/wireless/rtl8187_rtl8225.c index c3f5bf543c..e25a09f1b0 100644 --- a/drivers/net/wireless/rtl8187_rtl8225.c +++ b/drivers/net/wireless/rtl8187_rtl8225.c @@ -1,4 +1,3 @@ - /* * Radio tuning for RTL8225 on RTL8187 * @@ -8,7 +7,9 @@ * Based on the r8187 driver, which is: * Copyright 2005 Andrea Merello , et al. * - * Thanks to Realtek for their support! + * Magic delays, register offsets, and phy value tables below are + * taken from the original r8187 driver sources. Thanks to Realtek + * for their support! * * 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 diff --git a/drivers/net/wireless/rtl8187_rtl8225.h b/drivers/net/wireless/rtl8187_rtl8225.h index ed28118653..798ba4a973 100644 --- a/drivers/net/wireless/rtl8187_rtl8225.h +++ b/drivers/net/wireless/rtl8187_rtl8225.h @@ -1,3 +1,17 @@ +/* + * Radio tuning definitions for RTL8225 on RTL8187 + * + * Copyright 2007 Michael Wu + * Copyright 2007 Andrea Merello + * + * Based on the r8187 driver, which is: + * Copyright 2005 Andrea Merello , et al. + * + * 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 + * published by the Free Software Foundation. + */ + #ifndef RTL8187_RTL8225_H #define RTL8187_RTL8225_H diff --git a/drivers/net/wireless/rtl818x.h b/drivers/net/wireless/rtl818x.h index e4ee946e1d..283de30628 100644 --- a/drivers/net/wireless/rtl818x.h +++ b/drivers/net/wireless/rtl818x.h @@ -1,3 +1,17 @@ +/* + * Definitions for RTL818x hardware + * + * Copyright 2007 Michael Wu + * Copyright 2007 Andrea Merello + * + * Based on the r8187 driver, which is: + * Copyright 2005 Andrea Merello , et al. + * + * 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 + * published by the Free Software Foundation. + */ + #ifndef RTL818X_H #define RTL818X_H -- 2.39.5