Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 67b2009a authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[SCSI] ibmmca: convert to new probing API and fix oopses



This is basically a straight conversion.  I have one of these things, so
I know it works ... my problem is that it has a wierd SCA like
connector, so I can't connect anything to it (no cables).

However, previously it panic'd in the interrupt, now it completes a bus
scan.

Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent a53eb5e0
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -738,7 +738,7 @@ config SCSI_GENERIC_NCR53C400

config SCSI_IBMMCA
	tristate "IBMMCA SCSI support"
	depends on MCA_LEGACY && SCSI
	depends on MCA && SCSI
	---help---
	  This is support for the IBM SCSI adapter found in many of the PS/2
	  series computers.  These machines have an MCA bus, so you need to
+562 −683

File changed.

Preview size limit exceeded, changes collapsed.

drivers/scsi/ibmmca.h

deleted100644 → 0
+0 −21
Original line number Diff line number Diff line
/*
 * Low Level Driver for the IBM Microchannel SCSI Subsystem
 * (Headerfile, see Documentation/scsi/ibmmca.txt for description of the
 * IBM MCA SCSI-driver.
 * For use under the GNU General Public License within the Linux-kernel project.
 * This include file works only correctly with kernel 2.4.0 or higher!!! */

#ifndef _IBMMCA_H
#define _IBMMCA_H

/* Common forward declarations for all Linux-versions: */

/* Interfaces to the midlevel Linux SCSI driver */
static int ibmmca_detect (struct scsi_host_template *);
static int ibmmca_release (struct Scsi_Host *);
static int ibmmca_queuecommand (Scsi_Cmnd *, void (*done) (Scsi_Cmnd *));
static int ibmmca_abort (Scsi_Cmnd *);
static int ibmmca_host_reset (Scsi_Cmnd *);
static int ibmmca_biosparam (struct scsi_device *, struct block_device *, sector_t, int *);

#endif /* _IBMMCA_H */