提交 67b2009a 编写于 作者: J James Bottomley 提交者: James Bottomley

[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: NJames Bottomley <James.Bottomley@SteelEye.com>
上级 a53eb5e0
......@@ -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
......
此差异已折叠。
/*
* 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 */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册