NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-i386/37787: diagnostic panic in sys/arch/x86/pci/pci_machdep.c



The following reply was made to PR port-i386/37787; it has been noted by GNATS.

From: matthew green <mrg%eterna.com.au@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: port-i386/37787: diagnostic panic in sys/arch/x86/pci/pci_machdep.c
Date: Sun, 25 Sep 2016 09:29:14 +1000

 i suspect this patch (against -current) would help.  anyone have
 this hardware still?
 
 
 .mrg.
 
 
 Index: sys/arch/x86/pci/pchb.c
 ===================================================================
 RCS file: /cvsroot/src/sys/arch/x86/pci/pchb.c,v
 retrieving revision 1.34
 diff -p -u -r1.34 pchb.c
 --- sys/arch/x86/pci/pchb.c	16 Apr 2012 04:57:42 -0000	1.34
 +++ sys/arch/x86/pci/pchb.c	24 Sep 2016 23:28:39 -0000
 @@ -61,13 +61,13 @@ __KERNEL_RCSID(0, "$NetBSD: pchb.c,v 1.3
  #define	I82443BX_SDRAMC_REG	0x74 /* upper 16 bits */
  
  /* XXX should be in dev/ic/i82424{reg.var}.h */
 -#define I82424_CPU_BCTL_REG		0x53
 +#define I82424_CPU_BCTL_REG		0x50 /* upper 8 bits */
  #define I82424_PCI_BCTL_REG		0x54
  
 -#define I82424_BCTL_CPUMEM_POSTEN	0x01
 -#define I82424_BCTL_CPUPCI_POSTEN	0x02
 -#define I82424_BCTL_PCIMEM_BURSTEN	0x01
 -#define I82424_BCTL_PCI_BURSTEN		0x02
 +#define I82424_BCTL_CPUMEM_POSTEN	0x01000000
 +#define I82424_BCTL_CPUPCI_POSTEN	0x02000000
 +#define I82424_BCTL_PCIMEM_BURSTEN	0x01000000
 +#define I82424_BCTL_PCI_BURSTEN		0x02000000
  
  static int	pchbmatch(device_t, cfdata_t, void *);
  static void	pchbattach(device_t, device_t, void *);
 


Home | Main Index | Thread Index | Old Index