mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08:00
[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:
parent
a53eb5e060
commit
67b2009ae2
@ -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
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -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 */
|
Loading…
Reference in New Issue
Block a user