Loading drivers/scsi/g_NCR5380.c +28 −33 Original line number Diff line number Diff line Loading @@ -483,11 +483,10 @@ static void generic_NCR5380_release_resources(struct Scsi_Host *instance) /** * generic_NCR5380_pread - pseudo DMA read * @hostdata: scsi host private data * @dst: buffer to read into * @len: buffer length * @dst: buffer to write into * @len: transfer size * * Perform a pseudo DMA mode read from an NCR53C400 or equivalent * controller * Perform a pseudo DMA mode receive from a 53C400 or equivalent device. */ static inline int generic_NCR5380_pread(struct NCR5380_hostdata *hostdata, Loading Loading @@ -560,11 +559,10 @@ static inline int generic_NCR5380_pread(struct NCR5380_hostdata *hostdata, /** * generic_NCR5380_pwrite - pseudo DMA write * @hostdata: scsi host private data * @dst: buffer to read into * @len: buffer length * @src: buffer to read from * @len: transfer size * * Perform a pseudo DMA mode read from an NCR53C400 or equivalent * controller * Perform a pseudo DMA mode send to a 53C400 or equivalent device. */ static inline int generic_NCR5380_pwrite(struct NCR5380_hostdata *hostdata, Loading Loading @@ -656,9 +654,7 @@ static int generic_NCR5380_dma_residual(struct NCR5380_hostdata *hostdata) return hostdata->pdma_residual; } /* * Include the NCR5380 core code that we build our driver around */ /* Include the core driver code. */ #include "NCR5380.c" Loading @@ -679,7 +675,6 @@ static struct scsi_host_template driver_template = { .max_sectors = 128, }; static int generic_NCR5380_isa_match(struct device *pdev, unsigned int ndev) { int ret = generic_NCR5380_init_one(&driver_template, pdev, base[ndev], Loading Loading
drivers/scsi/g_NCR5380.c +28 −33 Original line number Diff line number Diff line Loading @@ -483,11 +483,10 @@ static void generic_NCR5380_release_resources(struct Scsi_Host *instance) /** * generic_NCR5380_pread - pseudo DMA read * @hostdata: scsi host private data * @dst: buffer to read into * @len: buffer length * @dst: buffer to write into * @len: transfer size * * Perform a pseudo DMA mode read from an NCR53C400 or equivalent * controller * Perform a pseudo DMA mode receive from a 53C400 or equivalent device. */ static inline int generic_NCR5380_pread(struct NCR5380_hostdata *hostdata, Loading Loading @@ -560,11 +559,10 @@ static inline int generic_NCR5380_pread(struct NCR5380_hostdata *hostdata, /** * generic_NCR5380_pwrite - pseudo DMA write * @hostdata: scsi host private data * @dst: buffer to read into * @len: buffer length * @src: buffer to read from * @len: transfer size * * Perform a pseudo DMA mode read from an NCR53C400 or equivalent * controller * Perform a pseudo DMA mode send to a 53C400 or equivalent device. */ static inline int generic_NCR5380_pwrite(struct NCR5380_hostdata *hostdata, Loading Loading @@ -656,9 +654,7 @@ static int generic_NCR5380_dma_residual(struct NCR5380_hostdata *hostdata) return hostdata->pdma_residual; } /* * Include the NCR5380 core code that we build our driver around */ /* Include the core driver code. */ #include "NCR5380.c" Loading @@ -679,7 +675,6 @@ static struct scsi_host_template driver_template = { .max_sectors = 128, }; static int generic_NCR5380_isa_match(struct device *pdev, unsigned int ndev) { int ret = generic_NCR5380_init_one(&driver_template, pdev, base[ndev], Loading