.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * sym53c500_cs.c Bob Tracy (rct@frus.com) |
---|
3 | 4 | * |
---|
.. | .. |
---|
25 | 26 | * Original by Tom Corner (tcorner@via.at) was adapted from a |
---|
26 | 27 | * driver for the Qlogic SCSI card written by |
---|
27 | 28 | * David Hinds (dhinds@allegro.stanford.edu). |
---|
28 | | -* |
---|
29 | | -* This program is free software; you can redistribute it and/or modify it |
---|
30 | | -* under the terms of the GNU General Public License as published by the |
---|
31 | | -* Free Software Foundation; either version 2, or (at your option) any |
---|
32 | | -* later version. |
---|
33 | | -* |
---|
34 | | -* This program is distributed in the hope that it will be useful, but |
---|
35 | | -* WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
36 | | -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
37 | | -* General Public License for more details. |
---|
38 | 29 | */ |
---|
39 | 30 | |
---|
40 | 31 | #define SYM53C500_DEBUG 0 |
---|
.. | .. |
---|
680 | 671 | .can_queue = 1, |
---|
681 | 672 | .this_id = 7, |
---|
682 | 673 | .sg_tablesize = 32, |
---|
683 | | - .use_clustering = ENABLE_CLUSTERING, |
---|
684 | 674 | .shost_attrs = SYM53C500_shost_attrs |
---|
685 | 675 | }; |
---|
686 | 676 | |
---|
.. | .. |
---|
880 | 870 | .id_table = sym53c500_ids, |
---|
881 | 871 | .resume = sym53c500_resume, |
---|
882 | 872 | }; |
---|
883 | | - |
---|
884 | | -static int __init |
---|
885 | | -init_sym53c500_cs(void) |
---|
886 | | -{ |
---|
887 | | - return pcmcia_register_driver(&sym53c500_cs_driver); |
---|
888 | | -} |
---|
889 | | - |
---|
890 | | -static void __exit |
---|
891 | | -exit_sym53c500_cs(void) |
---|
892 | | -{ |
---|
893 | | - pcmcia_unregister_driver(&sym53c500_cs_driver); |
---|
894 | | -} |
---|
895 | | - |
---|
896 | | -module_init(init_sym53c500_cs); |
---|
897 | | -module_exit(exit_sym53c500_cs); |
---|
| 873 | +module_pcmcia_driver(sym53c500_cs_driver); |
---|