Increase the DELAY_GETREPLY to 5000000. Not dangerous, this is
actually a timeout only. The existing behaviour caused a mcd0: timeout getreply at halt/reboot time. Submitted by: graichen@sirius.physik.fu-berlin.de (Thomas Graichen)
This commit is contained in:
parent
7dc559fa65
commit
9250a2f9a8
@ -40,7 +40,7 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mcd.c,v 1.43 1995/05/11 19:26:18 rgrimes Exp $
|
||||
* $Id: mcd.c,v 1.44 1995/05/30 08:02:44 rgrimes Exp $
|
||||
*/
|
||||
static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
|
||||
|
||||
@ -222,7 +222,7 @@ struct isa_driver mcddriver = { mcd_probe, mcd_attach, "mcd" };
|
||||
#define RDELAY_WAITREAD 800
|
||||
|
||||
#define MIN_DELAY 15
|
||||
#define DELAY_GETREPLY 1500000
|
||||
#define DELAY_GETREPLY 5000000
|
||||
|
||||
static struct kern_devconf kdc_mcd[NMCD] = { {
|
||||
0, 0, 0, /* filled in by dev_attach */
|
||||
|
@ -40,7 +40,7 @@
|
||||
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
* $Id: mcd.c,v 1.43 1995/05/11 19:26:18 rgrimes Exp $
|
||||
* $Id: mcd.c,v 1.44 1995/05/30 08:02:44 rgrimes Exp $
|
||||
*/
|
||||
static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
|
||||
|
||||
@ -222,7 +222,7 @@ struct isa_driver mcddriver = { mcd_probe, mcd_attach, "mcd" };
|
||||
#define RDELAY_WAITREAD 800
|
||||
|
||||
#define MIN_DELAY 15
|
||||
#define DELAY_GETREPLY 1500000
|
||||
#define DELAY_GETREPLY 5000000
|
||||
|
||||
static struct kern_devconf kdc_mcd[NMCD] = { {
|
||||
0, 0, 0, /* filled in by dev_attach */
|
||||
|
Loading…
Reference in New Issue
Block a user