Commit 249b2be4 authored by Dominik Brodowski's avatar Dominik Brodowski Committed by Linus Torvalds

[PATCH] pcmcia: device model integration can only be submitted under GPL, part 2

As discussed previously, my integration of ds.c and cs.c with the driver model
can and will only be available under the GPL, as it's too much derived of
other buses' implementation of integration with the driver model.

cs_internal.h did only contain the MPL header before - I contacted Dave Hinds
because of this, and as far as he can tell, it was just an oversight that this
was not marked as dual-licensed as the other files are.
Signed-off-by: default avatarDominik Brodowski <linux@brodo.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 949d1af9
/*====================================================================== /*
* bulkmem.c -- 16-bit PCMCIA Bulk Memory Services
PCMCIA Bulk Memory Services *
* This program is free software; you can redistribute it and/or modify
bulkmem.c 1.38 2000/09/25 19:29:51 * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
The contents of this file are subject to the Mozilla Public *
License Version 1.1 (the "License"); you may not use this file * The initial developer of the original code is David A. Hinds
except in compliance with the License. You may obtain a copy of * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
the License at http://www.mozilla.org/MPL/ * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
*
Software distributed under the License is distributed on an "AS * (C) 1999 David A. Hinds
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or */
implied. See the License for the specific language governing
rights and limitations under the License.
The initial developer of the original code is David A. Hinds
<dahinds@users.sourceforge.net>. Portions created by David A. Hinds
are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
Alternatively, the contents of this file may be used under the
terms of the GNU General Public License version 2 (the "GPL"), in which
case the provisions of the GPL are applicable instead of the
above. If you wish to allow the use of your version of this file
only under the terms of the GPL and not to allow others to use
your version of this file under the MPL, indicate your decision
by deleting the provisions above and replace them with the notice
and other provisions required by the GPL. If you do not delete
the provisions above, a recipient may use your version of this
file under either the MPL or the GPL.
======================================================================*/
#include <linux/module.h> #include <linux/module.h>
#include <linux/kernel.h> #include <linux/kernel.h>
......
/*====================================================================== /*
* cardbus.c -- 16-bit PCMCIA core support
Cardbus device configuration *
* This program is free software; you can redistribute it and/or modify
cardbus.c 1.87 2002/10/24 06:11:41 * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
The contents of this file are subject to the Mozilla Public *
License Version 1.1 (the "License"); you may not use this file * The initial developer of the original code is David A. Hinds
except in compliance with the License. You may obtain a copy of * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
the License at http://www.mozilla.org/MPL/ * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
*
Software distributed under the License is distributed on an "AS * (C) 1999 David A. Hinds
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or */
implied. See the License for the specific language governing
rights and limitations under the License.
The initial developer of the original code is David A. Hinds
<dahinds@users.sourceforge.net>. Portions created by David A. Hinds
are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
Alternatively, the contents of this file may be used under the
terms of the GNU General Public License version 2 (the "GPL"), in which
case the provisions of the GPL are applicable instead of the
above. If you wish to allow the use of your version of this file
only under the terms of the GPL and not to allow others to use
your version of this file under the MPL, indicate your decision
by deleting the provisions above and replace them with the notice
and other provisions required by the GPL. If you do not delete
the provisions above, a recipient may use your version of this
file under either the MPL or the GPL.
======================================================================*/
/* /*
* Cardbus handling has been re-written to be more of a PCI bridge thing, * Cardbus handling has been re-written to be more of a PCI bridge thing,
......
/*====================================================================== /*
* cistpl.c -- 16-bit PCMCIA Card Information Structure parser
PCMCIA Card Information Structure parser *
* This program is free software; you can redistribute it and/or modify
cistpl.c 1.99 2002/10/24 06:11:48 * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
The contents of this file are subject to the Mozilla Public *
License Version 1.1 (the "License"); you may not use this file * The initial developer of the original code is David A. Hinds
except in compliance with the License. You may obtain a copy of * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
the License at http://www.mozilla.org/MPL/ * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
*
Software distributed under the License is distributed on an "AS * (C) 1999 David A. Hinds
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or */
implied. See the License for the specific language governing
rights and limitations under the License.
The initial developer of the original code is David A. Hinds
<dahinds@users.sourceforge.net>. Portions created by David A. Hinds
are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
Alternatively, the contents of this file may be used under the
terms of the GNU General Public License version 2 (the "GPL"), in
which case the provisions of the GPL are applicable instead of the
above. If you wish to allow the use of your version of this file
only under the terms of the GPL and not to allow others to use
your version of this file under the MPL, indicate your decision
by deleting the provisions above and replace them with the notice
and other provisions required by the GPL. If you do not delete
the provisions above, a recipient may use your version of this
file under either the MPL or the GPL.
======================================================================*/
#include <linux/config.h> #include <linux/config.h>
#include <linux/module.h> #include <linux/module.h>
......
/*====================================================================== /*
* cs.c -- Kernel Card Services - core services
Kernel Card Services -- core services *
* This program is free software; you can redistribute it and/or modify
cs.c 1.271 2000/10/02 20:27:49 * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
The contents of this file are subject to the Mozilla Public *
License Version 1.1 (the "License"); you may not use this file * The initial developer of the original code is David A. Hinds
except in compliance with the License. You may obtain a copy of * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
the License at http://www.mozilla.org/MPL/ * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
*
Software distributed under the License is distributed on an "AS * (C) 1999 David A. Hinds
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or */
implied. See the License for the specific language governing
rights and limitations under the License.
The initial developer of the original code is David A. Hinds
<dahinds@users.sourceforge.net>. Portions created by David A. Hinds
are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
Alternatively, the contents of this file may be used under the
terms of the GNU General Public License version 2 (the "GPL"), in which
case the provisions of the GPL are applicable instead of the
above. If you wish to allow the use of your version of this file
only under the terms of the GPL and not to allow others to use
your version of this file under the MPL, indicate your decision
by deleting the provisions above and replace them with the notice
and other provisions required by the GPL. If you do not delete
the provisions above, a recipient may use your version of this
file under either the MPL or the GPL.
======================================================================*/
#include <linux/module.h> #include <linux/module.h>
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
...@@ -92,7 +73,7 @@ static const char *options = "options: " OPTIONS; ...@@ -92,7 +73,7 @@ static const char *options = "options: " OPTIONS;
MODULE_AUTHOR("David Hinds <dahinds@users.sourceforge.net>"); MODULE_AUTHOR("David Hinds <dahinds@users.sourceforge.net>");
MODULE_DESCRIPTION("Linux Kernel Card Services\noptions:" OPTIONS); MODULE_DESCRIPTION("Linux Kernel Card Services\noptions:" OPTIONS);
MODULE_LICENSE("Dual MPL/GPL"); MODULE_LICENSE("GPL");
#define INT_MODULE_PARM(n, v) static int n = v; module_param(n, int, 0444) #define INT_MODULE_PARM(n, v) static int n = v; module_param(n, int, 0444)
......
/* /*
* cs_internal.h 1.57 2002/10/24 06:11:43 * cs_internal.h
* *
* The contents of this file are subject to the Mozilla Public License * This program is free software; you can redistribute it and/or modify
* Version 1.1 (the "License"); you may not use this file except in * it under the terms of the GNU General Public License version 2 as
* compliance with the License. You may obtain a copy of the License * published by the Free Software Foundation.
* at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and
* limitations under the License.
* *
* The initial developer of the original code is David A. Hinds * The initial developer of the original code is David A. Hinds
* <dahinds@users.sourceforge.net>. Portions created by David A. Hinds * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
* are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
*
* (C) 1999 David A. Hinds
*/ */
#ifndef _LINUX_CS_INTERNAL_H #ifndef _LINUX_CS_INTERNAL_H
......
/*====================================================================== /*
* rsrc_mgr.c -- Resource management routines
Resource management routines *
* This program is free software; you can redistribute it and/or modify
rsrc_mgr.c 1.79 2000/08/30 20:23:58 * it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
The contents of this file are subject to the Mozilla Public *
License Version 1.1 (the "License"); you may not use this file * The initial developer of the original code is David A. Hinds
except in compliance with the License. You may obtain a copy of * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
the License at http://www.mozilla.org/MPL/ * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
*
Software distributed under the License is distributed on an "AS * (C) 1999 David A. Hinds
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or */
implied. See the License for the specific language governing
rights and limitations under the License.
The initial developer of the original code is David A. Hinds
<dahinds@users.sourceforge.net>. Portions created by David A. Hinds
are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
Alternatively, the contents of this file may be used under the
terms of the GNU General Public License version 2 (the "GPL"), in which
case the provisions of the GPL are applicable instead of the
above. If you wish to allow the use of your version of this file
only under the terms of the GPL and not to allow others to use
your version of this file under the MPL, indicate your decision
by deleting the provisions above and replace them with the notice
and other provisions required by the GPL. If you do not delete
the provisions above, a recipient may use your version of this
file under either the MPL or the GPL.
======================================================================*/
#include <linux/config.h> #include <linux/config.h>
#include <linux/module.h> #include <linux/module.h>
......
/* /*
* Definitions for bulk memory services * bulkmem.h -- Definitions for bulk memory services
* *
* bulkmem.h 1.12 2000/06/12 21:55:41 * 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
* The contents of this file are subject to the Mozilla Public License * published by the Free Software Foundation.
* Version 1.1 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License
* at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and
* limitations under the License.
* *
* The initial developer of the original code is David A. Hinds * The initial developer of the original code is David A. Hinds
* <dahinds@users.sourceforge.net>. Portions created by David A. Hinds * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
* are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
* *
* Alternatively, the contents of this file may be used under the * (C) 1999 David A. Hinds
* terms of the GNU General Public License version 2 (the "GPL"), in which
* case the provisions of the GPL are applicable instead of the
* above. If you wish to allow the use of your version of this file
* only under the terms of the GPL and not to allow others to use
* your version of this file under the MPL, indicate your decision by
* deleting the provisions above and replace them with the notice and
* other provisions required by the GPL. If you do not delete the
* provisions above, a recipient may use your version of this file
* under either the MPL or the GPL.
* bulkmem.h 1.3 1995/05/27 04:49:49
*/ */
#ifndef _LINUX_BULKMEM_H #ifndef _LINUX_BULKMEM_H
......
/* /*
* ciscode.h 1.56 2002/10/25 06:37:30 * ciscode.h -- Definitions for bulk memory services
* *
* The contents of this file are subject to the Mozilla Public License * This program is free software; you can redistribute it and/or modify
* Version 1.1 (the "License"); you may not use this file except in * it under the terms of the GNU General Public License version 2 as
* compliance with the License. You may obtain a copy of the License * published by the Free Software Foundation.
* at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and
* limitations under the License.
* *
* The initial developer of the original code is David A. Hinds * The initial developer of the original code is David A. Hinds
* <dahinds@users.sourceforge.net>. Portions created by David A. Hinds * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
* are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
* *
* Alternatively, the contents of this file may be used under the * (C) 1999 David A. Hinds
* terms of the GNU General Public License version 2 (the "GPL"), in
* which case the provisions of the GPL are applicable instead of the
* above. If you wish to allow the use of your version of this file
* only under the terms of the GPL and not to allow others to use
* your version of this file under the MPL, indicate your decision by
* deleting the provisions above and replace them with the notice and
* other provisions required by the GPL. If you do not delete the
* provisions above, a recipient may use your version of this file
* under either the MPL or the GPL.
*/ */
#ifndef _LINUX_CISCODE_H #ifndef _LINUX_CISCODE_H
......
/* /*
* cisreg.h 1.17 2000/06/12 21:55:41 * cisreg.h
* *
* The contents of this file are subject to the Mozilla Public License * This program is free software; you can redistribute it and/or modify
* Version 1.1 (the "License"); you may not use this file except in * it under the terms of the GNU General Public License version 2 as
* compliance with the License. You may obtain a copy of the License * published by the Free Software Foundation.
* at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and
* limitations under the License.
* *
* The initial developer of the original code is David A. Hinds * The initial developer of the original code is David A. Hinds
* <dahinds@users.sourceforge.net>. Portions created by David A. Hinds * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
* are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
* *
* Alternatively, the contents of this file may be used under the * (C) 1999 David A. Hinds
* terms of the GNU General Public License version 2 (the "GPL"), in which
* case the provisions of the GPL are applicable instead of the
* above. If you wish to allow the use of your version of this file
* only under the terms of the GPL and not to allow others to use
* your version of this file under the MPL, indicate your decision by
* deleting the provisions above and replace them with the notice and
* other provisions required by the GPL. If you do not delete the
* provisions above, a recipient may use your version of this file
* under either the MPL or the GPL.
*/ */
#ifndef _LINUX_CISREG_H #ifndef _LINUX_CISREG_H
......
/* /*
* cistpl.h 1.34 2000/06/19 23:18:12 * cistpl.h
* *
* The contents of this file are subject to the Mozilla Public License * This program is free software; you can redistribute it and/or modify
* Version 1.1 (the "License"); you may not use this file except in * it under the terms of the GNU General Public License version 2 as
* compliance with the License. You may obtain a copy of the License * published by the Free Software Foundation.
* at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and
* limitations under the License.
* *
* The initial developer of the original code is David A. Hinds * The initial developer of the original code is David A. Hinds
* <dahinds@users.sourceforge.net>. Portions created by David A. Hinds * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
* are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
* *
* Alternatively, the contents of this file may be used under the * (C) 1999 David A. Hinds
* terms of the GNU General Public License version 2 (the "GPL"), in which
* case the provisions of the GPL are applicable instead of the
* above. If you wish to allow the use of your version of this file
* only under the terms of the GPL and not to allow others to use
* your version of this file under the MPL, indicate your decision by
* deleting the provisions above and replace them with the notice and
* other provisions required by the GPL. If you do not delete the
* provisions above, a recipient may use your version of this file
* under either the MPL or the GPL.
*/ */
#ifndef _LINUX_CISTPL_H #ifndef _LINUX_CISTPL_H
......
/* /*
* cs.h 1.71 2000/08/29 00:54:20 * cs.h
* *
* The contents of this file are subject to the Mozilla Public License * This program is free software; you can redistribute it and/or modify
* Version 1.1 (the "License"); you may not use this file except in * it under the terms of the GNU General Public License version 2 as
* compliance with the License. You may obtain a copy of the License * published by the Free Software Foundation.
* at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and
* limitations under the License.
* *
* The initial developer of the original code is David A. Hinds * The initial developer of the original code is David A. Hinds
* <dahinds@users.sourceforge.net>. Portions created by David A. Hinds * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
* are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
* *
* Alternatively, the contents of this file may be used under the * (C) 1999 David A. Hinds
* terms of the GNU General Public License version 2 (the "GPL"), in which
* case the provisions of the GPL are applicable instead of the
* above. If you wish to allow the use of your version of this file
* only under the terms of the GPL and not to allow others to use
* your version of this file under the MPL, indicate your decision by
* deleting the provisions above and replace them with the notice and
* other provisions required by the GPL. If you do not delete the
* provisions above, a recipient may use your version of this file
* under either the MPL or the GPL.
*/ */
#ifndef _LINUX_CS_H #ifndef _LINUX_CS_H
......
/* /*
* cs_types.h 1.18 2000/06/12 21:55:40 * cs_types.h
* *
* The contents of this file are subject to the Mozilla Public License * This program is free software; you can redistribute it and/or modify
* Version 1.1 (the "License"); you may not use this file except in * it under the terms of the GNU General Public License version 2 as
* compliance with the License. You may obtain a copy of the License * published by the Free Software Foundation.
* at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and
* limitations under the License.
* *
* The initial developer of the original code is David A. Hinds * The initial developer of the original code is David A. Hinds
* <dahinds@users.sourceforge.net>. Portions created by David A. Hinds * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
* are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
* *
* Alternatively, the contents of this file may be used under the * (C) 1999 David A. Hinds
* terms of the GNU General Public License version 2 (the "GPL"), in which
* case the provisions of the GPL are applicable instead of the
* above. If you wish to allow the use of your version of this file
* only under the terms of the GPL and not to allow others to use
* your version of this file under the MPL, indicate your decision by
* deleting the provisions above and replace them with the notice and
* other provisions required by the GPL. If you do not delete the
* provisions above, a recipient may use your version of this file
* under either the MPL or the GPL.
*/ */
#ifndef _LINUX_CS_TYPES_H #ifndef _LINUX_CS_TYPES_H
......
/* /*
* mem_op.h 1.13 2000/06/12 21:55:40 * mem_op.h
* *
* The contents of this file are subject to the Mozilla Public License * This program is free software; you can redistribute it and/or modify
* Version 1.1 (the "License"); you may not use this file except in * it under the terms of the GNU General Public License version 2 as
* compliance with the License. You may obtain a copy of the License * published by the Free Software Foundation.
* at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and
* limitations under the License.
* *
* The initial developer of the original code is David A. Hinds * The initial developer of the original code is David A. Hinds
* <dahinds@users.sourceforge.net>. Portions created by David A. Hinds * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
* are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
* *
* Alternatively, the contents of this file may be used under the * (C) 1999 David A. Hinds
* terms of the GNU General Public License version 2 (the "GPL"), in which
* case the provisions of the GPL are applicable instead of the
* above. If you wish to allow the use of your version of this file
* only under the terms of the GPL and not to allow others to use
* your version of this file under the MPL, indicate your decision by
* deleting the provisions above and replace them with the notice and
* other provisions required by the GPL. If you do not delete the
* provisions above, a recipient may use your version of this file
* under either the MPL or the GPL.
*/ */
#ifndef _LINUX_MEM_OP_H #ifndef _LINUX_MEM_OP_H
......
/* /*
* ss.h 1.28 2000/06/12 21:55:40 * ss.h
* *
* The contents of this file are subject to the Mozilla Public License * This program is free software; you can redistribute it and/or modify
* Version 1.1 (the "License"); you may not use this file except in * it under the terms of the GNU General Public License version 2 as
* compliance with the License. You may obtain a copy of the License * published by the Free Software Foundation.
* at http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See
* the License for the specific language governing rights and
* limitations under the License.
* *
* The initial developer of the original code is David A. Hinds * The initial developer of the original code is David A. Hinds
* <dahinds@users.sourceforge.net>. Portions created by David A. Hinds * <dahinds@users.sourceforge.net>. Portions created by David A. Hinds
* are Copyright (C) 1999 David A. Hinds. All Rights Reserved. * are Copyright (C) 1999 David A. Hinds. All Rights Reserved.
* *
* Alternatively, the contents of this file may be used under the * (C) 1999 David A. Hinds
* terms of the GNU General Public License version 2 (the "GPL"), in which
* case the provisions of the GPL are applicable instead of the
* above. If you wish to allow the use of your version of this file
* only under the terms of the GPL and not to allow others to use
* your version of this file under the MPL, indicate your decision by
* deleting the provisions above and replace them with the notice and
* other provisions required by the GPL. If you do not delete the
* provisions above, a recipient may use your version of this file
* under either the MPL or the GPL.
*/ */
#ifndef _LINUX_SS_H #ifndef _LINUX_SS_H
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment