mac_esp.c (58e16d792a6a8c6b750f637a4649967fcac853dc) mac_esp.c (d30fbf2ce12f12d197dbd8ee647627369d96e712)
1// SPDX-License-Identifier: GPL-2.0-only
2/* mac_esp.c: ESP front-end for Macintosh Quadra systems.
3 *
4 * Adapted from jazz_esp.c and the old mac_esp.c.
5 *
6 * The pseudo DMA algorithm is based on the one used in NetBSD.
7 * See sys/arch/mac68k/obio/esp.c for some background information.
8 *

--- 425 unchanged lines hidden (view full) ---

434
435static struct platform_driver esp_mac_driver = {
436 .probe = esp_mac_probe,
437 .remove = esp_mac_remove,
438 .driver = {
439 .name = DRV_MODULE_NAME,
440 },
441};
1// SPDX-License-Identifier: GPL-2.0-only
2/* mac_esp.c: ESP front-end for Macintosh Quadra systems.
3 *
4 * Adapted from jazz_esp.c and the old mac_esp.c.
5 *
6 * The pseudo DMA algorithm is based on the one used in NetBSD.
7 * See sys/arch/mac68k/obio/esp.c for some background information.
8 *

--- 425 unchanged lines hidden (view full) ---

434
435static struct platform_driver esp_mac_driver = {
436 .probe = esp_mac_probe,
437 .remove = esp_mac_remove,
438 .driver = {
439 .name = DRV_MODULE_NAME,
440 },
441};
442module_platform_driver(esp_mac_driver);
442
443
443static int __init mac_esp_init(void)
444{
445 return platform_driver_register(&esp_mac_driver);
446}
447
448static void __exit mac_esp_exit(void)
449{
450 platform_driver_unregister(&esp_mac_driver);
451}
452
453MODULE_DESCRIPTION("Mac ESP SCSI driver");
454MODULE_AUTHOR("Finn Thain");
455MODULE_LICENSE("GPL v2");
456MODULE_VERSION(DRV_VERSION);
457MODULE_ALIAS("platform:" DRV_MODULE_NAME);
444MODULE_DESCRIPTION("Mac ESP SCSI driver");
445MODULE_AUTHOR("Finn Thain");
446MODULE_LICENSE("GPL v2");
447MODULE_VERSION(DRV_VERSION);
448MODULE_ALIAS("platform:" DRV_MODULE_NAME);
458
459module_init(mac_esp_init);
460module_exit(mac_esp_exit);