[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: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
James Bottomley 2007-05-03 11:13:08 -05:00 committed by James Bottomley
parent a53eb5e060
commit 67b2009ae2
3 changed files with 565 additions and 707 deletions

View File

@ -738,7 +738,7 @@ config SCSI_GENERIC_NCR53C400
config SCSI_IBMMCA config SCSI_IBMMCA
tristate "IBMMCA SCSI support" tristate "IBMMCA SCSI support"
depends on MCA_LEGACY && SCSI depends on MCA && SCSI
---help--- ---help---
This is support for the IBM SCSI adapter found in many of the PS/2 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 series computers. These machines have an MCA bus, so you need to

File diff suppressed because it is too large Load Diff

View File

@ -1,21 +0,0 @@
/*
* 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 */