Subject: Re: wdc lost interrupt?
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: None <drochner@zel459.zel.kfa-juelich.de>
List: current-users
Date: 12/02/1998 21:11:41
bouyer@antioche.lip6.fr said:
> And that is very strange, the pciide driver said the secondary channel
> was disabled, so it should not show up here. Could you check in your
> BIOS if the secondary channel is enabled, and if not enable it ?
I've got a similar chipset, and the secondary channel is
disabled too for me. I didn't care up to now because there
are no devices connected, so the BIOS might really have
disabled it.
Just became curious and had a look at the documentation.
There is a bug in the code which might cause this behaviour as well.
best regards
Matthias
Index: pciide_sis_reg.h
===================================================================
RCS file: /cvsroot/src/sys/dev/pci/pciide_sis_reg.h,v
retrieving revision 1.1
diff -c -2 -r1.1 pciide_sis_reg.h
*** pciide_sis_reg.h 1998/11/21 16:06:46 1.1
--- pciide_sis_reg.h 1998/12/02 20:04:58
***************
*** 51,56 ****
#define SIS_CTRL0_FAST_PW 0x20
#define SIS_CTRL0_BO 0x08
! #define SIS_CTRL0_CHAN0_EN 0x40
! #define SIS_CTRL0_CHAN1_EN 0x20
/* IDE general control register 1 (8 bits) */
--- 51,56 ----
#define SIS_CTRL0_FAST_PW 0x20
#define SIS_CTRL0_BO 0x08
! #define SIS_CTRL0_CHAN0_EN 0x04
! #define SIS_CTRL0_CHAN1_EN 0x02
/* IDE general control register 1 (8 bits) */