The way the interrupt id was calculated was wrong and the lpt
driver was thinking irq was enabled although it wasn't. This case was particular to a no-interrupt static configuration. Reported by: "Norman C. Rice" <nrice@emu.sourcee.com>
This commit is contained in:
parent
e3ded6e2c7
commit
a1142115dd
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ppc.c,v 1.17 1999/01/31 11:52:04 nsouch Exp $
|
||||
* $Id: ppc.c,v 1.18 1999/02/14 12:03:35 nsouch Exp $
|
||||
*
|
||||
*/
|
||||
#include "ppc.h"
|
||||
@ -1725,7 +1725,7 @@ ppcprobe(struct isa_device *dvp)
|
||||
* XXX Try and detect if interrupts are working
|
||||
*/
|
||||
if (!(dvp->id_flags & 0x20))
|
||||
ppc->ppc_irq = ffs(dvp->id_irq) - 1;
|
||||
ppc->ppc_irq = dvp->id_irq;
|
||||
|
||||
ppc->ppc_dmachan = dvp->id_drq;
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ppc.c,v 1.17 1999/01/31 11:52:04 nsouch Exp $
|
||||
* $Id: ppc.c,v 1.18 1999/02/14 12:03:35 nsouch Exp $
|
||||
*
|
||||
*/
|
||||
#include "ppc.h"
|
||||
@ -1725,7 +1725,7 @@ ppcprobe(struct isa_device *dvp)
|
||||
* XXX Try and detect if interrupts are working
|
||||
*/
|
||||
if (!(dvp->id_flags & 0x20))
|
||||
ppc->ppc_irq = ffs(dvp->id_irq) - 1;
|
||||
ppc->ppc_irq = dvp->id_irq;
|
||||
|
||||
ppc->ppc_dmachan = dvp->id_drq;
|
||||
|
||||
|
@ -23,7 +23,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: ppc.c,v 1.17 1999/01/31 11:52:04 nsouch Exp $
|
||||
* $Id: ppc.c,v 1.18 1999/02/14 12:03:35 nsouch Exp $
|
||||
*
|
||||
*/
|
||||
#include "ppc.h"
|
||||
@ -1725,7 +1725,7 @@ ppcprobe(struct isa_device *dvp)
|
||||
* XXX Try and detect if interrupts are working
|
||||
*/
|
||||
if (!(dvp->id_flags & 0x20))
|
||||
ppc->ppc_irq = ffs(dvp->id_irq) - 1;
|
||||
ppc->ppc_irq = dvp->id_irq;
|
||||
|
||||
ppc->ppc_dmachan = dvp->id_drq;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user