aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorDivy Le Ray <divy@chelsio.com>2007-01-30 22:44:35 -0500
committerJeff Garzik <jeff@garzik.org>2007-02-05 16:58:51 -0500
commit1d68e93d65d63814388d1a0b3de028de6dc27ae0 (patch)
tree9209a0b2d9fd346549d082cfef2418a537b893e0 /drivers/net
parenta13fbee086310cb99a73958943d4d8103bf52f3a (diff)
cxgb3 - Add dual licensing
Dual licensing, needed for OFED 1.2 Signed-off-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/cxgb3/adapter.h33
-rw-r--r--drivers/net/cxgb3/ael1002.c34
-rw-r--r--drivers/net/cxgb3/common.h34
-rw-r--r--drivers/net/cxgb3/cxgb3_ctl_defs.h34
-rw-r--r--drivers/net/cxgb3/cxgb3_defs.h4
-rw-r--r--drivers/net/cxgb3/cxgb3_ioctl.h34
-rw-r--r--drivers/net/cxgb3/cxgb3_main.c36
-rw-r--r--drivers/net/cxgb3/cxgb3_offload.c4
-rw-r--r--drivers/net/cxgb3/cxgb3_offload.h4
-rw-r--r--drivers/net/cxgb3/firmware_exports.h48
-rw-r--r--drivers/net/cxgb3/l2t.c4
-rw-r--r--drivers/net/cxgb3/l2t.h4
-rw-r--r--drivers/net/cxgb3/mc5.c34
-rw-r--r--drivers/net/cxgb3/sge.c38
-rw-r--r--drivers/net/cxgb3/t3_cpl.h34
-rw-r--r--drivers/net/cxgb3/t3_hw.c38
-rw-r--r--drivers/net/cxgb3/t3cdev.h3
-rw-r--r--drivers/net/cxgb3/version.h47
-rw-r--r--drivers/net/cxgb3/vsc8211.c34
-rw-r--r--drivers/net/cxgb3/xgmac.c34
20 files changed, 399 insertions, 136 deletions
diff --git a/drivers/net/cxgb3/adapter.h b/drivers/net/cxgb3/adapter.h
index 97e35c8fec6b..5c97a64451ce 100644
--- a/drivers/net/cxgb3/adapter.h
+++ b/drivers/net/cxgb3/adapter.h
@@ -1,12 +1,33 @@
1/* 1/*
2 * This file is part of the Chelsio T3 Ethernet driver for Linux. 2 * Copyright (c) 2003-2007 Chelsio, Inc. All rights reserved.
3 * 3 *
4 * Copyright (C) 2003-2006 Chelsio Communications. All rights reserved. 4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:
5 * 9 *
6 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * Redistribution and use in source and binary forms, with or
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * without modification, are permitted provided that the following
8 * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this 12 * conditions are met:
9 * release for licensing terms and conditions. 13 *
14 * - Redistributions of source code must retain the above
15 * copyright notice, this list of conditions and the following
16 * disclaimer.
17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
10 */ 31 */
11 32
12/* This file should not be included directly. Include common.h instead. */ 33/* This file should not be included directly. Include common.h instead. */
diff --git a/drivers/net/cxgb3/ael1002.c b/drivers/net/cxgb3/ael1002.c
index 93a90d825d85..73a41e6a5bfc 100644
--- a/drivers/net/cxgb3/ael1002.c
+++ b/drivers/net/cxgb3/ael1002.c
@@ -1,14 +1,34 @@
1/* 1/*
2 * This file is part of the Chelsio T3 Ethernet driver. 2 * Copyright (c) 2005-2007 Chelsio, Inc. All rights reserved.
3 * 3 *
4 * Copyright (C) 2005-2006 Chelsio Communications. All rights reserved. 4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:
5 * 9 *
6 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * Redistribution and use in source and binary forms, with or
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * without modification, are permitted provided that the following
8 * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this 12 * conditions are met:
9 * release for licensing terms and conditions. 13 *
14 * - Redistributions of source code must retain the above
15 * copyright notice, this list of conditions and the following
16 * disclaimer.
17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
10 */ 31 */
11
12#include "common.h" 32#include "common.h"
13#include "regs.h" 33#include "regs.h"
14 34
diff --git a/drivers/net/cxgb3/common.h b/drivers/net/cxgb3/common.h
index 60a979b62a65..e23deeb7d06d 100644
--- a/drivers/net/cxgb3/common.h
+++ b/drivers/net/cxgb3/common.h
@@ -1,14 +1,34 @@
1/* 1/*
2 * This file is part of the Chelsio T3 Ethernet driver. 2 * Copyright (c) 2005-2007 Chelsio, Inc. All rights reserved.
3 * 3 *
4 * Copyright (C) 2005-2006 Chelsio Communications. All rights reserved. 4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:
5 * 9 *
6 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * Redistribution and use in source and binary forms, with or
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * without modification, are permitted provided that the following
8 * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this 12 * conditions are met:
9 * release for licensing terms and conditions. 13 *
14 * - Redistributions of source code must retain the above
15 * copyright notice, this list of conditions and the following
16 * disclaimer.
17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
10 */ 31 */
11
12#ifndef __CHELSIO_COMMON_H 32#ifndef __CHELSIO_COMMON_H
13#define __CHELSIO_COMMON_H 33#define __CHELSIO_COMMON_H
14 34
diff --git a/drivers/net/cxgb3/cxgb3_ctl_defs.h b/drivers/net/cxgb3/cxgb3_ctl_defs.h
index 0fdc36529eb6..2095ddacff78 100644
--- a/drivers/net/cxgb3/cxgb3_ctl_defs.h
+++ b/drivers/net/cxgb3/cxgb3_ctl_defs.h
@@ -1,12 +1,34 @@
1/* 1/*
2 * Copyright (C) 2003-2006 Chelsio Communications. All rights reserved. 2 * Copyright (c) 2003-2007 Chelsio, Inc. All rights reserved.
3 * 3 *
4 * This program is distributed in the hope that it will be useful, but WITHOUT 4 * This software is available to you under a choice of one of two
5 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 5 * licenses. You may choose to be licensed under the terms of the GNU
6 * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this 6 * General Public License (GPL) Version 2, available from the file
7 * release for licensing terms and conditions. 7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:
9 *
10 * Redistribution and use in source and binary forms, with or
11 * without modification, are permitted provided that the following
12 * conditions are met:
13 *
14 * - Redistributions of source code must retain the above
15 * copyright notice, this list of conditions and the following
16 * disclaimer.
17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
8 */ 31 */
9
10#ifndef _CXGB3_OFFLOAD_CTL_DEFS_H 32#ifndef _CXGB3_OFFLOAD_CTL_DEFS_H
11#define _CXGB3_OFFLOAD_CTL_DEFS_H 33#define _CXGB3_OFFLOAD_CTL_DEFS_H
12 34
diff --git a/drivers/net/cxgb3/cxgb3_defs.h b/drivers/net/cxgb3/cxgb3_defs.h
index 82344c2bbc13..16e004990c59 100644
--- a/drivers/net/cxgb3/cxgb3_defs.h
+++ b/drivers/net/cxgb3/cxgb3_defs.h
@@ -1,6 +1,6 @@
1/* 1/*
2 * Copyright (c) 2006 Chelsio, Inc. All rights reserved. 2 * Copyright (c) 2006-2007 Chelsio, Inc. All rights reserved.
3 * Copyright (c) 2006 Open Grid Computing, Inc. All rights reserved. 3 * Copyright (c) 2006-2007 Open Grid Computing, Inc. All rights reserved.
4 * 4 *
5 * This software is available to you under a choice of one of two 5 * This software is available to you under a choice of one of two
6 * licenses. You may choose to be licensed under the terms of the GNU 6 * licenses. You may choose to be licensed under the terms of the GNU
diff --git a/drivers/net/cxgb3/cxgb3_ioctl.h b/drivers/net/cxgb3/cxgb3_ioctl.h
index 1ee77b28cdf2..a94281861a66 100644
--- a/drivers/net/cxgb3/cxgb3_ioctl.h
+++ b/drivers/net/cxgb3/cxgb3_ioctl.h
@@ -1,14 +1,34 @@
1/* 1/*
2 * This file is part of the Chelsio T3 Ethernet driver for Linux. 2 * Copyright (c) 2003-2007 Chelsio, Inc. All rights reserved.
3 * 3 *
4 * Copyright (C) 2003-2006 Chelsio Communications. All rights reserved. 4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:
5 * 9 *
6 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * Redistribution and use in source and binary forms, with or
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * without modification, are permitted provided that the following
8 * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this 12 * conditions are met:
9 * release for licensing terms and conditions. 13 *
14 * - Redistributions of source code must retain the above
15 * copyright notice, this list of conditions and the following
16 * disclaimer.
17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
10 */ 31 */
11
12#ifndef __CHIOCTL_H__ 32#ifndef __CHIOCTL_H__
13#define __CHIOCTL_H__ 33#define __CHIOCTL_H__
14 34
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c
index 7e7ee7ae177b..dfa035a1ad45 100644
--- a/drivers/net/cxgb3/cxgb3_main.c
+++ b/drivers/net/cxgb3/cxgb3_main.c
@@ -1,14 +1,34 @@
1/* 1/*
2 * This file is part of the Chelsio T3 Ethernet driver for Linux. 2 * Copyright (c) 2003-2007 Chelsio, Inc. All rights reserved.
3 * 3 *
4 * Copyright (C) 2003-2006 Chelsio Communications. All rights reserved. 4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:
5 * 9 *
6 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * Redistribution and use in source and binary forms, with or
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * without modification, are permitted provided that the following
8 * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this 12 * conditions are met:
9 * release for licensing terms and conditions. 13 *
14 * - Redistributions of source code must retain the above
15 * copyright notice, this list of conditions and the following
16 * disclaimer.
17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
10 */ 31 */
11
12#include <linux/module.h> 32#include <linux/module.h>
13#include <linux/moduleparam.h> 33#include <linux/moduleparam.h>
14#include <linux/init.h> 34#include <linux/init.h>
@@ -75,7 +95,7 @@ static const struct pci_device_id cxgb3_pci_tbl[] = {
75 95
76MODULE_DESCRIPTION(DRV_DESC); 96MODULE_DESCRIPTION(DRV_DESC);
77MODULE_AUTHOR("Chelsio Communications"); 97MODULE_AUTHOR("Chelsio Communications");
78MODULE_LICENSE("GPL"); 98MODULE_LICENSE("Dual BSD/GPL");
79MODULE_VERSION(DRV_VERSION); 99MODULE_VERSION(DRV_VERSION);
80MODULE_DEVICE_TABLE(pci, cxgb3_pci_tbl); 100MODULE_DEVICE_TABLE(pci, cxgb3_pci_tbl);
81 101
diff --git a/drivers/net/cxgb3/cxgb3_offload.c b/drivers/net/cxgb3/cxgb3_offload.c
index 3abd4d25c3b8..c3a02d613382 100644
--- a/drivers/net/cxgb3/cxgb3_offload.c
+++ b/drivers/net/cxgb3/cxgb3_offload.c
@@ -1,6 +1,6 @@
1/* 1/*
2 * Copyright (c) 2006 Chelsio, Inc. All rights reserved. 2 * Copyright (c) 2006-2007 Chelsio, Inc. All rights reserved.
3 * Copyright (c) 2006 Open Grid Computing, Inc. All rights reserved. 3 * Copyright (c) 2006-2007 Open Grid Computing, Inc. All rights reserved.
4 * 4 *
5 * This software is available to you under a choice of one of two 5 * This software is available to you under a choice of one of two
6 * licenses. You may choose to be licensed under the terms of the GNU 6 * licenses. You may choose to be licensed under the terms of the GNU
diff --git a/drivers/net/cxgb3/cxgb3_offload.h b/drivers/net/cxgb3/cxgb3_offload.h
index 7b7798384ae8..0e6beb69ba17 100644
--- a/drivers/net/cxgb3/cxgb3_offload.h
+++ b/drivers/net/cxgb3/cxgb3_offload.h
@@ -1,6 +1,6 @@
1/* 1/*
2 * Copyright (c) 2006 Chelsio, Inc. All rights reserved. 2 * Copyright (c) 2006-2007 Chelsio, Inc. All rights reserved.
3 * Copyright (c) 2006 Open Grid Computing, Inc. All rights reserved. 3 * Copyright (c) 2006-2007 Open Grid Computing, Inc. All rights reserved.
4 * 4 *
5 * This software is available to you under a choice of one of two 5 * This software is available to you under a choice of one of two
6 * licenses. You may choose to be licensed under the terms of the GNU 6 * licenses. You may choose to be licensed under the terms of the GNU
diff --git a/drivers/net/cxgb3/firmware_exports.h b/drivers/net/cxgb3/firmware_exports.h
index eea7d8940dc7..6a835f6a262a 100644
--- a/drivers/net/cxgb3/firmware_exports.h
+++ b/drivers/net/cxgb3/firmware_exports.h
@@ -1,27 +1,33 @@
1/* 1/*
2 * ---------------------------------------------------------------------------- 2 * Copyright (c) 2004-2007 Chelsio, Inc. All rights reserved.
3 * >>>>>>>>>>>>>>>>>>>>>>>>>>>>> COPYRIGHT NOTICE <<<<<<<<<<<<<<<<<<<<<<<<<<<<< 3 *
4 * ---------------------------------------------------------------------------- 4 * This software is available to you under a choice of one of two
5 * Copyright 2004 (C) Chelsio Communications, Inc. (Chelsio) 5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:
9 *
10 * Redistribution and use in source and binary forms, with or
11 * without modification, are permitted provided that the following
12 * conditions are met:
6 * 13 *
7 * Chelsio Communications, Inc. owns the sole copyright to this software. 14 * - Redistributions of source code must retain the above
8 * You may not make a copy, you may not derive works herefrom, and you may 15 * copyright notice, this list of conditions and the following
9 * not distribute this work to others. Other restrictions of rights may apply 16 * disclaimer.
10 * as well. This is unpublished, confidential information. All rights reserved.
11 * This software contains confidential information and trade secrets of Chelsio
12 * Communications, Inc. Use, disclosure, or reproduction is prohibited without
13 * the prior express written permission of Chelsio Communications, Inc.
14 * ----------------------------------------------------------------------------
15 * >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Warranty <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
16 * ----------------------------------------------------------------------------
17 * CHELSIO MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THE USE OF THIS
18 * SOFTWARE, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO, THE
19 * IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
20 * ----------------------------------------------------------------------------
21 * 17 *
22 * This is the firmware_exports.h header file, firmware interface defines. 18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
23 * 22 *
24 * Written January 2005 by felix marti (felix@chelsio.com) 23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
25 */ 31 */
26#ifndef _FIRMWARE_EXPORTS_H_ 32#ifndef _FIRMWARE_EXPORTS_H_
27#define _FIRMWARE_EXPORTS_H_ 33#define _FIRMWARE_EXPORTS_H_
diff --git a/drivers/net/cxgb3/l2t.c b/drivers/net/cxgb3/l2t.c
index 9997138a4fdc..3c0cb8557058 100644
--- a/drivers/net/cxgb3/l2t.c
+++ b/drivers/net/cxgb3/l2t.c
@@ -1,6 +1,6 @@
1/* 1/*
2 * Copyright (c) 2006 Chelsio, Inc. All rights reserved. 2 * Copyright (c) 2003-2007 Chelsio, Inc. All rights reserved.
3 * Copyright (c) 2006 Open Grid Computing, Inc. All rights reserved. 3 * Copyright (c) 2006-2007 Open Grid Computing, Inc. All rights reserved.
4 * 4 *
5 * This software is available to you under a choice of one of two 5 * This software is available to you under a choice of one of two
6 * licenses. You may choose to be licensed under the terms of the GNU 6 * licenses. You may choose to be licensed under the terms of the GNU
diff --git a/drivers/net/cxgb3/l2t.h b/drivers/net/cxgb3/l2t.h
index 51a9c1f2c58a..ba5d2cbd7241 100644
--- a/drivers/net/cxgb3/l2t.h
+++ b/drivers/net/cxgb3/l2t.h
@@ -1,6 +1,6 @@
1/* 1/*
2 * Copyright (c) 2006 Chelsio, Inc. All rights reserved. 2 * Copyright (c) 2003-2007 Chelsio, Inc. All rights reserved.
3 * Copyright (c) 2006 Open Grid Computing, Inc. All rights reserved. 3 * Copyright (c) 2006-2007 Open Grid Computing, Inc. All rights reserved.
4 * 4 *
5 * This software is available to you under a choice of one of two 5 * This software is available to you under a choice of one of two
6 * licenses. You may choose to be licensed under the terms of the GNU 6 * licenses. You may choose to be licensed under the terms of the GNU
diff --git a/drivers/net/cxgb3/mc5.c b/drivers/net/cxgb3/mc5.c
index 44fa9eaedcc3..644d62ea86a6 100644
--- a/drivers/net/cxgb3/mc5.c
+++ b/drivers/net/cxgb3/mc5.c
@@ -1,14 +1,34 @@
1/* 1/*
2 * This file is part of the Chelsio T3 Ethernet driver. 2 * Copyright (c) 2003-2007 Chelsio, Inc. All rights reserved.
3 * 3 *
4 * Copyright (C) 2003-2006 Chelsio Communications. All rights reserved. 4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:
5 * 9 *
6 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * Redistribution and use in source and binary forms, with or
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * without modification, are permitted provided that the following
8 * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this 12 * conditions are met:
9 * release for licensing terms and conditions. 13 *
14 * - Redistributions of source code must retain the above
15 * copyright notice, this list of conditions and the following
16 * disclaimer.
17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
10 */ 31 */
11
12#include "common.h" 32#include "common.h"
13#include "regs.h" 33#include "regs.h"
14 34
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c
index daef7fd00454..3f2cf8a07c61 100644
--- a/drivers/net/cxgb3/sge.c
+++ b/drivers/net/cxgb3/sge.c
@@ -1,14 +1,34 @@
1/* 1/*
2 * This file is part of the Chelsio T3 Ethernet driver. 2 * Copyright (c) 2005-2007 Chelsio, Inc. All rights reserved.
3 * 3 *
4 * Copyright (C) 2005-2006 Chelsio Communications. All rights reserved. 4 * This software is available to you under a choice of one of two
5 * 5 * licenses. You may choose to be licensed under the terms of the GNU
6 * This program is distributed in the hope that it will be useful, but WITHOUT 6 * General Public License (GPL) Version 2, available from the file
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 7 * COPYING in the main directory of this source tree, or the
8 * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this 8 * OpenIB.org BSD license below:
9 * release for licensing terms and conditions. 9 *
10 * Redistribution and use in source and binary forms, with or
11 * without modification, are permitted provided that the following
12 * conditions are met:
13 *
14 * - Redistributions of source code must retain the above
15 * copyright notice, this list of conditions and the following
16 * disclaimer.
17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
10 */ 31 */
11
12#include <linux/skbuff.h> 32#include <linux/skbuff.h>
13#include <linux/netdevice.h> 33#include <linux/netdevice.h>
14#include <linux/etherdevice.h> 34#include <linux/etherdevice.h>
diff --git a/drivers/net/cxgb3/t3_cpl.h b/drivers/net/cxgb3/t3_cpl.h
index b0df4ba94e02..b7a1a310dfd4 100644
--- a/drivers/net/cxgb3/t3_cpl.h
+++ b/drivers/net/cxgb3/t3_cpl.h
@@ -1,16 +1,34 @@
1/* 1/*
2 * Definitions of the CPL 5 commands and status codes. 2 * Copyright (c) 2004-2007 Chelsio, Inc. All rights reserved.
3 * 3 *
4 * Copyright (C) 2004-2006 Chelsio Communications. All rights reserved. 4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:
5 * 9 *
6 * Written by Dimitris Michailidis (dm@chelsio.com) 10 * Redistribution and use in source and binary forms, with or
11 * without modification, are permitted provided that the following
12 * conditions are met:
7 * 13 *
8 * This program is distributed in the hope that it will be useful, but WITHOUT 14 * - Redistributions of source code must retain the above
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 15 * copyright notice, this list of conditions and the following
10 * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this 16 * disclaimer.
11 * release for licensing terms and conditions. 17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
12 */ 31 */
13
14#ifndef T3_CPL_H 32#ifndef T3_CPL_H
15#define T3_CPL_H 33#define T3_CPL_H
16 34
diff --git a/drivers/net/cxgb3/t3_hw.c b/drivers/net/cxgb3/t3_hw.c
index 35a7fab33ac3..365a7f5b1f94 100644
--- a/drivers/net/cxgb3/t3_hw.c
+++ b/drivers/net/cxgb3/t3_hw.c
@@ -1,14 +1,34 @@
1/* 1/*
2 * This file is part of the Chelsio T3 Ethernet driver. 2 * Copyright (c) 2003-2007 Chelsio, Inc. All rights reserved.
3 * 3 *
4 * Copyright (C) 2003-2006 Chelsio Communications. All rights reserved. 4 * This software is available to you under a choice of one of two
5 * 5 * licenses. You may choose to be licensed under the terms of the GNU
6 * This program is distributed in the hope that it will be useful, but WITHOUT 6 * General Public License (GPL) Version 2, available from the file
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 7 * COPYING in the main directory of this source tree, or the
8 * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this 8 * OpenIB.org BSD license below:
9 * release for licensing terms and conditions. 9 *
10 * Redistribution and use in source and binary forms, with or
11 * without modification, are permitted provided that the following
12 * conditions are met:
13 *
14 * - Redistributions of source code must retain the above
15 * copyright notice, this list of conditions and the following
16 * disclaimer.
17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
10 */ 31 */
11
12#include "common.h" 32#include "common.h"
13#include "regs.h" 33#include "regs.h"
14#include "sge_defs.h" 34#include "sge_defs.h"
diff --git a/drivers/net/cxgb3/t3cdev.h b/drivers/net/cxgb3/t3cdev.h
index 359584e7d582..9af3bcd64b3b 100644
--- a/drivers/net/cxgb3/t3cdev.h
+++ b/drivers/net/cxgb3/t3cdev.h
@@ -1,5 +1,6 @@
1/* 1/*
2 * Copyright (C) 2003-2006 Chelsio Communications. All rights reserved. 2 * Copyright (C) 2006-2007 Chelsio Communications. All rights reserved.
3 * Copyright (C) 2006-2007 Open Grid Computing, Inc. All rights reserved.
3 * 4 *
4 * This software is available to you under a choice of one of two 5 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU 6 * licenses. You may choose to be licensed under the terms of the GNU
diff --git a/drivers/net/cxgb3/version.h b/drivers/net/cxgb3/version.h
index 1413ea37f415..2b67dd523cc1 100644
--- a/drivers/net/cxgb3/version.h
+++ b/drivers/net/cxgb3/version.h
@@ -1,19 +1,34 @@
1/***************************************************************************** 1/*
2 * * 2 * Copyright (c) 2003-2007 Chelsio, Inc. All rights reserved.
3 * File: * 3 *
4 * version.h * 4 * This software is available to you under a choice of one of two
5 * * 5 * licenses. You may choose to be licensed under the terms of the GNU
6 * Description: * 6 * General Public License (GPL) Version 2, available from the file
7 * Chelsio driver version defines. * 7 * COPYING in the main directory of this source tree, or the
8 * * 8 * OpenIB.org BSD license below:
9 * Copyright (c) 2003 - 2006 Chelsio Communications, Inc. * 9 *
10 * All rights reserved. * 10 * Redistribution and use in source and binary forms, with or
11 * * 11 * without modification, are permitted provided that the following
12 * Maintainers: maintainers@chelsio.com * 12 * conditions are met:
13 * * 13 *
14 * http://www.chelsio.com * 14 * - Redistributions of source code must retain the above
15 * * 15 * copyright notice, this list of conditions and the following
16 ****************************************************************************/ 16 * disclaimer.
17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
31 */
17/* $Date: 2006/10/31 18:57:51 $ $RCSfile: version.h,v $ $Revision: 1.3 $ */ 32/* $Date: 2006/10/31 18:57:51 $ $RCSfile: version.h,v $ $Revision: 1.3 $ */
18#ifndef __CHELSIO_VERSION_H 33#ifndef __CHELSIO_VERSION_H
19#define __CHELSIO_VERSION_H 34#define __CHELSIO_VERSION_H
diff --git a/drivers/net/cxgb3/vsc8211.c b/drivers/net/cxgb3/vsc8211.c
index 6a0a815b89c1..eee4285b31be 100644
--- a/drivers/net/cxgb3/vsc8211.c
+++ b/drivers/net/cxgb3/vsc8211.c
@@ -1,14 +1,34 @@
1/* 1/*
2 * This file is part of the Chelsio T3 Ethernet driver. 2 * Copyright (c) 2005-2007 Chelsio, Inc. All rights reserved.
3 * 3 *
4 * Copyright (C) 2005-2006 Chelsio Communications. All rights reserved. 4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:
5 * 9 *
6 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * Redistribution and use in source and binary forms, with or
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * without modification, are permitted provided that the following
8 * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this 12 * conditions are met:
9 * release for licensing terms and conditions. 13 *
14 * - Redistributions of source code must retain the above
15 * copyright notice, this list of conditions and the following
16 * disclaimer.
17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
10 */ 31 */
11
12#include "common.h" 32#include "common.h"
13 33
14/* VSC8211 PHY specific registers. */ 34/* VSC8211 PHY specific registers. */
diff --git a/drivers/net/cxgb3/xgmac.c b/drivers/net/cxgb3/xgmac.c
index 0f209c776929..907a272ae32d 100644
--- a/drivers/net/cxgb3/xgmac.c
+++ b/drivers/net/cxgb3/xgmac.c
@@ -1,14 +1,34 @@
1/* 1/*
2 * This file is part of the Chelsio T3 Ethernet driver. 2 * Copyright (c) 2005-2007 Chelsio, Inc. All rights reserved.
3 * 3 *
4 * Copyright (C) 2005-2006 Chelsio Communications. All rights reserved. 4 * This software is available to you under a choice of one of two
5 * licenses. You may choose to be licensed under the terms of the GNU
6 * General Public License (GPL) Version 2, available from the file
7 * COPYING in the main directory of this source tree, or the
8 * OpenIB.org BSD license below:
5 * 9 *
6 * This program is distributed in the hope that it will be useful, but WITHOUT 10 * Redistribution and use in source and binary forms, with or
7 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 11 * without modification, are permitted provided that the following
8 * FITNESS FOR A PARTICULAR PURPOSE. See the LICENSE file included in this 12 * conditions are met:
9 * release for licensing terms and conditions. 13 *
14 * - Redistributions of source code must retain the above
15 * copyright notice, this list of conditions and the following
16 * disclaimer.
17 *
18 * - Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
22 *
23 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
24 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
25 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
27 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
29 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
30 * SOFTWARE.
10 */ 31 */
11
12#include "common.h" 32#include "common.h"
13#include "regs.h" 33#include "regs.h"
14 34