swim3.c (b42f5b0f0fd8c1c442c1b29a3fbcb338e8bd7732) | swim3.c (c2cdf6aba0dfcfb54be646ab630c1bccd180e890) |
---|---|
1/* 2 * Driver for the SWIM3 (Super Woz Integrated Machine 3) 3 * floppy controller found on Power Macintoshes. 4 * 5 * Copyright (C) 1996 Paul Mackerras. 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 1145 unchanged lines hidden (view full) --- 1154 }, 1155 { 1156 .compatible = "swim3" 1157 }, 1158}; 1159 1160static struct macio_driver swim3_driver = 1161{ | 1/* 2 * Driver for the SWIM3 (Super Woz Integrated Machine 3) 3 * floppy controller found on Power Macintoshes. 4 * 5 * Copyright (C) 1996 Paul Mackerras. 6 * 7 * This program is free software; you can redistribute it and/or 8 * modify it under the terms of the GNU General Public License --- 1145 unchanged lines hidden (view full) --- 1154 }, 1155 { 1156 .compatible = "swim3" 1157 }, 1158}; 1159 1160static struct macio_driver swim3_driver = 1161{ |
1162 .name = "swim3", 1163 .match_table = swim3_match, | 1162 .driver = { 1163 .name = "swim3", 1164 .of_match_table = swim3_match, 1165 }, |
1164 .probe = swim3_attach, 1165#if 0 1166 .suspend = swim3_suspend, 1167 .resume = swim3_resume, 1168#endif 1169}; 1170 1171 1172int swim3_init(void) 1173{ 1174 macio_register_driver(&swim3_driver); 1175 return 0; 1176} 1177 1178module_init(swim3_init) 1179 1180MODULE_LICENSE("GPL"); 1181MODULE_AUTHOR("Paul Mackerras"); 1182MODULE_ALIAS_BLOCKDEV_MAJOR(FLOPPY_MAJOR); | 1166 .probe = swim3_attach, 1167#if 0 1168 .suspend = swim3_suspend, 1169 .resume = swim3_resume, 1170#endif 1171}; 1172 1173 1174int swim3_init(void) 1175{ 1176 macio_register_driver(&swim3_driver); 1177 return 0; 1178} 1179 1180module_init(swim3_init) 1181 1182MODULE_LICENSE("GPL"); 1183MODULE_AUTHOR("Paul Mackerras"); 1184MODULE_ALIAS_BLOCKDEV_MAJOR(FLOPPY_MAJOR); |