From: giffeler@next-pc.informatik.uni-bonn.de (Denis Giffeler)
Newsgroups: comp.os.linux.announce
Subject: Patch: PCI to memory posting enable
Date: 22 Jul 1994 22:05:10 +0300
Approved: linux-announce@tc.cornell.edu (Lars Wirzenius)
Message-ID: <30p596$dcv@klaava.Helsinki.FI>

On ASUS mainboards with Saturn Chipset there is no way to enable pci2mem via
BIOS. This patch enables the pci to memory posting. 
I've tested it with kernel 1.1.19. Works fine. Don't ask me about
performance increase...
Denis

Apply the following patch in /usr/src/linux/boot

*** setup.s~	Fri Jul 22 10:50:25 1994
--- setup.s	Fri Jul 22 10:50:24 1994
***************
*** 42,47 ****
--- 42,64 ----
  entry start
  start:
  
+ ! Pci to memory posting enable
+ 
+ 	mov	dx,#0x0cf8
+ 	in	al,dx
+ 	or	al,#0x80
+ 	out	dx,al
+ 
+ 	mov	dx,#0xc054
+ 	in	al,dx
+ 	or	al,#0x01
+ 	out	dx,al
+ 
+ 	mov	dx,#0x0cf8
+ 	in	al,dx
+ 	and	al,#0x7f
+ 	out	dx,al
+ 
  ! ok, the read went well so we get current cursor position and save it for
  ! posterity.
  


--
Send submissions for comp.os.linux.announce to: linux-announce@tc.cornell.edu
PLEASE remember Keywords: and a short description of the software.
