mac_scsi.c (cdd38c5f1ce4398ec58fec95904b75824daab7b5) mac_scsi.c (cd614642e1a24e501633d5aea79c1bafb10d9f36)
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Generic Macintosh NCR5380 driver
4 *
5 * Copyright 1998, Michael Schmitz <mschmitz@lbl.gov>
6 *
7 * Copyright 2019 Finn Thain
8 *

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

429 .queuecommand = macscsi_queue_command,
430 .eh_abort_handler = macscsi_abort,
431 .eh_host_reset_handler = macscsi_host_reset,
432 .can_queue = 16,
433 .this_id = 7,
434 .sg_tablesize = 1,
435 .cmd_per_lun = 2,
436 .dma_boundary = PAGE_SIZE - 1,
1// SPDX-License-Identifier: GPL-2.0-only
2/*
3 * Generic Macintosh NCR5380 driver
4 *
5 * Copyright 1998, Michael Schmitz <mschmitz@lbl.gov>
6 *
7 * Copyright 2019 Finn Thain
8 *

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

429 .queuecommand = macscsi_queue_command,
430 .eh_abort_handler = macscsi_abort,
431 .eh_host_reset_handler = macscsi_host_reset,
432 .can_queue = 16,
433 .this_id = 7,
434 .sg_tablesize = 1,
435 .cmd_per_lun = 2,
436 .dma_boundary = PAGE_SIZE - 1,
437 .cmd_size = NCR5380_CMD_SIZE,
437 .cmd_size = sizeof(struct NCR5380_cmd),
438 .max_sectors = 128,
439};
440
441static int __init mac_scsi_probe(struct platform_device *pdev)
442{
443 struct Scsi_Host *instance;
444 struct NCR5380_hostdata *hostdata;
445 int error;

--- 102 unchanged lines hidden ---
438 .max_sectors = 128,
439};
440
441static int __init mac_scsi_probe(struct platform_device *pdev)
442{
443 struct Scsi_Host *instance;
444 struct NCR5380_hostdata *hostdata;
445 int error;

--- 102 unchanged lines hidden ---