Support half-duplex mode (use only one DRQ).

Fix PR #10308.
This commit is contained in:
itohy 2000-09-24 23:40:12 +00:00
parent f9f2c92422
commit c3202405d5

View File

@ -1,4 +1,4 @@
/* $NetBSD: ym_pnpbios.c,v 1.3 2000/04/22 06:38:25 thorpej Exp $ */
/* $NetBSD: ym_pnpbios.c,v 1.4 2000/09/24 23:40:12 itohy Exp $ */
/*
* Copyright (c) 1999
* Matthias Drochner. All rights reserved.
@ -128,7 +128,7 @@ ym_pnpbios_attach(parent, self, aux)
return;
}
if (pnpbios_getdmachan(aa->pbt, aa->resc, 1, &sc->ym_recdrq))
sc->ym_recdrq = -1;
sc->ym_recdrq = sc->ym_playdrq; /* half-duplex mode */
printf("\n");
pnpbios_print_devres(self, aa);