swim3.c (10ce3cc919f50c2043b41ca968b43c26a3672600) | swim3.c (8d85fce77edfc22f1d6dbf78e3af723b4b556f3d) |
---|---|
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 --- 1180 unchanged lines hidden (view full) --- 1189 1190 out_release: 1191 macio_release_resource(mdev, 0); 1192 macio_release_resource(mdev, 1); 1193 1194 return rc; 1195} 1196 | 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 --- 1180 unchanged lines hidden (view full) --- 1189 1190 out_release: 1191 macio_release_resource(mdev, 0); 1192 macio_release_resource(mdev, 1); 1193 1194 return rc; 1195} 1196 |
1197static int __devinit swim3_attach(struct macio_dev *mdev, const struct of_device_id *match) | 1197static int swim3_attach(struct macio_dev *mdev, 1198 const struct of_device_id *match) |
1198{ 1199 struct gendisk *disk; 1200 int index, rc; 1201 1202 index = floppy_count++; 1203 if (index >= MAX_FLOPPIES) 1204 return -ENXIO; 1205 --- 77 unchanged lines hidden --- | 1199{ 1200 struct gendisk *disk; 1201 int index, rc; 1202 1203 index = floppy_count++; 1204 if (index >= MAX_FLOPPIES) 1205 return -ENXIO; 1206 --- 77 unchanged lines hidden --- |